Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Feb 2025 18:22:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 284865] IPFW syntax errors in /etc/rc.firewall
Message-ID:  <bug-284865-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284865

            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.=20

For ipv6: icmp6type instead of icmp6types=20=20
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,1=
29
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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-284865-227>