summaryrefslogtreecommitdiffhomepage
path: root/talpid-routing/Cargo.toml
AgeCommit message (Collapse)AuthorFilesLines
2025-10-20Promote widestring to workspace dependencyMarkus Pettersson1-1/+1
Do not care about talpid-openvpn since it's slated for removal
2025-09-17Upgrade rtnetlink libs to latest versionMarkus Pettersson1-3/+4
Signed-off-by: Markus Pettersson <markus.pettersson@mullvad.net>
2025-06-10Update nix to 0.30 everywhereJoakim Hulthe1-1/+1
2025-02-06Replace old waitForTunnelUp functionDavid Göransson1-2/+3
After invoking VpnService.establish() we will get a tunnel file descriptor that corresponds to the interface that was created. However, this has no guarantee of the routing table beeing up to date, and we might thus send traffic outside the tunnel. Previously this was done through looking at the tunFd to see that traffic is sent to verify that the routing table has changed. If no traffic is seen some traffic is induced to a random IP address to ensure traffic can be seen. This new implementation is slower but won't risk sending UDP traffic to a random public address at the internet.
2024-09-25Add `futures` to workspace dependenciesSebastian Holmin1-1/+1
2024-08-27Use std LazyLock instead of once_cell LazyDavid Lönnhager1-1/+0
2024-07-25Upgrade pfctl to 0.5.0 and ipnetwork to 0.20Linus Färnstrand1-1/+1
2024-06-25Remove unused `libc` dependency in `talpid-routing`Markus Pettersson1-1/+0
2024-03-07Bump nixAndrej Mihajlov1-2/+1
2024-03-07Update bitflags to v2Andrej Mihajlov1-1/+1
2024-02-27Replace err_derive with thiserrorJoakim Hulthe1-1/+1
`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-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/+2
2023-12-04Subtract multihop overhead from default route MTU on LinuxDavid Lönnhager1-1/+1
2023-10-20Move talpid-windows-net into talpid-windowsDavid Lönnhager1-1/+1
2023-10-11Make `once_cell` a workspace dependencyMarkus Pettersson1-1/+1
2023-10-05Parse ipconfig instead of the routing tableEmīls1-1/+1
Co-authored-by: David Lönnhager <david.l@mullvad.net>
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-04Replace all use of `lazy_static` with `once_cell`Markus Pettersson1-1/+1
To align more with the upcoming standardizations within the Rust ecosystem which started with the release of `1.70.0` and the inevitable deprecation of `lazy_static`.
2023-08-02Remove unused dependencies from talpid-routingLinus Färnstrand1-2/+0
2023-08-01Move windows-sys to a workspace dependencyLinus Färnstrand1-4/+7
2023-07-14Move tokio dependency to be a workspace dependencyLinus Färnstrand1-2/+2
2023-07-14Set package fields in workspace and inherit in packagesLinus Färnstrand1-5/+6
2023-06-05Rework macOS routingDavid Lönnhager1-8/+3
2023-06-05Remove FS dependenciesEmīls1-3/+3
2023-06-05Attempt to setup routes the other wayEmīls1-1/+11
2023-03-14Update windows-sys in mullvad and talpid cratesDavid Lönnhager1-1/+1
2023-01-12Remove Rust dependencies from Android that were unusedLinus Färnstrand1-5/+2
2023-01-10Remove unused Windows dependenciesLinus Färnstrand1-1/+0
2022-11-07Split up talpid-coreEmīls Piņķis1-0/+47