2006-12-21 16:54:39 +00:00
|
|
|
#! /bin/sh /usr/share/dpatch/dpatch-run
|
|
|
|
## 10_vsftpd_regex.dpatch by Yaroslav Halchenko <debian@onerussian.com>
|
|
|
|
##
|
|
|
|
## All lines beginning with `## DP:' are a description of the patch.
|
|
|
|
## DP: No description.
|
|
|
|
|
|
|
|
@DPATCH@
|
2007-01-04 18:08:09 +00:00
|
|
|
diff -urNad fail2ban-0.7.6~/config/filter.d/vsftpd.conf fail2ban-0.7.6/config/filter.d/vsftpd.conf
|
|
|
|
--- fail2ban-0.7.6~/config/filter.d/vsftpd.conf 2006-12-23 04:56:55.000000000 -0500
|
|
|
|
+++ fail2ban-0.7.6/config/filter.d/vsftpd.conf 2007-01-04 12:42:01.000000000 -0500
|
|
|
|
@@ -15,6 +15,7 @@
|
2006-12-21 16:54:39 +00:00
|
|
|
# Values: TEXT
|
|
|
|
#
|
2007-01-04 18:08:09 +00:00
|
|
|
failregex = vsftpd: \(pam_unix\) authentication failure; .* rhost=<HOST>
|
|
|
|
+ \[.+\] FAIL LOGIN: Client "<HOST>"$
|
2006-12-21 16:54:39 +00:00
|
|
|
|
|
|
|
# Option: ignoreregex
|
|
|
|
# Notes.: regex to ignore. If this regex matches, the line is ignored.
|