-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IPv6 support #1191
IPv6 support #1191
Conversation
Workaround RS single local address flawed assumption by spreading all viables local addrresses via discovery Spread addresses also through hidden node as they are the only hope to help direct connection happening for common trusted nodes behind nasty firewalls
Changed unix_connect signature to be more comfortable for dual stack usage Remove dead code in pqissl::pqissl(...) Adapt p3I2pBob::connectI2P() to new unix_connect Adapt extaddrfinder to new unix_connect Add sockaddr_storage_ipv4_to_ipv6 to convert from flat IPv4 to IPv4 mapped as IPv6
Great to see that IPv6 support is still alive 😄 |
31c3b09
to
ea671b2
Compare
With this commit IPv6-v3 surpass v0.6-IPv6-2 in term of features obsoleting it. p3BitDht handle gracefully unwanted non IPv4 addresses rsUdpStack handle gracefully unwanted non IPv4 addresses pqissludp handle gracefully unwanted non IPv4 addresses Move single address limitation workaround from p3discovery2::sendOwnContactInfo to better place p3PeerMgrIMPL::UpdateOwnAddress this way local address list is queried less often and only id there is some suggestion that it may have changed (probably ir will not be called all the times there is a changes in local network interfaces but is good enough) Implement crossplatform rs_setsockopt to avoid too much ifdef around Implement sockaddr_storage_copy to safely copy sockaddr_storage objects
More safe sockaddr_storage copy
Due to a regression introduced in dedfcb2 the local address was not updated correctly causing part of RS networking being stuck and printing lot of invalid sockaddr_storage messages, this commit fix the regression
Since 0.6.4 is out, can this be merged now? 😸 |
For the tests I have made this is ready to go |
Does it supports DHT in ipv6? When would the 0.6.5 including ipv6 be released? Thanks. |
No libbitdht doesn't support IPv6 and we don't plan to add IPv6 support to libbitdht ATM, we have been considering to switch to an independently maintained DHT library that supports IPv6 already. Next release will include the IPv6 support already included in master branch. |
Attempt to implement IPv6 dual stack operation in a retro-compatible non chain reaction manner