--- denyhosts.conf-orig 2015-04-04 02:24:52.000000000 +0200 +++ denyhosts.conf 2015-07-11 17:14:26.483886910 +0200 @@ -12,7 +12,7 @@ #SECURE_LOG = /var/log/secure # # Mandrake, FreeBSD or OpenBSD: -#SECURE_LOG = /var/log/auth.log +SECURE_LOG = /var/log/auth.log # # SuSE or Gentoo: #SECURE_LOG = /var/log/messages @@ -25,7 +25,7 @@ #SECURE_LOG=/private/var/log/system.log # # Debian and Ubuntu -SECURE_LOG = /var/log/auth.log +#SECURE_LOG = /var/log/auth.log ######################################################################## ######################################################################## @@ -57,13 +57,18 @@ # 'y' = years # # never purge: -PURGE_DENY = +#PURGE_DENY = # # purge entries older than 1 week #PURGE_DENY = 1w # # purge entries older than 5 days #PURGE_DENY = 5d +# +# For the default Fedora install, we want timestamping but no +# expiration (at least by default) so this is deliberately set high. +# Adjust to taste. +PURGE_DENY = 4w ####################################################################### ####################################################################### @@ -210,7 +215,7 @@ # Redhat/Fedora: #LOCK_FILE = /var/lock/subsys/denyhosts # -# Debian or Gentoo +# Debian, Mageia or Gentoo LOCK_FILE = /var/run/denyhosts.pid # # Misc @@ -332,7 +337,7 @@ # # SMTP_SUBJECT: you can specify the "Subject:" of messages sent # by DenyHosts when it reports thwarted abuse attempts -SMTP_SUBJECT = DenyHosts Report +SMTP_SUBJECT = DenyHosts Report from $[HOSTNAME] # ###################################################################### @@ -605,6 +610,8 @@ # To disable synchronization (the default), do nothing. # # To enable synchronization, you must uncomment the following line: +# +# NOTE: Please read README.Fedora before enabling sync #SYNC_SERVER = http://xmlrpc.denyhosts.net:9911 # #######################################################################