Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2018 09:32:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 231323] pfctl parser error
Message-ID:  <bug-231323-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 231323
           Summary: pfctl parser error
           Product: Base System
           Version: 11.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: pr@tns.cz

pfctl fails to load certain configuration. I have reduced the sample
configuration as follows (does not make sense now, but demonstrates the
problem):

export MALLOC_CONF=3Djunk:true

pfctl -n -f - <<EOF
rdr on em0 proto tcp from any to any -> 1.1.1.1 port 2121
pass out log quick on lo0 route-to lo0 from any to any
pass in log quick on lo0 route-to (lo0 localhost) from any to any
EOF

produces:
pfctl: expand_rule: strlcpy

This behavior seems to appear in FreeBSD 11.2 (the error did not display in
FreeBSD 11.1).

Pavel Rydvan

--=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-231323-227>