diff --git a/0.6.1-8/debian/changelog b/0.6.1-8/debian/changelog index 78bcb6c6..e4a5362c 100644 --- a/0.6.1-8/debian/changelog +++ b/0.6.1-8/debian/changelog @@ -3,6 +3,7 @@ fail2ban (0.6.1-7bpo3) sarge-backports; urgency=low * Adjustsed failregex'es in non-iptables (shorewall, hostsdeny) example files. That is to fix issue reported at http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-6302 + * Adjusted logfile paths in (shorewall, hostsdeny) example files * Adjusted fwcheck command for iptables action to don't perform name resolution (-n switch) diff --git a/0.6.1-8/debian/patches/00list b/0.6.1-8/debian/patches/00list index 121b5a61..e2a41b13 100644 --- a/0.6.1-8/debian/patches/00list +++ b/0.6.1-8/debian/patches/00list @@ -4,3 +4,4 @@ 02_sasl_section 03_failregexes 04_iptables-n +05_lastlogentries diff --git a/0.6.1-8/debian/patches/05_lastlogentries.dpatch b/0.6.1-8/debian/patches/05_lastlogentries.dpatch new file mode 100755 index 00000000..f7396c35 --- /dev/null +++ b/0.6.1-8/debian/patches/05_lastlogentries.dpatch @@ -0,0 +1,49 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 05_lastlogentries.dpatch by Yaroslav Halchenko +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad 0.6.1-8~/config/fail2ban.conf.hostsdeny 0.6.1-8/config/fail2ban.conf.hostsdeny +--- 0.6.1-8~/config/fail2ban.conf.hostsdeny 2007-02-22 19:49:33.000000000 -0500 ++++ 0.6.1-8/config/fail2ban.conf.hostsdeny 2007-02-22 21:56:43.000000000 -0500 +@@ -226,7 +226,7 @@ + # Notes.: logfile to monitor. + # Values: FILE Default: /var/log/httpd/access_log + # +-logfile = /var/log/httpd/access_log ++logfile = /var/log/apache/access.log + + # Option: timeregex + # Notes.: regex to match timestamp in Apache logfile. For TAI64N format, +@@ -302,7 +302,7 @@ + # Notes.: logfile to monitor. + # Values: FILE Default: /var/log/secure + # +-logfile = /var/log/secure ++logfile = /var/log/auth.log + + # Option: timeregex + # Notes.: regex to match timestamp in SSH logfile. For TAI64N format, +diff -urNad 0.6.1-8~/config/fail2ban.conf.shorewall 0.6.1-8/config/fail2ban.conf.shorewall +--- 0.6.1-8~/config/fail2ban.conf.shorewall 2007-02-22 19:49:33.000000000 -0500 ++++ 0.6.1-8/config/fail2ban.conf.shorewall 2007-02-22 21:56:43.000000000 -0500 +@@ -220,7 +220,7 @@ + # Notes.: logfile to monitor. + # Values: FILE Default: /var/log/httpd/access_log + # +-logfile = /var/log/httpd/access_log ++logfile = /var/log/apache/access.log + + # Option: timeregex + # Notes.: regex to match timestamp in Apache logfile. For TAI64N format, +@@ -289,7 +289,7 @@ + # Notes.: logfile to monitor. + # Values: FILE Default: /var/log/secure + # +-logfile = /var/log/secure ++logfile = /var/log/auth.log + + # Option: timeregex + # Notes.: regex to match timestamp in SSH logfile. For TAI64N format,