用nftables限制ICMP洪水
我想弄清楚如何允许ICMP ping到nftables服务器而不受洪水攻击。 这是我的初始configuration: table inet firewall { chain incoming { type filter hook input priority 0; policy drop; # established/related connections ct state { established, related } accept # ICMP ip6 nexthdr icmpv6 icmpv6 type { destination-unreachable, packet-too-big, time-exceeded, parameter-problem, echo-reply, nd-router-advert, nd-neighbor-solicit, nd-neighbor-advert } accept ip protocol icmp icmp type { destination-unreachable, router-advertisement, time-exceeded, […]