Blog for NIX system based administrators

Filter ICMP Timestamp Requests using IPtables

The following commands filter ICMP requests

/sbin/iptables -I INPUT 1 -p ICMP --icmp-type timestamp-request -j DROP

The following commands filter ICMP Reply requests

/sbin/iptables -I INPUT 1 -p ICMP --icmp-type timestamp-reply -j DROP

For autorun place the commands in /etc/rc.conf file or rc.local depending on your operating system.

Tags: , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>