Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Aug 2020 00:24:29 +0500
From:      "Eugene M. Zheganin" <emz@norma.perm.ru>
To:        freebsd-stable@freebsd.org
Subject:   Re: running out of ports: every client port is used only once in outgoing connection
Message-ID:  <03f97b02-8661-00e3-7375-66decf0a26ec@norma.perm.ru>
In-Reply-To: <a0607c68-30ed-5969-15eb-cbc67d8f90eb@norma.perm.ru>
References:  <a0607c68-30ed-5969-15eb-cbc67d8f90eb@norma.perm.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?03f97b02-8661-00e3-7375-66decf0a26ec>