[Bug 284865] IPFW syntax errors in /etc/rc.firewall
Date: Mon, 17 Feb 2025 18:22:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284865
Bug ID: 284865
Summary: IPFW syntax errors in /etc/rc.firewall
Product: Base System
Version: 13.4-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: conf
Assignee: bugs@FreeBSD.org
Reporter: zero1@zaclys.net
Hi there,
I think there are some syntax errors in /etc/rc.firewall, a missing "s" for
icmptype.
For ipv6: icmp6type instead of icmp6types
For ipv4: icmptype instead of icmptypes
~ $ grep -n -E -w "icmp6type|icmptype" /etc/rc.firewall
462: ${fwcmd} add pass icmp from any to any icmptype 8
464: ${fwcmd} add pass ipv6-icmp from any to any icmp6type 128,129
468: ${fwcmd} add pass icmp from any to any icmptype 3,4,11
470: ${fwcmd} add pass ipv6-icmp from any to any icmp6type 3
~ $ freebsd-version -kru ; uname -rms
13.4-RELEASE-p3
13.4-RELEASE-p3
13.4-RELEASE-p3
FreeBSD 13.4-RELEASE-p3 amd64
Tested on 13.4 and 14.2.
Thank you.
--
You are receiving this mail because:
You are the assignee for the bug.