Page MenuHomeFreeBSD

pf: allow ICMP messages related to an SCTP state to pass
ClosedPublic

Authored by kp on Dec 21 2024, 12:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 16, 4:34 PM
Unknown Object (File)
Tue, Mar 4, 7:00 AM
Unknown Object (File)
Feb 3 2025, 5:59 AM
Unknown Object (File)
Jan 18 2025, 4:40 AM
Unknown Object (File)
Jan 4 2025, 2:50 PM
Unknown Object (File)
Jan 1 2025, 2:30 AM
Unknown Object (File)
Dec 31 2024, 2:40 AM
Unknown Object (File)
Dec 30 2024, 2:00 AM

Details

Summary

Much like we already do for TCP and UDP we should also parse SCTP-in-ICMP
messages to see if they apply to an SCTP connection we've already allowed. If so
we should allow the ICMP packet to pass, even if we'd otherwise block it.

Add a test case where we generate an 'ICMP unreachable - need to frag' packet
and check that it passes through pf.

MFC after: 2 weeks
Sponsored by: Orange Business Services

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kp requested review of this revision.Dec 21 2024, 12:59 PM
This revision was not accepted when it landed; it landed in state Needs Review.Jan 4 2025, 2:50 PM
This revision was automatically updated to reflect the committed changes.