thelight
3rd January 2005, 04:12 PM
Im running the latest version of apf, along with fedora core 2. Recently one person with the same ip address each time keeps trying to log into my box via ssh. I decided to block the ip in the /etc/apf/deny_hosts.rules file using the format:
tcp:in:s=ip.ip.ip.ip
which is what the docs seem to say is correct. However, I did this on the 29th december, and the same person has attempted to log in every day since, so is obviously not being blocked by that firewall rule. So, do I have the syntax incorrect? Or can I not block specific ip address's on open ports?
tcp:in:s=ip.ip.ip.ip
which is what the docs seem to say is correct. However, I did this on the 29th december, and the same person has attempted to log in every day since, so is obviously not being blocked by that firewall rule. So, do I have the syntax incorrect? Or can I not block specific ip address's on open ports?