SlackBuilds Repository

15.0 > Network > DenyHosts (3.1)

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

to /etc/rc.d/rc.inet2 just after where sshd is run
and make /etc/rc.d/rc.denyhosts executable.

This requires: ipaddr-py

Maintained by: Tim Dickson
ChangeLog: DenyHosts


Source Downloads:
denyhosts-3.1.tar.gz (6f6947016ee7f6831237ef2f6edd5dd4)

Download SlackBuild:
DenyHosts.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Validated for Slackware 15.0

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2023 Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds