wok-next diff fail2ban/receipt @ rev 12894
Up tiff (4.0.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 28 10:16:53 2012 +0200 (2012-05-28) |
parents | 5d8d4ed26dc6 |
children | fb8f84758977 |
line diff
1.1 --- a/fail2ban/receipt Sat Nov 26 15:38:48 2011 +0100 1.2 +++ b/fail2ban/receipt Mon May 28 10:16:53 2012 +0200 1.3 @@ -25,7 +25,7 @@ 1.4 { 1.5 mkdir -p $fs/etc/logrotate.d 1.6 cp -a $_pkg/* $fs 1.7 - sed -i -e 's|127.0.01|& 192.168.0.0/16|;s|sshd.log|messages|' \ 1.8 + sed -i -e 's|127.0.0.1|& 192.168.0.0/16|;s|sshd.log|messages|' \ 1.9 -e '/ssh-iptables/{nn;s/false/true/}' $fs/etc/fail2ban/jail.conf 1.10 cat >> $fs/etc/fail2ban/jail.conf <<EOT 1.11 [ssh-ddos]