Hey guys, iam trying to filter out IP addresses for my ftp server. Iam using TCP Wrappers to do this.
in my /etc/hosts.deny i have:
Code:
#FILE: /etc/hosts.deny
vsftpd : 192.168.1.: spawn /bin/echo `/bin/date` access denied >> /var/log/vsftpd.log : deny
this is just a test to block local access into the ftp. But it doesnt seem to work at all, it still allows everyone on the network.
i even tried:
Code:
#FILE: /etc/hosts.deny
vsftpd : ALL : spawn /bin/echo `/bin/date` access denied >> /var/log/vsftpd.log : deny
with same results.
any tips guys?