summaryrefslogtreecommitdiffhomepage
path: root/talpid-tunnel
AgeCommit message (Collapse)AuthorFilesLines
2024-12-02Replace generic with new typeSebastian Holmin1-8/+27
2024-12-02Replace dyn fn with genericSebastian Holmin1-3/+5
2024-11-27Handle legacy always-on vpn profilesDavid Göransson1-4/+14
Co-authored-by: Jonatan Rhodin <jonatan.rhodin@mullvad.net>
2024-09-25Add `futures` to workspace dependenciesSebastian Holmin1-1/+1
2024-09-02Remove unused NetworkInterface traitDavid Lönnhager1-52/+29
2024-09-02Set tunnel name to wg0-mullvad for wireguard-goDavid Lönnhager2-32/+58
Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>
2024-09-02Run `cargo +nightly clippy --fix`Markus Pettersson1-0/+1
2024-08-27Use std LazyLock instead of once_cell LazyDavid Lönnhager2-7/+8
2024-08-13Refactor tunnel provider and TalpidVpnServiceDavid Lönnhager6-247/+221
This also fixes the issue of the VPN service being restarted unnecessarily
2024-08-13Update missing commentDavid Lönnhager1-1/+1
2024-08-13Remove duplicate dummy DNS fix for VpnServiceDavid Lönnhager1-9/+0
2024-08-13Don't pass in excluded apps from wireguard-goDavid Lönnhager1-5/+0
2024-07-30Reconnect if split tunnel state changedMarkus Pettersson1-1/+1
2024-07-25Fix Android code related to ipnetwork upgradesLinus Färnstrand1-3/+3
2024-07-25Upgrade pfctl to 0.5.0 and ipnetwork to 0.20Linus Färnstrand1-1/+1
2024-05-29Migrate to gRPCDavid Göransson2-9/+35
Co-authored-by: Jonatan Rhodin <jonatan.rhodin@mullvad.net> Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net> Co-authored-by: David Lönnhager <david.l@mullvad.net>
2024-05-08Set dummy DNS servers in blocking statesDavid Lönnhager1-11/+30
This is a fix for DNS leaks in blocking states due to an underlying OS bug where DNS queries leak when no DNS server is configured. Lockdown mode ("Block connections without VPN") would also not help in this case. More information on this issue: https://issuetracker.google.com/issues/337961996
2024-02-27Replace err_derive with thiserrorJoakim Hulthe3-43/+33
`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-08Removed unused functionMarkus Pettersson1-9/+0
2024-02-08Move constantsSebastian Holmin1-0/+13
2024-02-08Fix typosSebastian Holmin1-1/+1
2024-01-16Add rust-version to all Cargo.tomlLinus Färnstrand1-0/+1
2024-01-09Remove version and publish cargo metadataLinus Färnstrand1-2/+0
Since Rust 1.75.0 the `version` field is optional. The version defaults to "0.0.0" if it's not specified, and `publish` defaults to false if no version has been given. So by not specifying a version we get both `version = "0.0.0" and `publish = false` "for free"
2024-01-04Add workspace level lintsLinus Färnstrand1-0/+3
2023-10-25Update jnix version to 0.5.1Jonatan Rhodin1-1/+1
2023-10-20Move talpid-windows-net into talpid-windowsDavid Lönnhager2-2/+2
2023-09-11Move log depedency to workspace toml fileDavid Lönnhager1-1/+1
2023-09-11Make err-derive a workspace dependencyDavid Lönnhager1-1/+1
2023-08-01Move windows-sys to a workspace dependencyLinus Färnstrand1-1/+1
2023-07-14Move tokio dependency to be a workspace dependencyLinus Färnstrand1-1/+1
2023-07-14Set package fields in workspace and inherit in packagesLinus Färnstrand1-5/+6
2023-05-24Fix warnings pointed out by ClippyLinus Färnstrand1-2/+2
2023-04-21Fix misc clippy warnings for WindowsLinus Färnstrand1-0/+6
2023-03-14Update windows-sys in mullvad and talpid cratesDavid Lönnhager1-1/+1
2023-01-18Clear tunnel metadata in connecting state when tunnel goes downDavid Lönnhager1-1/+1
2023-01-12Remove Rust dependencies from Android that were unusedLinus Färnstrand1-1/+1
2022-11-07Drop Error suffix in Error enum variantsEmīls Piņķis1-13/+12
2022-11-07Split up talpid-coreEmīls Piņķis8-0/+1325