Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Thinking about it, fail2ban is almost entirely a placebo given that your password should be basically impossible to brute force anyways if you have the knowledge to implement fail2ban.


It can conserve server resources to just stop responding to brute force attacks


If your server is a Gameboy, maybe.


Also disk space - i don't want to keep 500 MB of failed login attempts just to have a week of syslog available.


Rotate your logs bud.

Also, suppressing these logs is the same as rapidly rotating new logs.


It is not. Deleting my spam folder is not the same as deleting yesterdays email.


Rotating only splits the data up into N files, not make it consume less space for a week of logs.


logrotate compresses logs.


A Gameboy would probably have the computing resources to do a thousand such calculations a millisecond.


Better: just ban password logins, and use cryptographic keys instead.


Use Role Based Access Control


Fail2ban can work on more than just sshd.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: