diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2009-07-22 15:55:33 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2009-07-22 15:55:33 +0000 |
commit | beaeca88a88b0f7e641416a47008edd52290575c (patch) | |
tree | 9a26fc34af4b6822c8e521f2b84c392beac8d5ce | |
parent | - Update to 1.8.0 (diff) |
- Correct regex for the defaults in FreeBSD
Submitted by: "Bakker, Johan" <johan_bakker@epson.eu>
Notes
Notes:
svn path=/head/; revision=238201
-rw-r--r-- | security/py-fail2ban/Makefile | 2 | ||||
-rw-r--r-- | security/py-fail2ban/files/patch-config__filter.d__sshd.conf | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/security/py-fail2ban/Makefile b/security/py-fail2ban/Makefile index c0640be3ec3e..e2da76d5cd2c 100644 --- a/security/py-fail2ban/Makefile +++ b/security/py-fail2ban/Makefile @@ -7,7 +7,7 @@ PORTNAME= fail2ban PORTVERSION= 0.8.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security python MASTER_SITES= SF PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/security/py-fail2ban/files/patch-config__filter.d__sshd.conf b/security/py-fail2ban/files/patch-config__filter.d__sshd.conf new file mode 100644 index 000000000000..aae819436ece --- /dev/null +++ b/security/py-fail2ban/files/patch-config__filter.d__sshd.conf @@ -0,0 +1,11 @@ +--- ./config/filter.d/sshd.conf.orig 2009-07-22 11:52:29.236981029 -0400 ++++ ./config/filter.d/sshd.conf 2009-07-22 11:52:42.853934580 -0400 +@@ -23,7 +23,7 @@ + # (?:::f{4,6}:)?(?P<host>\S+) + # Values: TEXT + # +-failregex = ^%(__prefix_line)s(?:error: PAM: )?Authentication failure for .* from <HOST>\s*$ ++failregex = ^%(__prefix_line)s(?:error: PAM: )?[A|a]uthentication failure for .* from <HOST>\s*$ + ^%(__prefix_line)sFailed [-/\w]+ for .* from <HOST>(?: port \d*)?(?: ssh\d*)?$ + ^%(__prefix_line)sROOT LOGIN REFUSED.* FROM <HOST>\s*$ + ^%(__prefix_line)s[iI](?:llegal|nvalid) user .* from <HOST>\s*$ |