2006-10-18 05:15:53 +00:00
|
|
|
#! /bin/sh /usr/share/dpatch/dpatch-run
|
|
|
|
## 10_wuftpd_section.dpatch by <debian@onerussian.com>
|
|
|
|
##
|
|
|
|
## All lines beginning with `## DP:' are a description of the patch.
|
|
|
|
## DP: No description.
|
|
|
|
|
|
|
|
@DPATCH@
|
|
|
|
diff -urNad fail2ban-0.7.3~/config/filter.d/wuftpd.conf fail2ban-0.7.3/config/filter.d/wuftpd.conf
|
|
|
|
--- fail2ban-0.7.3~/config/filter.d/wuftpd.conf 1969-12-31 19:00:00.000000000 -0500
|
|
|
|
+++ fail2ban-0.7.3/config/filter.d/wuftpd.conf 2006-10-18 01:12:23.000000000 -0400
|
|
|
|
@@ -0,0 +1,14 @@
|
|
|
|
+# Fail2Ban configuration file for wuftpd
|
|
|
|
+#
|
|
|
|
+# Author: Yaroslav Halchenko
|
|
|
|
+#
|
|
|
|
+# $Revision: $
|
|
|
|
+#
|
|
|
|
+
|
|
|
|
+[Definition]
|
|
|
|
+
|
|
|
|
+# Option: failregex
|
|
|
|
+# Notes.: regex to match the password failures messages in the logfile.
|
2006-10-23 04:45:34 +00:00
|
|
|
+# Values: TEXT
|
2006-10-18 05:15:53 +00:00
|
|
|
+#
|
|
|
|
+failregex = wu-ftpd\[\d+\]:\s+\(pam_unix\)\s+authentication failure.* rhost=(?P<host>\S*)
|