wok-6.x diff fail2ban/receipt @ rev 18116
Format few descriptions (EOL at the end, 80 symbols length lines)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jun 07 00:27:07 2015 +0300 (2015-06-07) |
parents | 0cdb4f15eec5 |
children | a37c7611aef1 |
line diff
1.1 --- a/fail2ban/receipt Tue Jun 03 00:36:34 2014 +0200 1.2 +++ b/fail2ban/receipt Sun Jun 07 00:27:07 2015 +0300 1.3 @@ -18,7 +18,6 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - cd $src 1.8 python setup.py install --root=$DESTDIR 1.9 } 1.10 1.11 @@ -30,10 +29,10 @@ 1.12 sed -i 's/= \\s\*(/= \\s*\\S+\\s\*(/' $fs/etc/fail2ban/filter.d/common.conf 1.13 sed -i -e 's|127.0.0.1|& 192.168.0.0/16|;s|sshd.log|messages|' \ 1.14 -e '/ssh-iptables/{nn;s/false/true/}' $fs/etc/fail2ban/jail.conf 1.15 - 1.16 + 1.17 cp -a $stuff/etc/fail2ban/ $fs/etc/ 1.18 cp -a $stuff/etc/init.d $fs/etc/ 1.19 - 1.20 + 1.21 cat >> $fs/etc/fail2ban/jail.conf <<EOT 1.22 [apache-noscript] 1.23 1.24 @@ -54,13 +53,13 @@ 1.25 bantime = 172800 1.26 maxretry = 2 1.27 1.28 -[apache-w00tw00t] 1.29 +[apache-w00tw00t] 1.30 enabled = false 1.31 -filter = apache-w00tw00t 1.32 -action = iptables[name=Apache-w00tw00t,port=80,protocol=tcp] 1.33 - logpath = /var/log/apache/*access 1.34 - maxretry = 1 1.35 - bantime = 172800 1.36 +filter = apache-w00tw00t 1.37 +action = iptables[name=Apache-w00tw00t,port=80,protocol=tcp] 1.38 + logpath = /var/log/apache/*access 1.39 + maxretry = 1 1.40 + bantime = 172800 1.41 1.42 [lighttpd-fastcgi] 1.43