Â
I am new to LInux' security system and would like my network server from being queried with high frequency from the same IP address. I don't know how to do that , are there any tools or software available to do that? Can you please tell me.
Save my server with high frequency queries
If you wish to block an IP range, you can use "iptables" to do so by entering the following command:
iptables -A INPUT -s [IP range] -j DROP
On the other hand, if you want to use 'apf', locate the "/etc/apf/deny_hosts.rules" file and add the IPs you wish to block. If the problem continues, keep adding IP addresses until the high frequency queries stop. Finally, download and install "PortSentry" by clicking here