captjack on Nostr: #linuxstr if see anyone try2bang critical service port - enable #fail2ban sudo tail ...
#linuxstr if see anyone try2bang critical service port - enable #fail2ban
sudo tail -n 500 /var/log/auth.log | grep rhost=
/etc/fail2ban/jail.local
findtime = 10m
bantime = 1d
tune accordingly
Published at
2024-10-19 12:06:49Event JSON
{
"id": "993ae1ebf76b132af000acafa3798363984f6c8aa7a6928e661cf55c20081d55",
"pubkey": "5e5fc1434c928bcdcba6f801859d5238341093291980fd36e33b7416393d5a2c",
"created_at": 1729339609,
"kind": 1,
"tags": [
[
"t",
"linuxstr"
],
[
"t",
"fail2ban"
]
],
"content": "#linuxstr if see anyone try2bang critical service port - enable #fail2ban \nsudo tail -n 500 /var/log/auth.log | grep rhost=\n/etc/fail2ban/jail.local\nfindtime = 10m\nbantime = 1d\ntune accordingly",
"sig": "29be4de531a040186012ecaa2aa69e759818b98c6570c393e4fdcba298e3cbc3cdf90e514986c9dae4bf060761e13fac2d177a8a7e8d7c6f2c9ed082baac390f"
}