ICMP timestamp请求响应漏洞 处理

Linux 系统(firewalld 配置)
使用 firewalld 的富规则禁止 ICMP timestamp 相关报文:
1. 过滤入站的 ICMP 类型 13(timestamp 请求)
# 禁止外部发送的 ICMP timestamp 请求(type 13)
firewall-cmd --permanent --add-rich-rule='rule icmp-type name="timestamp-request" reject'
2. 过滤出站的 ICMP 类型 14(timestamp 回复)
# 禁止本机发送的 ICMP timestamp 回复(type 14)
firewall-cmd --permanent --add-rich-rule='rule icmp-type name="timestamp-reply" reject'
3. 重新加载规则生效
firewall-cmd --reload
4. 验证规则
firewall-cmd --list-rich-rules | grep -E "timestamp-request|timestamp-reply"

