DenyHosts
DenyHosts
Install DenyHosts from Sourceforge rpm download or tar.gz i.e.:
rpm -Uvh Deny*.rpm
copy /usr/share/denyhosts/denyhosts.cfg-dist to /usr/share/denyhosts/denyhosts.cfg
Edit the options in denyhosts.cfg i.e. admin email etc....
Add denyhosts to init.d for automatic startup and shutdown:
copy daemon-control-dist to /etc/init.d/name-of-your-choice
chkconfig --levels 345 name-of-your-choice on
To start the daemon:
service daemon-control-dist start # to start the daemon which will monitor, notify, and update hosts.deny file
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment