Page MenuHomeFreeBSD

pf: fix synproxy to local
ClosedPublic

Authored by kp on Sep 6 2021, 8:05 AM.
Tags
None
Referenced Files
F153843761: D31853.id.diff
Fri, Apr 24, 5:04 AM
Unknown Object (File)
Fri, Apr 10, 11:25 AM
Unknown Object (File)
Fri, Apr 10, 9:00 AM
Unknown Object (File)
Sat, Mar 28, 6:16 AM
Unknown Object (File)
Fri, Mar 27, 1:07 PM
Unknown Object (File)
Fri, Mar 27, 10:14 AM
Unknown Object (File)
Mar 22 2026, 5:55 PM
Unknown Object (File)
Mar 18 2026, 12:42 AM

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable