Hello:
I am using DenyHosts-2.6.tar-gz downloaded from Sourceforge. My system is a
Mandriva 2008.1 with Python 2.5. But I can see this error at my log file:
"Sep 14 01:02:14 - denyhosts : ERROR regex pattern ( User (?P.*) not
allowed because not listed in AllowUsers ) is missing 'host' group"
Looking for at /DenyHost/regex.py I have found the following line of code:
FAILED_ENTRY_REGEX7 = re.compile(r"""User (?P<user>.*) not allowed because
not listed in AllowUsers""")
As you can see, this line doesn't have a group <host> therefore I think
that the correct one must be something like this:
FAILED_ENTRY_REGEX7 = re.compile(r"""User (?P<user>.*) .*from (?P<host>.*)
not allowed because not listed in AllowUsers""")
I have change it at my system and I think that it is working fine at this
moment.
Best regards.
Nobody/Anonymous
None
None
Public
|
Date: 2009-04-07 03:29 Will be fixed when 2.7 is released. |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2009-04-07 03:29 | phil_schwartz |
| resolution_id | None | 2009-04-07 03:29 | phil_schwartz |
| allow_comments | 1 | 2009-04-07 03:29 | phil_schwartz |
| close_date | - | 2009-04-07 03:29 | phil_schwartz |