GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||
GeezerVison is showing github.com — feat: Support for IP_BIND_ADDRESS_NO_PORT socket option, close #14195 by slandelle · Pull Request #14196 · netty/netty Conversation
Contributor
Motivation: From https://man7.org/linux/man-pages/man7/ip.7.html:
See also these great blog posts from Cloudflare:
Supporting this option, introduced in Kernel 4.2, would help with use cases where a client is binding from multiple local addresses. Modifications: Introduce This option is only for TCP and doesn't seem to work with UDP.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
slandelle
force-pushed
the
feat-IP_BIND_ADDRESS_NO_PORT
branch
from
43d73b9 to
cc33a28
Compare
Motivation: From https://man7.org/linux/man-pages/man7/ip.7.html: > IP_BIND_ADDRESS_NO_PORT (since Linux 4.2) Inform the kernel to not reserve an ephemeral port when using bind(2) with a port number of 0. The port will later be automatically chosen at connect(2) time, in a way that allows sharing a source port as long as the 4-tuple is unique. See also these great blog posts from Cloudflare: * https://blog.cloudflare.com/how-to-stop-running-out-of-ephemeral-ports-and-start-to-love-long-lived-connections * https://blog.cloudflare.com/the-quantum-state-of-a-tcp-port Supporting this option, introduced in Kernel 4.2, would help with use cases where a client is binding from multiple local addresses. Modifications: Introduce `EpollChannelOption#IP_BIND_ADDRESS_NO_PORT `. This option is only for TCP and doesn't seem to work with UDP.
slandelle
force-pushed
the
feat-IP_BIND_ADDRESS_NO_PORT
branch
from
cc33a28 to
5a01db8
Compare
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
normanmaurer
approved these changes
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
slandelle
added a commit
that referenced
this pull request
…#14196) Motivation: From https://man7.org/linux/man-pages/man7/ip.7.html: > IP_BIND_ADDRESS_NO_PORT (since Linux 4.2) Inform the kernel to not reserve an ephemeral port when using bind(2) with a port number of 0. The port will later be automatically chosen at connect(2) time, in a way that allows sharing a source port as long as the 4-tuple is unique. See also these great blog posts from Cloudflare: * https://blog.cloudflare.com/how-to-stop-running-out-of-ephemeral-ports-and-start-to-love-long-lived-connections * https://blog.cloudflare.com/the-quantum-state-of-a-tcp-port Supporting this option, introduced in Kernel 4.2, would help with use cases where a client is binding from multiple local addresses. Modifications: Introduce `EpollChannelOption#IP_BIND_ADDRESS_NO_PORT `. This option is only for TCP and doesn't seem to work with UDP.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
slandelle
added a commit
that referenced
this pull request
…#14196) Motivation: From https://man7.org/linux/man-pages/man7/ip.7.html: > IP_BIND_ADDRESS_NO_PORT (since Linux 4.2) Inform the kernel to not reserve an ephemeral port when using bind(2) with a port number of 0. The port will later be automatically chosen at connect(2) time, in a way that allows sharing a source port as long as the 4-tuple is unique. See also these great blog posts from Cloudflare: * https://blog.cloudflare.com/how-to-stop-running-out-of-ephemeral-ports-and-start-to-love-long-lived-connections * https://blog.cloudflare.com/the-quantum-state-of-a-tcp-port Supporting this option, introduced in Kernel 4.2, would help with use cases where a client is binding from multiple local addresses. Modifications: Introduce `EpollChannelOption#IP_BIND_ADDRESS_NO_PORT `. This option is only for TCP and doesn't seem to work with UDP.
This was referenced
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. | |||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |