Don't use fail2ban. (Don't use passwords, either!)
https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...
Don't use fail2ban. (Don't use passwords, either!)
https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...
More general, some attacker actions, especially during recon, rely on making many attempts to connect, fetch an URL, resolve FQDN, etc., these could be detected and automatically responded to, making attacker’s job harder and providing extra visibility to defenders.
Citation needed for the claim “has been attacked” if you refer to real attacks in the wild.
While it’s a nice trick, it’s simply not relevant. And the vulnerability before that seems to be 10 years old. I’d say it’s a decent track record.
Brute force / credential stuffing attacks against ssh are the mosquitos of the Internet.
Ubiquitous, annoying, and persistent. But nothing personal.
A personal insult, if you are ever unfortunate enough to receive one, will be much more stealthy and neither fail2ban nor any other magical rock will protect you against it.
Available in `xtables-addons` it seems. After install:
iptables -A INPUT -p tcp -s $SOURCE_IP -j TARPIT # add IP to tarpit
iptables -D INPUT -p tcp -s $SOURCE_IP -j TARPIT # remove IP from tarpitAnyone who manages servers professionally does not read logs anymore and does not care about obvious things like people brute-forcing.
Reading ssh logs on your single VPS is security LARPING. Discussing faill2ban as well :)
In world where "login attempts" are basically all day reality reading logs is meaningless. In 2023 no one should be reading logs you should have alerts on events. In 1995 or something if someone was trying to brute-force your user password that was security event to look at and block IP. In 2023 someone brute-forcing is not an event, it is either wrong configuration like not using ssh authentication or not using tools that filter logs automatically and make alerts when something is actually going on.