]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf: support if-bound with reply-to
authorKristof Provost <kp@FreeBSD.org>
Fri, 2 Feb 2024 20:56:55 +0000 (21:56 +0100)
committerKristof Provost <kp@FreeBSD.org>
Fri, 1 Mar 2024 08:39:43 +0000 (09:39 +0100)
commit6460322a0a512f4e2c263bee54fc8bf46091f4cd
tree57d679ecf7a487dd0f257d1a47b31e5ff55642c3
parent51c6bf0478bd331225121eb4a0a60510cc3920b1
pf: support if-bound with reply-to

On reply-to we don't know what interface to bind to when we create
the state. Create any reply-to state as floating, but bind to the
appropriate interface once we're handling the reply.

See also: https://redmine.pfsense.org/issues/15220
Sponsored by: Rubicon Communications, LLC ("Netgate")
sys/netpfil/pf/pf.c
tests/sys/netpfil/pf/route_to.sh