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.