summaryrefslogtreecommitdiffhomepage
path: root/talpid-openvpn/src/process
diff options
context:
space:
mode:
authorMarkus Pettersson <markus.pettersson@mullvad.net>2023-06-26 15:21:58 +0200
committerDavid Lönnhager <david.l@mullvad.net>2023-06-28 12:07:48 +0200
commitd933bfd7bcce68bd043f6fdcbfa61267845176d8 (patch)
tree6ace8e693945a4b2012d2142ec121c0e29dc81b9 /talpid-openvpn/src/process
parent501d13293562a99e60c8ba93cc54227762456d97 (diff)
downloadmullvadvpn-d933bfd7bcce68bd043f6fdcbfa61267845176d8.tar.xz
mullvadvpn-d933bfd7bcce68bd043f6fdcbfa61267845176d8.zip
Silence OpenVPN 'replay attack' warnings.
Make the logs less verbose and easier to read by silencing 'replay attack' warnings. There are lots of false positives showing up in regular UDP connections, and since we don’t act on potential replays or warn our users (it’s pretty hidden in the logs) they don’t really serve much purpose to be there. The warning should not pose any threat to the user.
Diffstat (limited to 'talpid-openvpn/src/process')
-rw-r--r--talpid-openvpn/src/process/openvpn.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/talpid-openvpn/src/process/openvpn.rs b/talpid-openvpn/src/process/openvpn.rs
index bdce415756..1ca2cb3958 100644
--- a/talpid-openvpn/src/process/openvpn.rs
+++ b/talpid-openvpn/src/process/openvpn.rs
@@ -15,6 +15,7 @@ static BASE_ARGUMENTS: &[&[&str]] = &[
&["--client"],
&["--tls-client"],
&["--nobind"],
+ &["--mute-replay-warnings"],
#[cfg(not(windows))]
&["--dev", "tun"],
#[cfg(windows)]