From: <yar...@us...> - 2011-05-07 03:16:47
|
Revision: 777 http://fail2ban.svn.sourceforge.net/fail2ban/?rev=777&view=rev Author: yarikoptic Date: 2011-05-07 03:16:40 +0000 (Sat, 07 May 2011) Log Message: ----------- BF: use standard/reserved example.com instead of mail.com Adapted from fail2ban-0.8.4-examplemail.patch in Fedora: http://sophie.zarb.org/sources/fail2ban/fail2ban-0.8.4-examplemail.patch Modified Paths: -------------- branches/FAIL2BAN-0_8/config/jail.conf branches/FAIL2BAN-0_8/files/nagios/check_fail2ban Property Changed: ---------------- branches/FAIL2BAN-0_8/files/nagios/check_fail2ban Modified: branches/FAIL2BAN-0_8/config/jail.conf =================================================================== --- branches/FAIL2BAN-0_8/config/jail.conf 2011-03-23 21:38:26 UTC (rev 776) +++ branches/FAIL2BAN-0_8/config/jail.conf 2011-05-07 03:16:40 UTC (rev 777) @@ -45,7 +45,7 @@ enabled = false filter = sshd action = iptables[name=SSH, port=ssh, protocol=tcp] - sendmail-whois[name=SSH, dest=yo...@ma..., sender=fai...@ma...] + sendmail-whois[name=SSH, dest=yo...@ex..., sender=fai...@ex...] logpath = /var/log/sshd.log maxretry = 5 @@ -54,7 +54,7 @@ enabled = false filter = proftpd action = iptables[name=ProFTPD, port=ftp, protocol=tcp] - sendmail-whois[name=ProFTPD, dest=yo...@ma...] + sendmail-whois[name=ProFTPD, dest=yo...@ex...] logpath = /var/log/proftpd/proftpd.log maxretry = 6 @@ -66,7 +66,7 @@ filter = sasl backend = polling action = iptables[name=sasl, port=smtp, protocol=tcp] - sendmail-whois[name=sasl, dest=yo...@ma...] + sendmail-whois[name=sasl, dest=yo...@ex...] logpath = /var/log/mail.log # Here we use TCP-Wrappers instead of Netfilter/Iptables. "ignoreregex" is @@ -77,7 +77,7 @@ enabled = false filter = sshd action = hostsdeny - sendmail-whois[name=SSH, dest=yo...@ma...] + sendmail-whois[name=SSH, dest=yo...@ex...] ignoreregex = for myuser from logpath = /var/log/sshd.log @@ -101,7 +101,7 @@ enabled = false filter = postfix action = hostsdeny[file=/not/a/standard/path/hosts.deny] - sendmail[name=Postfix, dest=yo...@ma...] + sendmail[name=Postfix, dest=yo...@ex...] logpath = /var/log/postfix.log bantime = 300 @@ -112,7 +112,7 @@ enabled = false filter = vsftpd -action = sendmail-whois[name=VSFTPD, dest=yo...@ma...] +action = sendmail-whois[name=VSFTPD, dest=yo...@ex...] logpath = /var/log/vsftpd.log maxretry = 5 bantime = 1800 @@ -124,7 +124,7 @@ enabled = false filter = vsftpd action = iptables[name=VSFTPD, port=ftp, protocol=tcp] - sendmail-whois[name=VSFTPD, dest=yo...@ma...] + sendmail-whois[name=VSFTPD, dest=yo...@ex...] logpath = /var/log/vsftpd.log maxretry = 5 bantime = 1800 @@ -137,7 +137,7 @@ enabled = false filter = apache-badbots action = iptables-multiport[name=BadBots, port="http,https"] - sendmail-buffered[name=BadBots, lines=5, dest=yo...@ma...] + sendmail-buffered[name=BadBots, lines=5, dest=yo...@ex...] logpath = /var/www/*/logs/access_log bantime = 172800 maxretry = 1 @@ -149,7 +149,7 @@ enabled = false filter = apache-noscript action = shorewall - sendmail[name=Postfix, dest=yo...@ma...] + sendmail[name=Postfix, dest=yo...@ex...] logpath = /var/log/apache2/error_log # Ban attackers that try to use PHP's URL-fopen() functionality @@ -190,7 +190,7 @@ enabled = false filter = sshd action = ipfw[localhost=192.168.0.1] - sendmail-whois[name="SSH,IPFW", dest=yo...@ma...] + sendmail-whois[name="SSH,IPFW", dest=yo...@ex...] logpath = /var/log/auth.log ignoreip = 168.192.0.1 @@ -224,7 +224,7 @@ # enabled = false # filter = named-refused # action = iptables-multiport[name=Named, port="domain,953", protocol=udp] -# sendmail-whois[name=Named, dest=yo...@ma...] +# sendmail-whois[name=Named, dest=yo...@ex...] # logpath = /var/log/named/security.log # ignoreip = 168.192.0.1 @@ -235,7 +235,7 @@ enabled = false filter = named-refused action = iptables-multiport[name=Named, port="domain,953", protocol=tcp] - sendmail-whois[name=Named, dest=yo...@ma...] + sendmail-whois[name=Named, dest=yo...@ex...] logpath = /var/log/named/security.log ignoreip = 168.192.0.1 Modified: branches/FAIL2BAN-0_8/files/nagios/check_fail2ban =================================================================== --- branches/FAIL2BAN-0_8/files/nagios/check_fail2ban 2011-03-23 21:38:26 UTC (rev 776) +++ branches/FAIL2BAN-0_8/files/nagios/check_fail2ban 2011-05-07 03:16:40 UTC (rev 777) @@ -99,7 +99,7 @@ # put a txt file on your server and describe how to fix the issue, this # could be attached to the mail. ###################################################################### -# mutt -s "FAIL2BAN NOT WORKING" yo...@em... < /home/f2ban.txt +# mutt -s "FAIL2BAN NOT WORKING" yo...@ex... < /home/f2ban.txt exitstatus=$STATE_CRITICAL fi Property changes on: branches/FAIL2BAN-0_8/files/nagios/check_fail2ban ___________________________________________________________________ Added: svn:executable + * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |