Luke wrote: [snip] > This is how the lines look on the cfg file. The first one is on one line > with a space at the end. 2nd line wraps around. Below is what i currently > have in the cfg file > > # Mac OS X (v10.5 > SECURE_LOG=/private/var/log/secure.log > # MAC OS 10.5.5 regex > SSHD_FORMAT_REGEX=.* sshd.*: (?P<message>.*) > # for VNC blocking > SSHD_FORMAT_REGEX=.*( sshd.*:| \[sshd\]|AppleVNCServer.*:) (?P<message>.*)
SSHD_FORMAT_REGEX twice? only the last will be used, but it shows you don't understand the configuration. When things don't work, start by running DH in debug mode, I prefer to stop the running service, then start one in a terminal (use su or sudo if your service runs as a different user, otherwise you'll mess file permissions). http://denyhosts.sourceforge.net/faq.html has some documentation about this, you could enable debug on a running DH but I would expect that it will show nothing useful, just that it doesn't match the relevant log entries... you'll have to read carefully to find out why it doesn't match (must be a small detail, but regexes are strict). -- René Berber ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Denyhosts-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/denyhosts-user
