Phil Schwartz wrote:
> Remember, DH sleeps most of the time, when it awakes after 
> each DAEMON_SLEEP (default: 30 seconds) it will check to see if your 
> SECURE_LOG file has changed in size.  If it hasn't changed, DH goes back 
> to sleep.
>   
It occurred to me that an option to use inotify type facilities on 
systems which support it might be a quicker (and less recourse intensive 
method) of following the secure log than polled monitoring...  There 
seem to be a few python options:

http://www.google.com/search?q=python+inotify

http://freshmeat.net/projects/python-fam/

http://oss.sgi.com/projects/fam/

etc. etc.

Just a thought....

Cheers,

Tim.

-------------------------------------------------------------------------
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

Reply via email to