hello all ,
if there is a way to reject the ICMP requests with a specific "string" or a specific type of errors ?
for example if we have a rule like that
Code:
iptables -A INPUT -s 192.168.10.12 -p ICMP --icmp-type echo-request -j REJECT
i have tried many types like host-prohibited and network prohibited instead of echo-request but it didnot succeeded so if there is a way to return a specific string or any error instead of port unreachable i will be thankful .