summaryrefslogtreecommitdiffhomepage
path: root/talpid-wireguard/src/connectivity_check.rs
AgeCommit message (Collapse)AuthorFilesLines
2024-11-22Check that that tunnel can serve traffic after starting a new tunnelKalle Lindström1-843/+0
- Split up "ConnectivityCheck" into more descriptive types and collect them in a new `connectivity` module. - Fix allow Wireguard-Go tunnel setup to be cancelled - Use retry param in connectivity check
2024-11-22Fix a lot of thingsMarkus Pettersson1-1/+3
- Fix remaining rustc warnings on non-Android platforms - Fix lookup entry peer if it exists in wireguard-go - Fix talpid-wireguard not compiling on windows - Fix entry peer config code - Fix clippy issue - Fix Daita - Remove TODOs
2024-11-22Add multihop negotiation with ephemeral peersKalle Lindström1-2/+4
Use `WgGoTunnel` directly on Android because a specialized implemenation of `set_config` has to be used.
2024-07-26Fix `doc list item missing indentation`Sebastian Holmin1-2/+2
2024-06-25Add `daita` as a Cargo cfg variableMarkus Pettersson1-1/+2
Gate DAITA compilation on `"cargo::rustc-cfg=daita"` emitted in build files per platform.
2024-06-25Add a safe FFI wrapper in `wireguard-go-rs`Sebastian Holmin1-7/+9
- Add local wireguard go import - Activate DAITA and add `wgActivateDaita` and `wgReceiveEvent` FFI - Implement `start_daita` on Wireguard-go tunnel type - Mention DAITA in `wireguard-go-rs` description - Do not compile `wireguard-go-rs` on Windows - Handle DAITA closed on `nil` event - Handle daita action timeouts in libwg - Remove noisy log lines - Remove `maybenot_on_action` callback - Remove unused link to `../build/lib` for `talpid-wireguard` - Bump the `wireguard-go` submodule to a signed release tag in Mullvad's `wireguard-go` fork. - Update path to `libwg/go.sum` in verification script Also: - Use u64 instead of *mut void as log context - Make Tunnel::set_config take a &mut self - Use dyn Error instead of i32s for wg errors Co-authored-by: Joakim Hulthe <joakim@hulthe.net>
2024-04-16Add DAITA Windows client and updated tuncfgDavid Lönnhager1-0/+5
2024-03-13Stop connectivity monitor when stats map is emptyDavid Lönnhager1-1/+8
This occurs when the WireGuard device is closed unexpectedly
2024-02-27Replace err_derive with thiserrorJoakim Hulthe1-4/+4
`err_derive` is unmaintained and will probably stop working with rust edition 2024. `thiserror` is almost a drop-in replacement. This commit simply replaces all occurences of `derive(err_derive::Error)` with `derive(thiserror::Error)` and fixes the attributes, but the Error and Display impls should be identical.
2024-02-19Fix redundant importsDavid Lönnhager1-3/+1
2024-02-08Fix typosSebastian Holmin1-1/+1
2023-03-27Fix many typosAlexander Seiler1-1/+1
Signed-off-by: Alexander Seiler <seileralex@gmail.com>
2023-01-30Remove redundant parenthesisLinus Färnstrand1-1/+1
2023-01-30Run `cargo clippy --fix` with the new Rust 1.67 preferred formatLinus Färnstrand1-6/+8
2022-11-07Split up talpid-coreEmīls Piņķis1-0/+824