Blob Blame History Raw
diff -u denyhosts-2.10-config/denyhosts.conf denyhosts-2.10/denyhosts.conf
--- denyhosts.conf	2015-02-14 18:19:10.000000000 -0600
+++ denyhosts.conf	2015-02-26 16:48:06.944272953 -0600
@@ -9,7 +9,7 @@
 # argument
 #
 # Redhat or Fedora Core:
-#SECURE_LOG = /var/log/secure
+SECURE_LOG = /var/log/secure
 #
 # Mandrake, FreeBSD or OpenBSD: 
 #SECURE_LOG = /var/log/auth.log
@@ -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
 #######################################################################
 
 #######################################################################
@@ -208,10 +213,10 @@
 # running at a time.
 #
 # Redhat/Fedora:
-#LOCK_FILE = /var/lock/subsys/denyhosts
+LOCK_FILE = /var/lock/subsys/denyhosts
 #
 # Debian or Gentoo
-LOCK_FILE = /var/run/denyhosts.pid
+#LOCK_FILE = /var/run/denyhosts.pid
 #
 # Misc
 #LOCK_FILE = /tmp/denyhosts.lock
@@ -329,7 +334,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]
 #
 ######################################################################
 
@@ -602,6 +607,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
 #
 #######################################################################