Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How should DenyHosts be run?

DenyHosts run
0
10 Posted

How should DenyHosts be run?

0
10

Version 0.9.0 introduces daemon mode support. If you run DenyHosts with the –daemon flag, then DenyHosts will run constantly in the background. See the previous link for more details. In addition to the deamon mode, DenyHosts can also be run periodically from the command line. If you do not wish to use the daemon mode, then I recommend that DenyHosts be run from cron on a routine basis. DenyHosts is fairly lightweight and does not put an excessive drain on system resources. DenyHosts initially checks to see if the sshd log has changed in size and if it determines that it hasn’t, then it exits without further processing. If the log has changed, DenyHosts only examines the portion that has changed. The interval between DenyHosts runs is left up to the user. Personally, I run DenyHosts every 10 minutes.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.