]> git.pld-linux.org Git - packages/DenyHosts.git/commitdiff
- updated to 2.0
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Thu, 9 Feb 2006 16:35:43 +0000 (16:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    DenyHosts.cfg -> 1.4

DenyHosts.cfg

index 9f7eaed90108f358ba60ac4f0d93635844dc6d06..e69fb326cbf46371ad4b75918d97d98544f0efa7 100644 (file)
@@ -59,7 +59,7 @@ PURGE_DENY =
 #######################################################################
 # BLOCK_SERVICE: the service name that should be blocked in HOSTS_DENY
 # 
-# man 5 host_access for details
+# man 5 hosts_access for details
 #
 # eg.   sshd: 127.0.0.1  # will block sshd logins from 127.0.0.1
 #
@@ -279,10 +279,28 @@ AGE_RESET_INVALID=10d
 #
 ######################################################################
 
+######################################################################
+#
+# USERDEF_FAILED_ENTRY_REGEX: if set, this value should contain
+# a regular expression that can be used to identify additional
+# hackers for your particular ssh configuration.  This functionality
+# extends the built-in regular expressions that DenyHosts uses.
+# This parameter can be specified multiple times.
+# See this faq entry for more details:
+#    http://denyhosts.sf.net/faq.html#userdef_regex
+#
+#USERDEF_FAILED_ENTRY_REGEX=
+#
+#
+######################################################################
+
+
+
 
    ######### THESE SETTINGS ARE SPECIFIC TO DAEMON MODE  ##########
 
 
+
 #######################################################################
 #
 # DAEMON_LOG: when DenyHosts is run in daemon mode (--daemon flag)
@@ -312,6 +330,28 @@ DAEMON_LOG = /var/log/denyhosts
 #DAEMON_LOG_TIME_FORMAT = %b %d %I:%M:%S
 #
 ###################################################################### 
+
+#######################################################################
+# 
+# DAEMON_LOG_MESSAGE_FORMAT: when DenyHosts is run in daemon mode 
+# (--daemon flag) this specifies the message format of each logged
+# entry.  By default the following format is used:
+#
+# %(asctime)s - %(name)-12s: %(levelname)-8s %(message)s
+#
+# Where the "%(asctime)s" portion is expanded to the format
+# defined by DAEMON_LOG_TIME_FORMAT
+#
+# This string is passed to python's logging.Formatter contstuctor.
+# For details on the possible format types please refer to:
+# http://docs.python.org/lib/node357.html
+#
+# This is the default:
+#DAEMON_LOG_MESSAGE_FORMAT = %(asctime)s - %(name)-12s: %(levelname)-8s %(message)s
+#
+#
+###################################################################### 
+
  
 #######################################################################
 #
@@ -336,3 +376,88 @@ DAEMON_PURGE = 60
 #
 #######################################################################
 
+
+   #########   THESE SETTINGS ARE SPECIFIC TO     ##########
+   #########       DAEMON SYNCHRONIZATION         ##########
+
+
+#######################################################################
+#
+# Synchronization mode allows the DenyHosts daemon the ability
+# to periodically send and receive denied host data such that 
+# DenyHosts daemons worldwide can automatically inform one
+# another regarding banned hosts.   This mode is disabled by
+# default, you must uncomment SYNC_SERVER to enable this mode.
+#
+# for more information, please refer to: 
+#        http:/denyhosts.sourceforge.net/faq.html#sync 
+#
+#######################################################################
+
+
+#######################################################################
+#
+# SYNC_SERVER: The central server that communicates with DenyHost
+# daemons.  Currently, denyhosts.net is the only available server
+# however, in the future, it may be possible for organizations to
+# install their own server for internal network synchronization
+#
+# To disable synchronization (the default), do nothing. 
+#
+# To enable synchronization, you must uncomment the following line:
+#SYNC_SERVER = http://xmlrpc.denyhosts.net:9911
+#
+#######################################################################
+
+#######################################################################
+#
+# SYNC_INTERVAL: the interval of time to perform synchronizations if
+# SYNC_SERVER has been uncommented.  The default is 1 hour.
+# 
+#SYNC_INTERVAL = 1h
+#
+#######################################################################
+
+
+#######################################################################
+#
+# SYNC_UPLOAD: allow your DenyHosts daemon to transmit hosts that have
+# been denied?  This option only applies if SYNC_SERVER has
+# been uncommented.
+#
+#SYNC_UPLOAD = no
+#
+# the default:
+#SYNC_UPLOAD = yes
+#
+#######################################################################
+
+
+#######################################################################
+#
+# SYNC_DOWNLOAD: allow your DenyHosts daemon to receive hosts that have
+# been denied by others?  This option only applies if SYNC_SERVER has
+# been uncommented.
+#
+#SYNC_DOWNLOAD = no
+#
+# the default:
+#SYNC_DOWNLOAD = yes
+#
+#######################################################################
+
+#######################################################################
+#
+# SYNC_DOWNLOAD_THRESHOLD: If SYNC_DOWNLOAD is enabled this paramter
+# filters the returned hosts to those that have been blocked this many
+# times by others.  That is, if set to 1, then if a single DenyHosts
+# server has denied an ip address then you will receive the denied host.
+# 
+#SYNC_DOWNLOAD_THRESHOLD = 10
+#
+# the default:
+#SYNC_DOWNLOAD_THRESHOLD = 3
+# 
+#######################################################################
+
+
This page took 0.098649 seconds and 4 git commands to generate.