I am going to filter Ping request to my server, and only accepts ping request with length 920.
ping -l 920 serrveraddress
I am using the following two command in iptables
iptables -A INPUT -p icmp -m length --length 1:920 -j ACCEPT iptables -A INPUT -p icmp -j DROP
But it accept all the ping requests. Could you please guide me through this problem?