Save my server with high frequency queries

Asked By 20 points N/A Posted on -
qa-featured

 

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.

SHARE
Answered By 0 points N/A #148458

Save my server with high frequency queries

qa-featured

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

Related Questions