review for outgoing TCP port reuse
karels at FreeBSD.org
Sat May 9 15:44:58 UTC 2020
I just created a review with the following description:
Allow TCP to reuse local port with different destinations
Previously, tcp_connect() would bind a local port before connecting,
forcing the local port to be unique across all outgoing TCP connections
for the address family. Instead, choose a local port after selecting
the destination and the local address, requiring only that the tuple
The review is https://reviews.freebsd.org/D24781.
The change originated on the Sidewinder firewall, which is proxy-based as
well as packet-filter based, and needed to support more proxy connections
than the pool of ephemeral ports as long as the destinations were different.
More information about the freebsd-transport