Software >> OS >> Unix >> Linux >> Red Hat Enterprise Linux >> How to disable tcp timestamp

as root

# echo 0 > /proc/sys/net/ipv4/tcp_timestamps

 

For permanent setting edit /etc/sysctl.conf & add

net.ipv4.tcp_timestamps = 0

 

Additionally, add iptable rule

# iptables -A INPUT -p icmp-type timestamp-request -j DROP

# iptables -A OUTPUT -p icmp-type timestamp-reply -j DROP