zeromq / libzmq

ZeroMQ core engine in C++, implements ZMTP/3.1
https://www.zeromq.org
Mozilla Public License 2.0
9.62k stars 2.35k forks source link

tcp_connecter: set IP_BIND_ADDRESS_NO_PORT on connected socket #4520

Closed crrodriguez closed 10 months ago

crrodriguez commented 1 year ago

When binding to a local address, connections are limited to ~32k due to local port range, an unreasonably small limit in 2023.

setting IP_BIND_ADDRESS_NO_PORT delays source port selection to connect time where all information is available and the limit is a few millions.

bluca commented 1 year ago

Please add a relicense statement https://github.com/zeromq/libzmq/tree/master/RELICENSE

crrodriguez commented 1 year ago

Please add a relicense statement https://github.com/zeromq/libzmq/tree/master/RELICENSE

It is my understanding one line of generic code does not consititute "original thought" or is "substantial enough" to be copyrighted. Any OSI license is cool though.

bluca commented 1 year ago

Please add a relicense statement https://github.com/zeromq/libzmq/tree/master/RELICENSE

It is my understanding one line of generic code does not consititute "original thought" or is "substantial enough" to be copyrighted. Any OSI license is cool though.

Regardless, please add a relicense statement

bluca commented 1 year ago

@crrodriguez relicensing is complete so no relicense statement needed anymore, please rebase on latest master to indicate that you are fine with merging this under the new license

bluca commented 10 months ago

No answer in more than half a year, closing