# HG changeset patch # User Carl Byington # Date 1232901456 28800 # Node ID d6fb7fca0394954aa4adce3ed4b77f1a605d8397 # Parent fcbc7b7efd14c6fb37d8404f5fb996028ad07545 Document multiple contexts diff -r fcbc7b7efd14 -r d6fb7fca0394 ChangeLog --- a/ChangeLog Sat Jan 24 17:42:53 2009 -0800 +++ b/ChangeLog Sun Jan 25 08:37:36 2009 -0800 @@ -1,3 +1,6 @@ +1.13 2009-01-25 + Document multiple contexts. + 1.12 2009-01-24 Allow multiple contexts with independent add/remove commands. diff -r fcbc7b7efd14 -r d6fb7fca0394 NEWS --- a/NEWS Sat Jan 24 17:42:53 2009 -0800 +++ b/NEWS Sun Jan 25 08:37:36 2009 -0800 @@ -1,3 +1,4 @@ +1.13 2009-01-25 Document multiple contexts. 1.12 2009-01-24 Allow multiple contexts with independent add/remove commands. 1.11 2008-05-29 Fixes to compile on Fedora 9 and for const correctness. 1.10 2008-03-22 Add fixes for Solaris from sm-archive. diff -r fcbc7b7efd14 -r d6fb7fca0394 configure.in --- a/configure.in Sat Jan 24 17:42:53 2009 -0800 +++ b/configure.in Sun Jan 25 08:37:36 2009 -0800 @@ -1,6 +1,6 @@ AC_PREREQ(2.59) -AC_INIT(syslog2iptables,1.12,carl@five-ten-sg.com) +AC_INIT(syslog2iptables,1.13,carl@five-ten-sg.com) AC_CONFIG_SRCDIR([config.h.in]) AC_CONFIG_HEADER([config.h]) diff -r fcbc7b7efd14 -r d6fb7fca0394 syslog2iptables.conf --- a/syslog2iptables.conf Sat Jan 24 17:42:53 2009 -0800 +++ b/syslog2iptables.conf Sun Jan 25 08:37:36 2009 -0800 @@ -28,14 +28,6 @@ 127.0.0.0/8; // localhost }; - // file "/var/log/cisco.log" { - // pattern "Internet_Firewall denied (tcp|udp) ([^(]*)" { - // index 2; // zero based - // bucket 200; - // message "cisco firewall blocked packet"; - // }; - // }; - file "/var/log/secure" { pattern "sshd.*Failed password .* from ::ffff:(.*) port" { index 1; // zero based @@ -129,18 +121,5 @@ message "sendmail rejected bounce"; }; }; - - // file "/var/log/messages" { - // pattern "sshd.pam_unix.*authentication failure.*rhost=(.*) user=" { - // index 1; // zero based - // bucket 300; - // message "ssh failed password"; - // }; - // pattern "sshd.pam_unix.*authentication failure.*rhost=(.*)$" { - // index 1; // zero based - // bucket 300; - // message "ssh failed password"; - // }; - // }; }; diff -r fcbc7b7efd14 -r d6fb7fca0394 syslog2iptables.spec.in --- a/syslog2iptables.spec.in Sat Jan 24 17:42:53 2009 -0800 +++ b/syslog2iptables.spec.in Sun Jan 25 08:37:36 2009 -0800 @@ -69,6 +69,9 @@ %changelog +* Sun Jan 25 2009 Carl Byington - 1.13-1 +- Document multiple contexts. + * Sat Jan 24 2009 Carl Byington - 1.12-1 - Allow multiple contexts with independent add/remove commands. diff -r fcbc7b7efd14 -r d6fb7fca0394 xml/syslog2iptables.in --- a/xml/syslog2iptables.in Sat Jan 24 17:42:53 2009 -0800 +++ b/xml/syslog2iptables.in Sun Jan 25 08:37:36 2009 -0800 @@ -19,7 +19,7 @@ - 2008-05-29 + 2009-01-25 @@ -159,7 +159,7 @@ - 2008-05-29 + 2009-01-25 @@ -188,13 +188,15 @@ Sample ,.*nrcpts=0,.*\[(.*)\]" { index 1; // zero based - bucket 300; - message "ssh failed password"; + bucket 200; + message "sendmail rejected bounce"; }; - pattern "sshd.pam_unix.*authentication failure.*rhost=(.*)$" { - index 1; // zero based - bucket 300; - message "ssh failed password"; }; };]]>