HomeFreeBSD

pf: fix synproxy to local

Description

pf: fix synproxy to local

When we're synproxy-ing a connection that's going to us (as opposed to a
forwarded one) we wound up trying to send out the pf-generated tcp
packets through pf_intr(), which called ip(6)_output(). That doesn't
work all that well for packets that are destined for us, so in that case
we must call ip(6)_input() instead.

MFC after: 1 week
Sponsored by: Modirum MDPay
Differential Revision: https://reviews.freebsd.org/D31853

(cherry picked from commit 0a51d74c3ab8e7ee8771cc3ee78ffba831c953ef)

Details

Provenance
kpAuthored on Sep 1 2021, 7:54 AM
Differential Revision
D31853: pf: fix synproxy to local
Parents
rG7959799d93c5: net: Fix memory leaks upon arp_fillheader() failures
Branches
Unknown
Tags
Unknown