- [Show pagesource]
- [Old revisions]
- [[unknown link type]]
- []
This is an old revision of the document!
Fail2ban
ban hosts that cause multiple authentication errors
Installation from git
- clone repository
git clone https://github.com/fail2ban/fail2ban.git
- change directory and install the app
cd fail2ban python setup.py install
- copy config files
cp config/* /etc/fail2ban/
- print iptables version
iptables --version
- if iptables version >1.4.20 edit the /etc/fail2ban/action.d/iptables-common.conf and set locking opt to empty string:
lockingopt =
- create startup script and start the service
cp files/debian-initd /etc/init.d/fail2ban update-rc.d fail2ban defaults service fail2ban start
- NOTE: installation script registers the app to python package system so uninstall is as easy as
pip uninstall fail2ban
linux/fail2ban.1447083729.txt.gz · Last modified: 2015/11/09 16:42 by vondra