running out of ports: every client port is used only once in outgoing connection

Eugene M. Zheganin emz at norma.perm.ru
Thu Aug 27 19:24:34 UTC 2020


Hello,

27.08.2020 23:01, Eugene M. Zheganin wrote:
>
> And as soon as I'm switching to it from DNS RR I'm starting to get get 
> "Can't assign outgoing address when connecting to ...". The usual 
> approach would be to assign multiple IP aliases to the destination 
> backends, so I will get more of socket tuples.
> So, seems like FreeBSD isn't reusing client ports out-of-the-box.
>
> Linux, on the other hand, does reuse ports for client connection, as 
> long as the socket tuple stays unique. How do I get the same behavior 
> on FreeBSD ?
>
>
>
Found this:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=174087

and this:

https://svnweb.freebsd.org/base?view=revision&revision=361228

How do I determine if the latter is merged into STABLE (is it ?) ?


Thanks.

Eugene.



More information about the freebsd-stable mailing list