slackbuilds/network/DenyHosts
Heinz Wiesinger 63daf9f79a All: Support $PRINT_PACKAGE_NAME env var
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
2021-07-17 21:55:09 +02:00
..
DenyHosts.SlackBuild All: Support $PRINT_PACKAGE_NAME env var 2021-07-17 21:55:09 +02:00
DenyHosts.info network/DenyHosts: Updated for version 3.1 + new maintainer. 2019-06-01 07:03:30 +07:00
README network/DenyHosts: Updated for version 3.1 + new maintainer. 2019-06-01 07:03:30 +07:00
rc.denyhosts network/DenyHosts: Add missing rc.denyhosts. 2019-06-03 02:44:04 +07:00
slack-desc network/DenyHosts: Updated for version 3.1 + new maintainer. 2019-06-01 07:03:30 +07:00

README

DenyHosts is a python program that automatically blocks ssh attacks 
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.