Page MenuHomeFreeBSD

pf: fix synproxy to local
ClosedPublic

Authored by kp on Sep 6 2021, 8:05 AM.
Tags
None
Referenced Files
F144439534: D31853.id94707.diff
Sun, Feb 8, 11:08 AM
F144380576: D31853.id94950.diff
Sun, Feb 8, 3:45 AM
Unknown Object (File)
Sat, Jan 31, 11:14 AM
Unknown Object (File)
Dec 30 2025, 11:32 PM
Unknown Object (File)
Dec 20 2025, 3:33 PM
Unknown Object (File)
Dec 20 2025, 7:59 AM
Unknown Object (File)
Dec 11 2025, 12:30 PM
Unknown Object (File)
Dec 3 2025, 11:41 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 41400
Build 38289: arc lint + arc unit