summaryrefslogtreecommitdiffhomepage
path: root/talpid-openvpn-plugin/src
AgeCommit message (Collapse)AuthorFilesLines
2025-07-10Run `cargo fmt`Sebastian Holmin1-1/+1
2025-07-09Put the `tonic::Status` in a Box to make the error type smallerSebastian Holmin2-2/+7
2024-09-25Upgrade `tonic` to 0.12 and `prost` to 0.13Sebastian Holmin1-5/+5
Upgrading `tonic` is a prerequisite to later on upgrading `hyper` to version 1.0. As of version 1.0, `hyper` no longer uses `tokio`s `AsyncWriter` and `AsyncReader` traits, instead defining its own versions, see <https://github.com/hyperium/hyper/issues/3110>. As tonic `0.12` is updated to use the `hyper 1.0` ecosystem, it changed some of its trait-bounds to the new `hyper` traits. The `hyper-utils` crate provides the wrapper `TokioIo`, which converts between the two. `prost` had to be upgraded as well, for compatibility.
2024-02-27Replace err_derive with thiserrorJoakim Hulthe1-14/+13
`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-4/+1
2024-01-04Add workspace level lintsLinus Färnstrand1-2/+0
2022-08-29Silence clippy warnings due to tonicDavid Lönnhager1-0/+1
2022-06-14Manually fix the simpler non-semantic clippy warnsJonathan1-2/+2
This commit tries to manually fix the clippy warnings that are fairly straightforward and do not have rippling effects on the codebase nor have a very high chance of causing bugs.
2022-06-13Perform a clippy --fixjonathan2-3/+3
This is a giant commit which performs only a clippy --fix. Auditing can happen in two ways, either by reading every line or by running a `cargo clippy --fix` on the previous commit and make sure that the result is the same.
2021-11-29Reformat code without blank_lines_upper_bound = 2Linus Färnstrand2-4/+0
2021-07-13Fix tokio runtime buildersDavid Lönnhager1-4/+1
2021-07-02Configure ST tunnel addresses before setting up routesDavid Lönnhager2-0/+2
2021-06-16Improve OpenVPN event handlingDavid Lönnhager2-20/+35
2021-03-09Don't listen to OpenVPN UP event on non-LinuxLinus Färnstrand1-0/+1
2020-09-23Preserve all non-tunnel routes in the exclusions tableDavid Lönnhager1-0/+1
2020-09-01Reduce excessive thread countDavid Lönnhager1-0/+1
2020-06-02Use gRPC for OpenVPN plugin IPCDavid Lönnhager2-62/+48
2020-02-06Remove licence headers from Rust source codeLinus Färnstrand1-8/+0
According to the licence anyone who copies the source must attach the header anyway is my understanding
2019-10-17Upgrade err-derive to 0.2.1Linus Färnstrand1-5/+6
2019-04-05Fix feedbackLinus Färnstrand1-1/+1
2019-04-05Get rid of error-chain in talpid-openvpn-pluginLinus Färnstrand2-63/+60
2019-04-05Stop using deprecated Handle::current()Linus Färnstrand1-1/+1
2019-04-04Add #![deny(rust_2018_idioms)] to all crates and fix warningsLinus Färnstrand1-0/+2
2018-12-13Activate the merge_imports rustfmt featureLinus Färnstrand1-3/+1
2018-12-12Upgrade talpid-openvpn-plugin to Rust 2018Linus Färnstrand2-12/+0
2018-11-21Fix formatting for rustfmt for rustc 1.32.0-nightly (f1e2fa8f0 2018-11-20)Emīls Piņķis1-1/+1
2018-11-20Silence plugin from logging not-important panicLinus Färnstrand1-16/+10
2018-11-15Listen to the RouteUp instead of the Up plugin eventLinus Färnstrand1-1/+1
2018-11-07Update paths to start with crate:: etcLinus Färnstrand2-6/+6
2018-11-05Use latest changes to openvpn-plugin libraryLinus Färnstrand2-12/+9
2018-10-29Remove #[macro_use] from jsonrpc_macros and jsonrpc_client_coreLinus Färnstrand2-12/+8
2018-10-29Remove #[macro_use] from log crateLinus Färnstrand2-10/+11
2018-09-17Register to receive `AuthFailed` plugin eventJanito Vaqueiro Ferreira Filho1-2/+5
2018-09-11Upgrade to newer tokio librariesEmīls Piņķis2-13/+24
2018-08-29Use IPC instead of a websocket to communicate between daemon and pluginLinus Färnstrand2-44/+82
2018-07-30Reformat with rustfmt 0.9.0Linus Färnstrand1-2/+2
2018-07-17Simplify is_another_instance_runningLinus Färnstrand1-1/+1
2018-06-13Update plugin to authenticate with IPC serverJanito Vaqueiro Ferreira Filho2-10/+36
2018-05-07Borrow server ID instead of moving itJanito Vaqueiro Ferreira Filho2-2/+2
2018-05-04Reuse WebSocket connection in `WsIpcClient`Janito Vaqueiro Ferreira Filho1-3/+9
2018-03-02Upgrade log crate to 0.4Linus Färnstrand1-1/+1
2017-12-04Upgrade rustfmt to 0.2.17Linus Färnstrand1-3/+3
2017-10-13Upgrade to use openvpn-plugin 0.3.0Linus Färnstrand1-6/+6
2017-09-18Run rustfmt-nightly 0.2.6 on everythingLinus Färnstrand2-18/+24
2017-09-08Add license metadataLinus Färnstrand1-0/+8
2017-07-20Use openvpn-plugin 0.2.0Linus Färnstrand1-3/+3
2017-07-19Update openvpn plugin to use openvpn-plugin libLinus Färnstrand2-111/+37
2017-07-17Rename all crates from snake_case to kebab-caseLinus Färnstrand2-0/+202