mirror of https://github.com/fail2ban/fail2ban
* Added optional spaces at the end of failregex for vsftpd.
parent
58ae2a5a75
commit
c5202ce696
|
@ -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
|
||||
|
|
|
@ -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.
|
|
@ -1,4 +1,5 @@
|
|||
00_mail-whois-lines
|
||||
00_vsftp_filter_spaces
|
||||
00_var_run_socket
|
||||
00_HOST_ignoreregex
|
||||
00_daemon_pids
|
||||
|
|
Loading…
Reference in New Issue