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)
Wed, Dec 3, 11:41 PM
Unknown Object (File)
Wed, Nov 26, 12:15 AM
Unknown Object (File)
Tue, Nov 18, 9:57 AM
Unknown Object (File)
Tue, Nov 18, 4:05 AM
Unknown Object (File)
Mon, Nov 17, 2:41 PM
Unknown Object (File)
Mon, Nov 17, 2:56 AM
Unknown Object (File)
Mon, Nov 17, 1:17 AM
Unknown Object (File)
Mon, Nov 17, 1:17 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