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)
Tue, Feb 11, 3:39 AM
Unknown Object (File)
Mon, Feb 10, 12:41 PM
Unknown Object (File)
Sun, Feb 9, 2:19 AM
Unknown Object (File)
Wed, Feb 5, 6:33 PM
Unknown Object (File)
Jan 30 2025, 3:59 AM
Unknown Object (File)
Jan 20 2025, 9:45 AM
Unknown Object (File)
Jan 15 2025, 7:04 PM
Unknown Object (File)
Jan 15 2025, 3:55 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