* Added optional spaces at the end of failregex for vsftpd.

pull/3/head
Yaroslav Halchenko 2007-08-06 01:39:30 +00:00
parent 58ae2a5a75
commit c5202ce696
3 changed files with 28 additions and 0 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
fail2ban (0.8.0-5~pre1) unstable; urgency=low
* Added optional spaces at the end of failregex for vsftpd.
-- Yaroslav Halchenko <debian@onerussian.com> Sun, 05 Aug 2007 21:38:44 -0400
fail2ban (0.8.0-4) unstable; urgency=low
* Moved <HOST> expansion into regex.py (closes: #429263). Thanks James

21
debian/patches/00_vsftp_filter_spaces.dpatch vendored Executable file
View File

@ -0,0 +1,21 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
## 00_vsftp_filter_spaces.dpatch by Yaroslav Halchenko <debian@onerussian.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.
@DPATCH@
diff -urNad trunk~/config/filter.d/vsftpd.conf trunk/config/filter.d/vsftpd.conf
--- trunk~/config/filter.d/vsftpd.conf 2007-01-29 15:51:45.000000000 -0500
+++ trunk/config/filter.d/vsftpd.conf 2007-08-03 21:55:00.000000000 -0400
@@ -14,8 +14,8 @@
# (?:::f{4,6}:)?(?P<host>\S+)
# Values: TEXT
#
-failregex = vsftpd: .* authentication failure; .* rhost=<HOST>$
- \[.+\] FAIL LOGIN: Client "<HOST>"$
+failregex = vsftpd: .* authentication failure; .* rhost=<HOST>\s*$
+ \[.+\] FAIL LOGIN: Client "<HOST>"\s*$
# Option: ignoreregex
# Notes.: regex to ignore. If this regex matches, the line is ignored.

View File

@ -1,4 +1,5 @@
00_mail-whois-lines
00_vsftp_filter_spaces
00_var_run_socket
00_HOST_ignoreregex
00_daemon_pids