On Thu, 6 Oct 2005, Erik Anderson wrote: > Let me know if you have any issues getting it set up. You basically > extract the tarball to a location of your choice - > /usr/local/denyhosts in my case, copy the denyhosts.cfg to /etc, > configure it as you want, and then add the following cron job: > > * * * * * python /usr/local/DenyHosts/denyhosts.py -c /etc/denyhosts.cfg > > That will (obviously) run the script every minute. Sure, that may be > overkill, but it shouldn't hurt anything. If you keep your old > logfiles, you can manually run them through denyhosts. The script is > able to deal gracefully with gzipped logfiles. Look through the > documentation to see how to do this.
Forget tarballs - there's an ebuild in Gentoo's Bugzilla: http://bugs.gentoo.org/show_bug.cgi?id=100043 You need the ebuild, the init script and the patch. Create a local portage overlay and away you go. I have it running as a daemon on a test machine right now - doesn't seem to affect the load either. -- -- [email protected] mailing list
