当我在SSH中input此命令来查看规则时,它会在iptables中返回以下警告消息。 我想知道它是什么以及如何解决它。 iptables -L
LOG tcp -- anywhere anywhere limit: avg 30/min burst 5 LOG level warning prefix "Firewall: *TCP_IN Blocked* " LOG udp -- anywhere anywhere limit: avg 30/min burst 5 LOG level warning prefix "Firewall: *UDP_IN Blocked* " LOG icmp -- anywhere anywhere limit: avg 30/min burst 5 LOG level warning prefix "Firewall: *ICMP_IN Blocked* " DROP all -- anywhere anywhere Chain LOGDROPOUT (1 references) target prot opt source destination LOG tcp -- anywhere anywhere tcp flags:FIN,SYN,RST,ACK/SYN limit: avg 30/ min burst 5 LOG level warning uid prefix "Firewall: *TCP_OUT Blocked* " LOG udp -- anywhere anywhere limit: avg 30/min burst 5 LOG level warning uid prefix "Firewall: *UDP_OUT Blocked* " LOG icmp -- anywhere anywhere limit: avg 30/min burst 5 LOG level warning uid prefix "Firewall: *ICMP_OUT Blocked* " REJECT all -- anywhere anywhere reject-with icmp-port-unreachable Chain PORTFLOOD (3 references) target prot opt source destination LOG all -- anywhere anywhere limit: avg 30/min burst 5 LOG level warning prefix "Firewall: *Port Flood* " DROP all -- anywhere anywhere
你在说什么警告信息? 你的意思是类似于这样的警告字吗?
LOG tcp -- anywhere anywhere limit: avg 30/min burst 5 LOG level warning prefix "Firewall: *TCP_IN Blocked* "
这不是iptables显示的警告消息,而是描述规则的输出的一部分。 因此, level warning显示您在创buildLOG规则时指定了--log-level warning 。 完全不用担心!