Page MenuHomeFreeBSD

tcp: improve blackhole support
ClosedPublic

Authored by tuexen on May 22 2024, 7:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 19 2024, 9:55 PM
Unknown Object (File)
Oct 2 2024, 4:27 PM
Unknown Object (File)
Oct 2 2024, 4:25 PM
Unknown Object (File)
Sep 15 2024, 10:06 AM
Unknown Object (File)
Sep 12 2024, 4:19 PM
Unknown Object (File)
Sep 8 2024, 7:52 AM
Unknown Object (File)
Sep 8 2024, 7:50 AM
Unknown Object (File)
Sep 1 2024, 1:33 AM

Details

Summary

There are two improvements to the TCP blackhole support:

  1. If net.inet.tcp.blackhole is set to 2, also sent no RST whenever a segment is received on an existing closed socket or if there is a port mismatch when using UDP encapsulation.
  2. If net.inet.tcp.blackhole is set to 3, no RST segment is sent in response to incoming segments on closed sockets or in response to unexpected segments on listening sockets.

Thanks to gallatin@ for suggesting such an improvement.

Diff Detail

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

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.May 25 2024, 8:31 AM
This revision was automatically updated to reflect the committed changes.