George Cebulka wrote:

> Can anyone tell me if it is possible and if how, I would put denyhosts 
> into audit mode?

What you describe below is not "audit mode" its just a "dry run".

> What I would like to do is run denyhosts and have it go through the 
> motions of blocking IP's and users without it actually changing the 
> /etc/hosts.deny file. I would like to run this way for testing, 
> debugging and monitoring purposes.

Easy, in denyhosts.cfg change the line that says:

HOSTS_DENY = /etc/hosts.deny

into (just an example):

HOSTS_DENY = /etc/hosts.DHtest

BTW DenyHosts doesn't "block IP's" or users, just detects break-in
attempts, the blocking is done by the service (sshd or whatever).
-- 
René Berber


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Denyhosts-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/denyhosts-user

Reply via email to