# HG changeset patch # User Carl Byington # Date 1230172854 28800 # Node ID 75361069c6ef4e839b2389b290383be9086a65cf # Parent 546fe911f7a61b5c9532fa8b3315ef23cb3bf8d8 changes for fedora 10 diff -r 546fe911f7a6 -r 75361069c6ef Makefile.am --- a/Makefile.am Thu May 29 11:44:36 2008 -0700 +++ b/Makefile.am Wed Dec 24 18:40:54 2008 -0800 @@ -7,7 +7,7 @@ htmldir = ${datadir}/doc/@PACKAGE@-@VERSION@ html_DATA = AUTHORS COPYING ChangeLog NEWS README CLEANFILES = syslog2iptables xml/syslog2iptables xml/Makefile -EXTRA_DIST = syslog2iptables.conf syslog2iptables.spec $(wildcard xml/h*) $(wildcard xml/M*) $(wildcard xml/s*) +EXTRA_DIST = syslog2iptables.conf syslog2iptables.spec xml/header.sgml xml/header.xml xml/Makefile.am xml/Makefile.in xml/syslog2iptables.in syslog2iptables: syslog2iptables.rc cat syslog2iptables.rc | \ diff -r 546fe911f7a6 -r 75361069c6ef html/Makefile.am --- a/html/Makefile.am Thu May 29 11:44:36 2008 -0700 +++ b/html/Makefile.am Wed Dec 24 18:40:54 2008 -0800 @@ -1,3 +1,3 @@ htmldir = ${datadir}/doc/@PACKAGE@-@VERSION@ -html_DATA = $(wildcard *.html) $(wildcard *.pdf) +html_DATA = index.html rn01re01.html rn01re02.html syslog2iptables.pdf EXTRA_DIST = $(html_DATA) diff -r 546fe911f7a6 -r 75361069c6ef syslog2iptables.conf --- a/syslog2iptables.conf Thu May 29 11:44:36 2008 -0700 +++ b/syslog2iptables.conf Wed Dec 24 18:40:54 2008 -0800 @@ -26,6 +26,19 @@ bucket 400; message "ssh failed password"; }; + pattern "proftpd.*no such user found from (.*) \[" { + index 1; // zero based + bucket 400; + message "ftp failed password"; + }; +}; + +file "/var/log/messages" { + pattern "ipop3d.* Login failed .* \[(.*)\]" { + index 1; // zero based + bucket 400; + message "pop3 failed password"; + }; }; file "/var/log/httpd/access_log" { @@ -47,14 +60,44 @@ bucket 400; message "apache main.php reference"; }; + pattern "(.*) - - .*/awstats.pl" { + index 1; // zero based + bucket 400; + message "apache awstats.pl reference"; + }; + pattern "(.*) - - .*/adxmlrpc" { + index 1; // zero based + bucket 400; + message "apache adxmlrpc reference"; + }; }; file "/var/log/maillog" { - pattern "lost input channel from .* \[(.*)\] .* after mail" { + pattern "lost input channel from .* \[(.*)\] .* after (mail|rcpt|auth)" { index 1; // zero based bucket 200; message "sendmail spammer dropping connection"; }; + pattern " \[(.*)\]: possible SMTP attack" { + index 1; // zero based + bucket 600; + message "sendmail authentication attack"; + }; + pattern "rejecting commands from .* \[(.*)\] due to pre-greeting traffic" { + index 1; // zero based + bucket 200; + message "sendmail pre-greeting"; + }; + pattern "dovecot.*Aborted login.*rip=(.*)," { + index 1; // zero based + bucket 100; + message "dovecot failed password"; + }; + pattern "dovecot: pop3-login: Disconnected: Shutting down.*rip=(.*)," { + index 1; // zero based + bucket 100; + message "dovecot failed password"; + }; // make sure your upstream MX servers are listed in the // ignore block above, otherwise you will kill them off diff -r 546fe911f7a6 -r 75361069c6ef xml/syslog2iptables.in --- a/xml/syslog2iptables.in Thu May 29 11:44:36 2008 -0700 +++ b/xml/syslog2iptables.in Wed Dec 24 18:40:54 2008 -0800 @@ -1,5 +1,5 @@ - @PACKAGE@ + @PACKAGE@ - Version @VERSION@ Packages @@ -19,7 +19,7 @@ - 2008-03-21 + 2008-05-29 @@ -159,7 +159,7 @@ - 2008-03-21 + 2008-05-29