mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
* Adjusted logfile paths in (shorewall, hostsdeny) example files
This commit is contained in:
parent
f490039320
commit
bb0eb69e13
3 changed files with 51 additions and 0 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -4,3 +4,4 @@
|
|||
02_sasl_section
|
||||
03_failregexes
|
||||
04_iptables-n
|
||||
05_lastlogentries
|
||||
|
|
|
|||
49
0.6.1-8/debian/patches/05_lastlogentries.dpatch
Executable file
49
0.6.1-8/debian/patches/05_lastlogentries.dpatch
Executable file
|
|
@ -0,0 +1,49 @@
|
|||
#! /bin/sh /usr/share/dpatch/dpatch-run
|
||||
## 05_lastlogentries.dpatch by Yaroslav Halchenko <debian@onerussian.com>
|
||||
##
|
||||
## 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,
|
||||
Loading…
Reference in a new issue