diff options
author | pgollucci <pgollucci@FreeBSD.org> | 2009-07-22 23:55:33 +0800 |
---|---|---|
committer | pgollucci <pgollucci@FreeBSD.org> | 2009-07-22 23:55:33 +0800 |
commit | d3b2f0724a28b64f0093e07bfa19d56a8e44b1f2 (patch) | |
tree | 7127bff11474e7b5dfb215c319ea7d8dbbda4d74 | |
parent | a9f0263f5f2b10f2715fa52d99451c74da94ce65 (diff) | |
download | freebsd-ports-gnome-d3b2f0724a28b64f0093e07bfa19d56a8e44b1f2.tar.gz freebsd-ports-gnome-d3b2f0724a28b64f0093e07bfa19d56a8e44b1f2.tar.zst freebsd-ports-gnome-d3b2f0724a28b64f0093e07bfa19d56a8e44b1f2.zip |
- Correct regex for the defaults in FreeBSD
Submitted by: "Bakker, Johan" <johan_bakker@epson.eu>
-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*$ |