วันพฤหัสบดีที่ 29 กรกฎาคม พ.ศ. 2553

Denyhosts installed servers

164.115.5.126     http://www.knit.or.th/   denyhosts installed
202.44.11.50       http://www.turpif.or.th/  denyhosts installed
164.115.5.127     http://mail2.knit.or.th/     denyhosts installed
164.115.5.124     http://sp2.knit.or.th/ 

164.115.5.123     http://db.knit.or.th/

164.115.5.122     http://ns.knit.or.th/

164.115.5.128     http://riti.knit.or.th/        denyhosts installed

202.44.11.55      http://www.turpif.or.th/           denyhosts installed

First of all, references to WORK_DIR point to /var/lib/denyhosts/ or something similar on your system.


The default location for the hosts.deny file is /etc/hosts.deny.



Here's the method I used to unblock an IP:



Stop DenyHosts
/etc/init.d/denyhosts stop

Remove the IP address from hosts.deny

Remove all lines containing the IP address from the following files:



WORK_DIR/hosts

WORK_DIR/hosts-restricted

WORK_DIR/hosts-root

WORK_DIR/hosts-valid

WORK_DIR/users-hosts

Consider adding the IP address to WORK_DIR/allowed-hosts

Start DenyHosts