From Fedora Project Wiki

Revision as of 03:11, 18 February 2009 by Toshio (talk | contribs) (SOP Formatting)

Infrastructure InfrastructureTeamN1.png

Denyhosts provides a protection against brute force attacks.

Contact Information

Owner: Fedora Infrastructure Team

Contact: #fedora-admin, sysadmin-main group

Location: Anywhere

Servers: All

Purpose: Denyhosts provides a protection against brute force attacks.


All of our servers now implement denyhosts to protect against brute force attacks. Very few boxes should be in the 'allowed' list. Especially internally. Right now lockbox and noc1 are the only two that are explicitly allowed.

Troubleshooting and Resolution

Connection issues

The most common issue will be legitimate logins failing. First, try to figure out why a host ended up on the deny list (tcptraceroute, failed login attempts, etc are all good candidates). Next do the following directions. The below example is for a host ( being banned. Login to the box from a different host and as root do the following.

cd /var/lib/denyhosts
sed -si '/' * /etc/hosts.deny
/etc/init.d/denyhosts restart

That should correct the problem.