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)
Feb 22 2024, 2:38 PM
Unknown Object (File)
Feb 11 2024, 12:34 PM
Unknown Object (File)
Feb 5 2024, 9:01 AM
Unknown Object (File)
Dec 23 2023, 1:25 AM
Unknown Object (File)
Dec 14 2023, 9:43 PM
Unknown Object (File)
Sep 17 2023, 10:17 PM
Unknown Object (File)
Sep 11 2023, 1:27 PM
Unknown Object (File)
Aug 27 2023, 2:44 PM

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