From 438e4edfd8e47f19288ebdf0a730f5fed3b26df7 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 16 Feb 2006 15:43:35 +0000 Subject: [PATCH] moved dh_python into binary-indep, added another regex for attacks --- config/fail2ban.conf.default | 2 +- debian/changelog | 2 +- debian/rules | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/config/fail2ban.conf.default b/config/fail2ban.conf.default index 4e07c2b4..eb154e5e 100644 --- a/config/fail2ban.conf.default +++ b/config/fail2ban.conf.default @@ -326,7 +326,7 @@ timepattern = %%d/%%b/%%Y:%%H:%%M:%%S # Notes.: regex to match the password failure messages in the logfile. # Values: TEXT Default: [[]client (?P\S*)[]] user .*(?:: authentication failure|not found) # -failregex = ^(?P\S*) -.*"GET .*awstats\.pl\?configdir=\|echo.* +failregex = ^(?P\S*) -.*"GET .*(?:awstats\.pl\?configdir=|index2\.php\?_REQUEST\[option\].*)\|echo.* [SSH] # Option: enabled diff --git a/debian/changelog b/debian/changelog index 806079a2..2ff60da5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -fail2ban (0.6.0-3.4) UNRELEASED; urgency=low +fail2ban (0.6.0-3.5) UNRELEASED; urgency=low * Modifications in README.Debian to reflect a "finding" on not-AllowedUsers banning which requires default Debian configuration diff --git a/debian/rules b/debian/rules index b1d506d0..b6f87479 100755 --- a/debian/rules +++ b/debian/rules @@ -69,6 +69,8 @@ install: build # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. + # migrated from binary-arch + dh_python # Build architecture-dependent files here. binary-arch: build install copy-inits @@ -93,7 +95,6 @@ binary-arch: build install copy-inits dh_compress dh_fixperms # dh_perl - dh_python # dh_makeshlibs dh_installdeb dh_shlibdeps