summaryrefslogtreecommitdiffhomepage
path: root/talpid-routing/src
AgeCommit message (Collapse)AuthorFilesLines
2023-12-04Subtract multihop overhead from default route MTU on LinuxDavid Lönnhager2-3/+37
2023-10-20Move talpid-windows-net into talpid-windowsDavid Lönnhager4-12/+10
2023-10-10Refresh routes when connecting in offline statesDavid Lönnhager1-0/+8
2023-10-10Print network services when offlineDavid Lönnhager2-0/+24
2023-10-10React to any network service change in dynamic storeDavid Lönnhager2-11/+70
2023-10-09Create DynamicStore on startup in macOS route monitorDavid Lönnhager2-133/+189
2023-10-09Make BurstGuard configurableDavid Lönnhager3-24/+57
2023-10-05Find router IP using system configuration frameworkDavid Lönnhager2-170/+103
2023-10-05Parse ipconfig instead of the routing tableEmīls3-149/+214
Co-authored-by: David Lönnhager <david.l@mullvad.net>
2023-10-05Remove old scoped route when the default route changesDavid Lönnhager1-47/+40
2023-10-05Coalesce route events in macOS route monitorDavid Lönnhager5-28/+60
2023-10-05Move debounce logic out of windows modDavid Lönnhager3-88/+92
2023-09-19Update macOS route monitorDavid Lönnhager2-42/+61
2023-09-19Use unscoped route as best route if there's no tunDavid Lönnhager2-67/+103
2023-09-19Improve logging for default routesDavid Lönnhager1-3/+10
2023-09-19Update default routes on macOS on any address or route changeDavid Lönnhager1-47/+14
Previously, changes to interface addresses were missed
2023-09-19Ignore default routes whose interface are inactive. Stale scoped routes ↵David Lönnhager1-4/+43
fooled the offline detection into thinking that there were working routes
2023-09-19Force delete unscoped route before adding tunnel default routeDavid Lönnhager1-8/+38
2023-09-19Retry adding back default route after disconnecting. Previously, switching ↵David Lönnhager1-19/+134
to a different network and disconnecting would cause it to mysteriously disappear forever
2023-09-05Document function that handles route messages on macOSDavid Lönnhager1-3/+15
2023-09-05Fix incorrect routing socket error messageDavid Lönnhager1-1/+1
2023-09-05Skip interfaces without indices without loggingDavid Lönnhager1-2/+1
2023-09-05Add back default tun route if deletedDavid Lönnhager1-4/+8
2023-09-05Add timeout for routing socketDavid Lönnhager1-1/+8
2023-08-08Use std::ffi for int/short/char FFI typesLinus Färnstrand1-25/+26
2023-08-08Convert talpid-routing to windows-sys 0.48Linus Färnstrand3-100/+53
2023-08-04Replace all use of `lazy_static` with `once_cell`Markus Pettersson1-19/+17
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-06-28Make it possible to use gateway or router as the custom WireGuard endpointDavid Lönnhager1-0/+10
2023-06-05Rework macOS routingDavid Lönnhager16-2447/+875
2023-06-05Attempt to setup routes the other wayEmīls10-167/+3489
2023-05-24Restructure routing modules to be hierarchicalLinus Färnstrand5-17/+17
2023-05-02Fix macOS specific Clippy warningsLinus Färnstrand1-1/+1
2023-04-21Fix clippy warnings in Windows route managerLinus Färnstrand1-8/+7
2023-04-21Apply clippy --fix fixesLinus Färnstrand4-20/+17
This commit does not contain everything that `cargo clippy --fix` changed on Windows. But the least controversial and simplest subset. The remaining fixes I felt could use some manual cleanup also.
2023-03-27Fix many typosAlexander Seiler5-13/+13
Signed-off-by: Alexander Seiler <seileralex@gmail.com>
2023-03-14Update windows-sys in mullvad and talpid cratesDavid Lönnhager1-7/+6
2023-02-08Make async fns without awaits into regular fnsLinus Färnstrand1-2/+2
2023-01-30Run `cargo clippy --fix` with the new Rust 1.67 preferred formatLinus Färnstrand1-2/+2
2023-01-18Fix deadlock in set_tunnel_addressesDavid Lönnhager2-9/+6
2022-11-08Refactor Windows routing codeDavid Lönnhager2-60/+48
2022-11-07Refactor routing codeEmīls Piņķis3-15/+11
Simplify routing to abstract some of the platform specific details
2022-11-07Split up talpid-coreEmīls Piņķis9-0/+3651