Merged
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #3646 +/- ##
==========================================
- Coverage 23.29% 22.97% -0.33%
==========================================
Files 857 863 +6
Lines 46766 47437 +671
==========================================
+ Hits 10893 10897 +4
- Misses 34615 35284 +669
+ Partials 1258 1256 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This pull request introduces dual stack UDP support and adds a comprehensive STUN NAT behavior testing utility, along with several related enhancements and fixes. The most significant changes are the implementation of a dual stack UDP abstraction, integration of STUN protocol handling and testing, and updates to configuration and dependencies to support these features.
Dual stack UDP support:
FusedPacketConnabstraction incommon/dualStack/fusedPacketConn/fusedPacketSocket.goto combine IPv4 and IPv6 UDP sockets, enabling dual stack UDP operations with correct socket selection for send/receive.common/packetswitch/gvisorstack/config.protoandconfig.pb.goto introduce thedual_stack_udpoption in theConfigmessage and its corresponding getter. (Fc53659fR1, [1] [2] [3]common/packetswitch/gvisorstack/dialer.goto instantiateFusedPacketConnwhenDualStackUdpis enabled, supporting dual stack UDP listening in the gVisor stack. [1] [2]STUN NAT behavior testing utility:
common/natTraversal/stun/filteredStunConnection.go,processor.go, andstunClientConn.go. [1] [2] [3]common/natTraversal/stun/stuncli/stuncli.gothat performs NAT type discovery tests using STUN, supporting SOCKS5 UDP relay and reporting NAT behavior results.main/distro/all/all.go.Dependency updates:
github.com/pion/stun/v3,github.com/pion/transport/v4, andmygithub.libinneed.workers.dev/wlynxg/anetas new dependencies ingo.modto support STUN protocol and dual stack networking.github.com/pion/loggingto v0.2.4 and addedmygithub.libinneed.workers.dev/pion/dtls/v3for improved protocol support.Minor fixes:
app/log/command/config_grpc.pb.go.status.Errorftostatus.Errorin unimplemented gRPC methods for improved error handling.