summaryrefslogtreecommitdiffhomepage
path: root/talpid-wireguard/src/wireguard_nt
AgeCommit message (Collapse)AuthorFilesLines
2025-10-27Remove unused importMarkus Pettersson1-2/+0
2025-10-24Add DAITA stats to 'Stats'David Lönnhager1-0/+1
2025-10-24Integrate GotaTun cleanlyMarkus Pettersson1-4/+1
Refactor `trait Tunnel` and factor `start_daita` into `set_config`. Co-authored-by: Joakim Hulthe <joakim.hulthe@mullvad.net>
2025-10-03Remove DAITA from wireguard-ntDavid Lönnhager2-638/+9
2025-10-03Bump windows-sys version to latestDavid Lönnhager2-29/+32
This also refactors and documents some code
2025-09-23Upgrade `rand` to `0.9` in `talpid-wireguard`Markus Pettersson1-1/+1
Document why `rand` can't be upgraded in `wireguard_nt::daita`
2025-09-03Add last WG handshake to statsDavid Lönnhager1-0/+20
2025-07-10Run `cargo fmt`Sebastian Holmin2-9/+9
2025-07-09Use `io:Error::other`Sebastian Holmin1-2/+1
2025-05-26Add BoringtunJoakim Hulthe1-1/+3
Co-authored-by: Joakim Hulthe <joakim.hulthe@mullvad.net> Co-authored-by: Sebastian Holmin <sebastian.holmin@mullvad.net> Co-authored-by: David Göransson <david.goransson@mullvad.net> Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net> Co-authored-by: David Lönnhager <david.l@mullvad.net>
2025-03-19Set MTU on IPv6 interface for wireguard-nt only if IPv6 is enabledDavid Lönnhager1-2/+6
2025-02-25Allow undocumented_unsafe_blocks in even more modulesJoakim Hulthe1-0/+2
2025-02-12Format workspaceSebastian Holmin1-7/+7
The 2024 edition contains new formatting rules. All of these are not compatible with the 2021 formatting style, but most of them are. To change the formatting to be as close to the new style as possible while remaining compatible with the 2021 edition, I first ran `cargo +beta fmt` with the edition set to 2024, then, with the edition set to 2021, I ran `cargo fmt`.
2025-02-12Fix `unsafe_op_in_unsafe_fn` warningSebastian Holmin1-24/+29
2025-01-24Format codeDavid Lönnhager1-1/+4
2025-01-24Enable DAITA v2 for Windows via wireguard-goDavid Lönnhager1-1/+1
2025-01-23Refactor connectivity check to be asyncDavid Lönnhager1-6/+12
2024-11-28Fix clippy warningsMarkus Pettersson1-48/+13
2024-11-12Use maybenotv2 on iOS, remove maybenotv1Emīls1-1/+1
2024-11-01Document purpose of testsDavid Lönnhager1-0/+2
2024-11-01Add unit test for parsing maybenot machines on WindowsDavid Lönnhager1-20/+40
2024-10-30Add back maybenot_machines version 1Joakim Hulthe1-1/+1
2024-10-29Replace maybenot machines with v2 machinesDavid Lönnhager1-1/+1
Co-authored-by: Joakim Hulthe <joakim@hulthe.net>
2024-10-21Add maybenot v2 machinesDavid Lönnhager1-1/+1
2024-10-21Update to maybenot 2.0.0 on WindowsDavid Lönnhager1-36/+42
2024-08-27Use std LazyLock instead of once_cell LazyDavid Lönnhager1-11/+13
2024-06-25Add `daita` as a Cargo cfg variableMarkus Pettersson1-3/+34
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-8/+4
- 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-06-24Run `cargo +nightly fmt`Sebastian Holmin1-5/+7
2024-04-25Update windows-sysJoakim Hulthe1-4/+2
2024-04-22Fix broken lints in rustdocsSebastian Holmin1-7/+7
I ran `cargo doc` and fixed as many broken links as I could find.
2024-04-16Add DAITA Windows client and updated tuncfgDavid Lönnhager2-0/+1739