Add IPv6 support for Directories (still incomplete) - #3809
Conversation
|
MY LLM WROTE: During #3636's TCP-fallback testing, we reproduced the exact gap this PR aims to close. A server registering from a genuine (non-v4-mapped) IPv6 address appears in the server list with The reproduction:
This confirms that TCP fallback (#3636) is necessary but not sufficient — even with reliable transport, the list's wire format itself can't currently describe an IPv6-only server. Your branch's protocol changes are the right lever; wanted to offer this concrete repro in case it helps the verification/test plan. Edit: since the PR asks what's still missing, two more observations from reading the current diff. Both are "not yet done" rather than "wrong" — take or leave them for the eventual checklist. 1. The current diff avoids that, because 2. There's no Also minor: the Two things we checked that turned out to be fine, in case it saves a reviewer the trip: swapping |
Short description of changes
When complete, this will allow servers with IPv6 addresses to register with a directory using both their IPv4 address and IPv6 address. It should also allow for a server that only has an IPv6 address to register, even though it will be inaccessible to clients that just have IPv4.
CHANGELOG: Server: Add IPv6 support to Directory operations.
Context: Fixes an issue?
No issue, but a long-standing discussion at #1950
Does this change need documentation? What needs to be documented and how?
It will do.
Status of this Pull Request
Incomplete work in progress, posted for visibility and comments
What is missing until this pull request can be merged?
To be completed
Checklist