Page MenuHomeFreeBSD

pf: fix synproxy to local
ClosedPublic

Authored by kp on Sep 6 2021, 8:05 AM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 15 2024, 8:22 AM
Unknown Object (File)
Oct 8 2024, 3:41 AM
Unknown Object (File)
Oct 2 2024, 6:56 AM
Unknown Object (File)
Oct 2 2024, 6:56 AM
Unknown Object (File)
Sep 28 2024, 9:11 AM
Unknown Object (File)
Sep 24 2024, 5:31 PM
Unknown Object (File)
Sep 21 2024, 4:42 AM
Unknown Object (File)
Sep 18 2024, 11:40 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