-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
show TCP/UDP/IPv6 in tooltip #12613
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
show TCP/UDP/IPv6 in tooltip #12613
Conversation
Signed-off-by: 21pages <sunboeasy@gmail.com>
Signed-off-by: 21pages <sunboeasy@gmail.com>
65330b9
to
95db184
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR enhances the connection information display by adding stream type details (TCP/UDP/IPv6) to tooltips and logs. It improves user visibility into the actual connection mechanism being used for remote connections.
- Adds punch type logging to better track connection establishment attempts
- Displays connection stream type (TCP/UDP/IPv6) in UI tooltips alongside existing security/direct indicators
- Skips UDP punch attempts when UDP NAT port is 0, treating them as TCP punches
Reviewed Changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated 5 comments.
Show a summary per file
File | Description |
---|---|
src/client.rs | Core logic for tracking and returning stream type information during connection establishment |
src/ui_session_interface.rs | Updates interface to pass stream type parameter to UI handlers |
src/ui/remote.rs | Sciter UI handler updated to receive and process stream type information |
src/ui/header.tis | JavaScript logic to display stream type in connection tooltips |
src/flutter.rs | Flutter handler updated to include stream type in connection events |
src/client/io_loop.rs | Connection loop updated to pass stream type to UI |
src/port_forward.rs | Port forwarding client updated to handle new stream type return value |
flutter/lib/models/model.dart | Flutter model updated to store and display connection type with stream information |
flutter/lib/mobile/pages/*.dart | Mobile UI pages updated to use new connection display method |
flutter/lib/desktop/pages/*.dart | Desktop UI pages updated to use centralized connection text generation |
flutter/lib/common/shared_state.dart | Shared state updated to track stream type |
flutter/lib/common.dart | New utility function for generating connection text with stream type |
95db184
to
6169cfe
Compare
Signed-off-by: 21pages <sunboeasy@gmail.com>
Test
Punch Test
TCP local addr, UDP punch hole, IPv6 local addr/Punch Hole, force relay with nightly to nightly/1.3.9
Tooltip
skip udp punch