mirror of https://github.com/fail2ban/fail2ban
parent
4ea2d8c370
commit
923d2214d9
|
@ -1,3 +1,9 @@
|
|||
fail2ban (0.7.3-2) experimental; urgency=low
|
||||
|
||||
* Added wuftpd section
|
||||
|
||||
-- Yaroslav Halchenko <debian@onerussian.com> Wed, 18 Oct 2006 01:15:00 -0400
|
||||
|
||||
fail2ban (0.7.3-1) experimental; urgency=low
|
||||
|
||||
* New upstream release
|
||||
|
|
|
@ -61,6 +61,7 @@ filter = apache-auth
|
|||
logpath = /var/log/apache*/*access.log
|
||||
maxretry = 6
|
||||
|
||||
|
||||
#
|
||||
# FTP servers
|
||||
#
|
||||
|
@ -82,6 +83,16 @@ filter = proftpd
|
|||
logpath = /var/log/proftpd/proftpd.log
|
||||
maxretry = 6
|
||||
|
||||
|
||||
[wuftpd]
|
||||
|
||||
enabled = false
|
||||
port = ftp
|
||||
filter = wuftpd
|
||||
logpath = /var/log/auth.log
|
||||
maxretry = 6
|
||||
|
||||
|
||||
#
|
||||
# Mail servers
|
||||
#
|
||||
|
|
|
@ -2,4 +2,5 @@ X00_rigid_python24
|
|||
X00_apache_log_failregex
|
||||
10_dbts_manpages
|
||||
10_proftpd_section
|
||||
10_wuftpd_section
|
||||
10_sasl_section
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
#! /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 Default:
|
||||
+#
|
||||
+failregex = wu-ftpd\[\d+\]:\s+\(pam_unix\)\s+authentication failure.* rhost=(?P<host>\S*)
|
Loading…
Reference in New Issue