aboutsummaryrefslogtreecommitdiff
path: root/network/DenyHosts/README
diff options
context:
space:
mode:
authorTim Dickson <dickson.tim@googlemail.com>2019-06-01 07:03:30 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-06-01 07:03:30 +0700
commitb67daffb8a737cd84bf85e7f56f8428462eb3455 (patch)
tree32aa131d0ef61639e8bbacb493ddf979b2db04a7 /network/DenyHosts/README
parent1258b2a26f897674fa480b94ea78e19110900ea4 (diff)
network/DenyHosts: Updated for version 3.1 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/DenyHosts/README')
-rw-r--r--network/DenyHosts/README23
1 files changed, 20 insertions, 3 deletions
diff --git a/network/DenyHosts/README b/network/DenyHosts/README
index 823f2b3e1637..cec8931d9c7d 100644
--- a/network/DenyHosts/README
+++ b/network/DenyHosts/README
@@ -1,4 +1,21 @@
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 users, and
-suspicious logins.
+by adding entries to /etc/hosts.deny. It will also block them via
+iptables. DenyHosts will also inform Linux administrators about
+offending hosts, attacked users, and suspicious logins.
+
+Note: the main config file is moved to /etc/denyhosts.conf for
+versions greater than 2.6
+Noote: ipaddr-py is a new dependency
+DenyHosts has been updated to work with python3 as well as 2, but
+will use whichever version is pointed to by /usr/bin/python
+
+to run at start-up, add
+
+# start Denyhosts
+if [ -x /etc/rc.d/rc.denyhosts ]; then
+ echo "Starting Denyhosts:"
+ /etc/rc.d/rc.denyhosts start
+fi
+
+to /etc/rc.d/rc.inet2 just after where sshd is run
+and make /etc/rc.d/rc.denyhosts executable.