mirror of https://github.com/fail2ban/fail2ban
26 lines
797 B
Plaintext
Executable File
26 lines
797 B
Plaintext
Executable File
#! /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.
|
|
+# Values: TEXT
|
|
+#
|
|
+failregex = wu-ftpd\[\d+\]:\s+\(pam_unix\)\s+authentication failure.* rhost=<HOST>
|