Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
linux:fail2ban [2015/11/09 16:42]
vondra [Installation from git]
linux:fail2ban [2015/11/09 16:47]
vondra [Installation from git]
Line 2: Line 2:
 ban hosts that cause multiple authentication errors ban hosts that cause multiple authentication errors
 ===== Installation from git ===== ===== Installation from git =====
 +Version included in wheezy repository (0.8.6) has serious issues with timezones and other bugs, so you would like to use last version from git repository
   - clone repository<​code bash>   - clone repository<​code bash>
 git clone https://​github.com/​fail2ban/​fail2ban.git</​code>​ git clone https://​github.com/​fail2ban/​fail2ban.git</​code>​
Line 10: Line 11:
 cp config/* /​etc/​fail2ban/</​code>​ cp config/* /​etc/​fail2ban/</​code>​
   - print iptables version<​code bash>​iptables --version</​code>​   - print iptables version<​code bash>​iptables --version</​code>​
-  - if iptables version ​>1.4.20 edit the /​etc/​fail2ban/​action.d/​iptables-common.conf and set locking opt to empty string: <​code>​lockingopt =</​code>​+  - if iptables version ​<1.4.20 edit the /​etc/​fail2ban/​action.d/​iptables-common.conf and set locking opt to empty string: <​code>​lockingopt =</​code>​
   - create startup script and start the service<​code bash>   - create startup script and start the service<​code bash>
 cp files/​debian-initd /​etc/​init.d/​fail2ban cp files/​debian-initd /​etc/​init.d/​fail2ban
 
linux/fail2ban.txt · Last modified: 2020/12/09 23:29 by admin