summaryrefslogtreecommitdiff
path: root/security/py-denyhosts/patches/patch-af
blob: d8f2280b6214f80e78f0ecdfed24e11f83c7c04f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-af,v 1.1 2007/08/18 15:10:39 taca Exp $

Fix for http://nvd.nist.gov/nvd.cfm?cvename=CVE-2007-4323

--- DenyHosts/regex.py.orig	2006-12-08 04:47:04.000000000 +0900
+++ DenyHosts/regex.py
@@ -17,7 +17,7 @@ FAILED_ENTRY_REGEX3 = re.compile(r"""Aut
 
 FAILED_ENTRY_REGEX4 = re.compile(r"""Authentication failure for (?P<user>.*) .*from (?P<host>.*)""")
 
-FAILED_ENTRY_REGEX5 = re.compile(r"""User (?P<user>.*) .*from (?P<host>.*) not allowed because none of user's groups are listed in AllowGroups""")
+FAILED_ENTRY_REGEX5 = re.compile(r"""User (?P<user>.*) .*from (?P<host>.*) not allowed because none of user's groups are listed in AllowGroups$""")
 
 FAILED_ENTRY_REGEX6 = re.compile(r"""Did not receive identification string .*from (::ffff:)?(?P<host>\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})""")