From ebc5c6106f61a0bc4213aecea42d9437e39ab751 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Fri, 22 Dec 2006 18:39:57 +0000 Subject: [PATCH] HOSTisized vsftpd regex --- debian/changelog | 2 +- debian/patches/10_vsftpd_regex.dpatch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 8ba9bca9..50212b97 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -fail2ban (0.7.5-3~pre3) unstable; urgency=low +fail2ban (0.7.5-3~pre4) unstable; urgency=low * Fail2ban now bans vsftpd logins (corrected logfile path and failregex) (Closes: #404060) diff --git a/debian/patches/10_vsftpd_regex.dpatch b/debian/patches/10_vsftpd_regex.dpatch index 01e08bf8..208f582d 100755 --- a/debian/patches/10_vsftpd_regex.dpatch +++ b/debian/patches/10_vsftpd_regex.dpatch @@ -13,7 +13,7 @@ diff -urNad fail2ban-0.7.5~/config/filter.d/vsftpd.conf fail2ban-0.7.5/config/fi # Values: TEXT # -failregex = vsftpd: \(pam_unix\) authentication failure; .* rhost= -+failregex = (?:vsftpd: \(pam_unix\) authentication failure; .* rhost=(?:::f{4,6}:)?(?P\S+)|\[.+\] FAIL LOGIN: Client "(?:::f{4,6}:)?(?P\S+)"$) ++failregex = (?:vsftpd: \(pam_unix\) authentication failure; .* rhost=|\[.+\] FAIL LOGIN: Client ""$) # Option: ignoreregex # Notes.: regex to ignore. If this regex matches, the line is ignored.