Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Jan 2022 21:18:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 260958] pfctl: expand_rule: strlcpy
Message-ID:  <bug-260958-227-uUplEYQ9uX@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-260958-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-260958-227@https.bugs.freebsd.org/bugzilla/>

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

Kristof Provost <kp@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kp@freebsd.org

--- Comment #1 from Kristof Provost <kp@freebsd.org> ---
I can reproduce the error, but my current thinking is that this is a
misconfiguration rather than a bug in pf. (Although arguably the error mess=
age
could be better).

Note that reply-to expects to be followed by a routehost ('     routehost=
=20=20=20=20=20
=3D "(" interface-name [ address [ "/" mask-bits ] ] ")"', which is suppose=
d to
be an interface-name and optionally an address.

The pfctl parser code puts the string it finds after route-to in an ifname
field, which is IFNAMSIZ bytes long, so the IPv6 address you provide doesn't
fit and that's what produces the error message.

--=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-260958-227-uUplEYQ9uX>