summaryrefslogtreecommitdiffhomepage
path: root/talpid-wireguard/src/wireguard_kernel
AgeCommit message (Collapse)AuthorFilesLines
2025-10-24Add DAITA stats to 'Stats'David Lönnhager1-0/+1
2025-10-24Integrate GotaTun cleanlyMarkus Pettersson2-10/+12
Refactor `trait Tunnel` and factor `start_daita` into `set_config`. Co-authored-by: Joakim Hulthe <joakim.hulthe@mullvad.net>
2025-09-17Upgrade rtnetlink libs to latest versionMarkus Pettersson4-122/+103
Signed-off-by: Markus Pettersson <markus.pettersson@mullvad.net>
2025-09-03Add last WG handshake to statsDavid Lönnhager1-1/+24
2025-07-15Fix `collapsible_if` clippy lintMarkus Pettersson1-6/+7
2025-07-10Run `cargo fmt`Sebastian Holmin5-12/+15
2025-06-10Replace deprecated InetAddr with SocketAddrJoakim Hulthe2-20/+36
2025-06-05Fix typosomahs2-2/+2
2025-03-18Remove superfluous .to_vec()'s, and replace some with vec![]Linus Färnstrand1-114/+74
2025-02-25Fix unaligned pointer readJoakim Hulthe1-16/+27
2025-02-25Move iface_index helper to talpid-netJoakim Hulthe1-27/+1
2025-02-25Move some safety comments to clippy recognizes themJoakim Hulthe1-3/+3
2025-02-12Fix `unsafe_op_in_unsafe_fn` warningSebastian Holmin1-1/+1
2025-01-23Refactor connectivity check to be asyncDavid Lönnhager2-22/+18
2024-12-12Use dynamic DAITA machines in wireguard-goDavid Lönnhager2-2/+4
Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>
2024-09-02Set tunnel name to wg0-mullvad for wireguard-goDavid Lönnhager3-4/+6
Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>
2024-06-25Add `daita` as a Cargo cfg variableMarkus Pettersson2-4/+4
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 Holmin2-4/+14
- 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-02-27Replace err_derive with thiserrorJoakim Hulthe3-39/+38
`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-1/+0
2024-02-08Fix typosSebastian Holmin1-1/+1
2023-12-04Remove hidden assumptions from WireGuard configDavid Lönnhager2-2/+2
2023-12-01Rename MULLVAD_INTERFACE_NAMEStephen Huan1-1/+1
2023-08-31Hide implementation-specific wg stats parsersDavid Lönnhager2-0/+33
2023-08-30Fix clippy lintsEmīls1-2/+2
2023-01-30Run `cargo clippy --fix` with the new Rust 1.67 preferred formatLinus Färnstrand1-4/+4
2022-12-21Apply more clippy fixes.Emīls1-1/+1
2022-11-07Split up talpid-coreEmīls Piņķis6-0/+1852