[Bug 231323] pfctl parser error

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Sep 12 09:32:30 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231323

            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 at FreeBSD.org
          Reporter: pr at 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=junk: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

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


More information about the freebsd-bugs mailing list