Author: leafnode Date: Tue Feb 22 12:01:09 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- import
---- Files affected:
SOURCES:
DenyHosts.cfg (NONE -> 1.1) (NEW), DenyHosts.cron (NONE -> 1.1) (NEW),
DenyHosts-kodos.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/DenyHosts.cfg
diff -u /dev/null SOURCES/DenyHosts.cfg:1.1
--- /dev/null Tue Feb 22 13:01:09 2005
+++ SOURCES/DenyHosts.cfg Tue Feb 22 13:01:04 2005
@@ -0,0 +1,84 @@
+
+########################################################################
+#
+# SECURE_LOG: the log file that contains sshd logging info
+# if you are not sure, grep "sshd:" /var/log/*
+#
+# The file to process can be overridden with the --file command line
+# argument
+#
+# Redhat:
+SECURE_LOG = /var/log/secure
+#
+# Mandrake:
+#SECURE_LOG = /var/log/auth.log
+#
+# SuSE:
+#SECURE_LOG = /var/log/messages
+#
+########################################################################
+
+########################################################################
+# HOSTS_DENY: the file which contains restricted host access information
+#
+HOSTS_DENY = /etc/tcpd/hosts.deny
+#
+#######################################################################
+
+
+#######################################################################
+# BLOCK_SERVICE: the service name that should be blocked in HOSTS_DENY
+#
+# man 5 host_access for details
+#
+#
+# To block all services for the offending host:
+#BLOCK_SERVICE = ALL
+# To block only sshd:
+BLOCK_SERVICE = sshd
+#
+#######################################################################
+
+#######################################################################
+#
+# DENY_THRESHOLD: block each host after the number of failed login
+# attempts has exceeded this value.
+#
+DENY_THRESHOLD = 3
+#
+#######################################################################
+
+#######################################################################
+#
+# WORK_DIR: the path that DenyHosts will use for writing data to
+# (it will be created if it does not already exist).
+WORK_DIR = denyhosts
+#
+#######################################################################
+
+
+
+ ############ THESE SETTINGS ARE OPTIONAL ############
+
+
+
+#######################################################################
+#
+# ADMIN_EMAIL: if you would like to receive emails regarding newly
+# restricted hosts and suspicious logins, set this address to
+# match your email address. If you do not want to receive these reports
+# leave this field blank (or run with the --noemail option)
+#
+ADMIN_EMAIL = [EMAIL PROTECTED]
+#
+#######################################################################
+
+#######################################################################
+#
+SMTP_HOST = localhost
+SMTP_PORT = 25
+SMTP_FROM = DenyHosts
+SMTP_SUBJECT = DenyHosts Report
+#
+#######################################################################
+
================================================================
Index: SOURCES/DenyHosts.cron
diff -u /dev/null SOURCES/DenyHosts.cron:1.1
--- /dev/null Tue Feb 22 13:01:09 2005
+++ SOURCES/DenyHosts.cron Tue Feb 22 13:01:04 2005
@@ -0,0 +1 @@
+*/10 * * * * root python /usr/bin/denyhosts.py -c /etc/DenyHosts.cfg
================================================================
Index: SOURCES/DenyHosts-kodos.patch
diff -u /dev/null SOURCES/DenyHosts-kodos.patch:1.1
--- /dev/null Tue Feb 22 13:01:09 2005
+++ SOURCES/DenyHosts-kodos.patch Tue Feb 22 13:01:04 2005
@@ -0,0 +1,23 @@
+diff -uNr DenyHosts-0.5.5-org/setup.py DenyHosts-0.5.5/setup.py
+--- DenyHosts-0.5.5-org/setup.py 2005-02-13 04:26:49.000000000 +0100
++++ DenyHosts-0.5.5/setup.py 2005-02-22 12:44:10.155446912 +0100
+@@ -6,11 +6,6 @@
+ import sys
+ from glob import glob
+
+-
+-libpath = "/usr/share/kodos"
+-
+-
+-
+ #########################################################################
+
+ setup(name="DenyHosts",
+@@ -23,7 +18,6 @@
+ ##package_dir={'': 'modules'},
+ ##packages=['modules', "."],
+ license="GPL",
+- extra_path='kodos',
+ long_description="""
+ DenyHosts is a python program that automatically blocks ssh attacks by adding
entries to
+ /etc/hosts.deny. DenyHosts will also inform Linux administrators about
offending hosts, attacked
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit