Skip to content

Commit

Permalink
added wuftpd to both 0.6 and 0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
yarikoptic committed Oct 18, 2006
1 parent 4ea2d8c commit 923d221
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 0 deletions.
6 changes: 6 additions & 0 deletions debian/changelog
@@ -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 fail2ban (0.7.3-1) experimental; urgency=low


* New upstream release * New upstream release
Expand Down
11 changes: 11 additions & 0 deletions debian/jail.conf
Expand Up @@ -61,6 +61,7 @@ filter = apache-auth
logpath = /var/log/apache*/*access.log logpath = /var/log/apache*/*access.log
maxretry = 6 maxretry = 6



# #
# FTP servers # FTP servers
# #
Expand All @@ -82,6 +83,16 @@ filter = proftpd
logpath = /var/log/proftpd/proftpd.log logpath = /var/log/proftpd/proftpd.log
maxretry = 6 maxretry = 6



[wuftpd]

enabled = false
port = ftp
filter = wuftpd
logpath = /var/log/auth.log
maxretry = 6


# #
# Mail servers # Mail servers
# #
Expand Down
1 change: 1 addition & 0 deletions debian/patches/00list
Expand Up @@ -2,4 +2,5 @@ X00_rigid_python24
X00_apache_log_failregex X00_apache_log_failregex
10_dbts_manpages 10_dbts_manpages
10_proftpd_section 10_proftpd_section
10_wuftpd_section
10_sasl_section 10_sasl_section
25 changes: 25 additions & 0 deletions debian/patches/10_wuftpd_section.dpatch
@@ -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*)

0 comments on commit 923d221

Please sign in to comment.