BlockHosts dose´nt run automaticly

Hi!, I hope someone can help me with my problem.. (Debian)

I cant get BlockHosts dose´nt run automaticly each time someone is trying
to access the server using ssh/proftpd..

..but when I run the script manually it works just fine.

/etc/hosts.allow

#---- BlockHosts Additions
#---- BlockHosts Additions
sshd, proftpd: ALL: spawn (/usr/bin/blockhosts.py --verbose
>> /var/log/blockhosts.log 2>&1 )& : allow

//rewtioz

logs and correction

The line added in hosts.allow is not correct - there should be a back-slash \ after the word verbose.

Then if no entry is seen in syslog output (usually /var/log/messages) or /var/log/blockhosts.log, then maybe one of the requirements of blockhosts is not being met (no TCP_WRAPPER support on that server), or there are other lines in hosts.allow that are preventing it from reaching the lines above.

Ahh, that was the missing

Ahh, that was the missing backslash that was the problem :)
Thanks ac, and thanks for a good script !