BlockHosts 2.4.0 - Mac OS X/Darwin

Dependencies:
g95 20090624
gettext 0.17
libiconv 1.13
Python 2.6.3
tcl 8.5.7
texinfo 4.13
tk 8.5.7
X11 2.3.4

After instllation you need to add the following to /etc/hosts.allow:

##	Start here
#---- BlockHosts Additions
#---- BlockHosts Additions

sshd, proftpd, in.proftpd: ALL: spawn (/usr/local/bin/blockhosts.py --verbose --echo "%c-%s" >> /var/log/blockhosts.log 2>&1 )& : allow

##	Stop here

You'll need to do this as root, i.e. type

sudo pico /etc/hosts.allow

or 

sudo edit /etc/hosts.allow

(if you have TextWrangler installed) in the Terminal.

For additional notes on hosts.allow see the HMUG note on TCP Wrappers.


To install:

Use the Terminal (/Applications/Utilities/Terminal)

$mv BlockHosts-2.4.0 /tmp

$cd /tmp/BlockHosts-2.4.0

$sudo /usr/local/bin/python setup.py install --force 
Password:********

That's it!

Release 1
20091009

Marius Schamschula mariusatphysicsdotaamudotedu