René Berber wrote: [snip] >> "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/re.py", >> line 233, in _compile >> raise error, v # invalid expression >> error: unknown specifier: ?P& > > This last error is really strange, did you change anything in denyhosts.cfg?
OK, I know what happened here. You copied the recommended string from the Web site, but that string has mangled html in it: instead of "<" it says "&lessthan;" and instead of ">" it has "&greather;" or something similar (I don't store html in my brain ;-) You need to correct those. Besides, in this list it has been pointed out that there are better ways of configuring DenyHosts on Mac OS X, let me see if I have a reference... No reference to messages in the archive http://sourceforge.net/mailarchive/forum.php?forum=denyhosts-user; the thread was entitled "Certain asl.log entries cause error in DenyHosts (Mac OS X Server 10.4.9)", here's a copy of the conclusion: > I decided to try switching to monitoring secure.log instead of asl.log while > waiting for a reply to my previous message. The only other change that I > made was to remove the Mac OS X custom regex specification > (http://denyhosts.sourceforge.net/mac_os_10_4.txt) from denyhosts.cfg > > Now the hosts.deny file has been successfully populated with the IP > addresses. Maybe I can leave this configuration intact for a while to see if > it proves effective. The author is Laine Lee. -- René Berber ------------------------------------------------------------------------- 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
