Update wg nt#9
Merged
Hasan6979 merged 24 commits intolibtelio-mainfrom Aug 28, 2025
Merged
Conversation
…me-panic Fix last handshake time panic
use x25519_dalek instead of boringtun
Co-authored-by: Travis Athougies <travis@athougies.net>
4fe1b19 to
76d4273
Compare
tomaszklak
reviewed
Aug 12, 2025
Comment on lines
-93
to
-105
| let stats = adapter.get_config().unwrap(); | ||
| for peer in stats.peers { | ||
| let handshake_age = Instant::now().duration_since(peer.last_handshake); | ||
| println!( | ||
| " {:?}, up: {}, down: {}, handsake: {}s ago", | ||
| peer.allowed_ips, | ||
| peer.tx_bytes, | ||
| peer.rx_bytes, | ||
| handshake_age.as_secs_f32() | ||
| ); | ||
| } | ||
| // Go to 163.172.161.0 in your browser to see bandwidth numbers here change | ||
| // because only traffic to that ip is routed through the interface |
There was a problem hiding this comment.
nit: it's not clear to me, why was this part removed.
Author
There was a problem hiding this comment.
It isn't removed, it was lil bit refactored and it shows in diff as a removed and added.
There was a problem hiding this comment.
In this commit it looks like you have removed this section: 76d4273
Author
There was a problem hiding this comment.
Aha. Because in the merge same thing was duplicated.
It was before earlier https://github.com/NordSecurity/wireguard-nt-rust-wrapper/blob/libtelio-main/examples/demo_server.rs#L75
And then in the new version it was after https://github.com/nulldotblack/wireguard-nt/blob/main/examples/demo_server.rs#L73 so during the merge it created double.
76d4273 to
1aff6b5
Compare
|
Looks good, +1 |
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.
No description provided.