Donate Share

DenyHosts

Tracker: Bugs

5 ERROR regex pattern (FAILED_ENTRY_REGEX7) - ID: 2113755
Last Update: Settings changed ( phil_schwartz )

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.


Fernando Acero Martin ( facero ) - 2008-09-16 08:50

5

Closed

Fixed

Nobody/Anonymous

None

None

Public


Comment ( 1 )

Date: 2009-04-07 03:29
Sender: phil_schwartzProject AdminAccepting Donations

Will be fixed when 2.7 is released.


Attached File

No Files Currently Attached

Changes ( 4 )

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