ros-meta/bond_core: Initial import. Ebuild by me.
[gentoo.git] / app-admin / denyhosts / files / denyhosts-2.6-log-injection-regex.patch
1 Address Log injection reported at
2
3 http://bugs.gentoo.org/show_bug.cgi?id=181213
4
5 diff -ur a/DenyHosts/regex.py b/DenyHosts/regex.py
6 --- a/DenyHosts/regex.py        2006-12-07 13:47:04.000000000 -0600
7 +++ b/DenyHosts/regex.py        2007-06-19 18:51:54.000000000 -0500
8 @@ -17,11 +17,11 @@
9  
10  FAILED_ENTRY_REGEX4 = re.compile(r"""Authentication failure for (?P<user>.*) .*from (?P<host>.*)""")
11  
12 -FAILED_ENTRY_REGEX5 = re.compile(r"""User (?P<user>.*) .*from (?P<host>.*) not allowed because none of user's groups are listed in AllowGroups""")
13 +FAILED_ENTRY_REGEX5 = re.compile(r"""User (?P<user>.*) .*from (?P<host>.*) not allowed because none of user's groups are listed in AllowGroups$""")
14  
15  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})""")
16  
17 -FAILED_ENTRY_REGEX7 = re.compile(r"""User (?P<user>.*) not allowed because not listed in AllowUsers""")
18 +FAILED_ENTRY_REGEX7 = re.compile(r"""User (?P<user>.*) .*from (::ffff:)?(?P<host>\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) not allowed because not listed in AllowUsers""")
19  
20  
21  # these are reserved for future versions