I've installed Python 2.5.1 and denyhosts 2.6. I've configured as
well as I can (given my unfamiliarity with python and denyhosts) and
tried to get it running.
smtp:/usr/share/denyhosts root# ./daemon-control start
starting DenyHosts: /usr/bin/env python
/System/Library/Frameworks/Python.framework/Versions/2.3/bin/denyhosts.py
--daemon --config=/usr/share/denyhosts/denyhosts.cfg
Traceback (most recent call last):
File
"/System/Library/Frameworks/Python.framework/Versions/2.3/bin/denyhosts.py",
line 164, in ?
first_time, noemail, daemon)
File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/DenyHosts/deny_hosts.py",
line 60, in __init__
self.init_regex()
File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/DenyHosts/deny_hosts.py",
line 490, in init_regex
self.__sshd_format_regex = self.get_regex('SSHD_FORMAT_REGEX',
SSHD_FORMAT_REGEX)
File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/DenyHosts/deny_hosts.py",
line 486, in get_regex
return re.compile(val)
File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/sre.py",
line 179, in compile
return _compile(pattern, flags)
File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/sre.py",
line 230, in _compile
raise error, v # invalid expression
error: unknown specifier: ?P&
DenyHosts exited abnormally
I haven't a clue what to look for...
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Denyhosts-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/denyhosts-user