Skip to content

Commit

Permalink
drop redundant firewall rule
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkr committed Jul 15, 2024
1 parent a774198 commit daa2334
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions woof-code/rootfs-packages/firewall_ng/usr/sbin/firewall_ng
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,10 @@ fi
# and other worms have infected systems blasting pings.
# Comment the line below if you want pings logged, but it
# will likely fill your logs.
iptables -A INPUT -p ICMP -s 0/0 --icmp-type 8 -j DROP
ip6tables -A INPUT -p ICMPV6 --icmpv6-type 128 -j DROP
if [ "\$LOGGING" = "true" ];then
iptables -A INPUT -p ICMP -s 0/0 --icmp-type 8 -j DROP
ip6tables -A INPUT -p ICMPV6 --icmpv6-type 128 -j DROP
fi

# Time Exceeded
iptables -A INPUT -p ICMP -s 0/0 --icmp-type 11 -j ACCEPT
Expand Down

0 comments on commit daa2334

Please sign in to comment.