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.

Can DenyHosts be run as a daemon (background) process?

0
Posted

Can DenyHosts be run as a daemon (background) process?

0

DenyHosts v0.9.0 (and greater) introduces daemon support. When launched with the –daemon flag, DenyHosts will run in the background and constantly monitor your SECURE_LOG for new activity: $ denyhosts.py –daemon Note: The following command line flags are ignored when –daemon is used: –file, –verbose, –migrate, –purge Note: The daemon mode must be invoked as superuser (root) There are 3 optional configuration settings specific to daemon mode. You can refer to the included denhosts.cfg-dist file for sample usage. These new values are: • DAEMON_LOG: specifices the path to which DenyHosts should record activity. The default is /var/log/denyhosts • DAEMON_SLEEP: the amount of time that DenyHosts will pause between checking for new activity in your SECURE_LOG. The default is 30s • DAEMON_PURGE: the amount of time that DenyHosts should attempt to purge historical entries from your HOSTS_DENY file. If left blank, purging will be disabled. The default is 1h For your convenience there is

Related Questions

What is your question?

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

Experts123