Too litle timeout for networkwatcher

Fokin Denis fokin33 at gmail.com
Fri Mar 18 11:18:53 UTC 2022


Hello!
Timeout for NetworkWatcher is one minute now.
It is too little on some PC
For example about 2 minutes (i use modified version - set timeout to one hour):
2022-03-17 00:22:57.612: [TUN] [client1] Starting WireGuard/0.5.3
(Windows 6.1.7601; amd64)
2022-03-17 00:22:57.612: [TUN] [client1] Watching network interfaces
2022-03-17 00:22:57.612: [TUN] [client1] Resolving DNS names
2022-03-17 00:22:57.612: [TUN] [client1] Creating network adapter
2022-03-17 00:22:57.676: [TUN] [client1] Using existing driver 0.10
2022-03-17 00:22:57.680: [TUN] [client1] Creating adapter
2022-03-17 00:22:58.056: [TUN] [client1] Using WireGuardNT/0.10
2022-03-17 00:22:58.056: [TUN] [client1] Enabling firewall rules
2022-03-17 00:22:58.029: [TUN] [client1] Interface created
2022-03-17 00:22:58.059: [TUN] [client1] Dropping privileges
2022-03-17 00:22:58.060: [TUN] [client1] Setting interface configuration
2022-03-17 00:22:58.060: [TUN] [client1] Peer 1 created
2022-03-17 00:22:58.060: [TUN] [client1] Sending keepalive packet to
peer 1 (167.99.208.250:51820)
2022-03-17 00:22:58.060: [TUN] [client1] Sending handshake initiation
to peer 1 (167.99.208.250:51820)
2022-03-17 00:22:58.060: [TUN] [client1] Interface up
2022-03-17 00:22:58.107: [TUN] [client1] Receiving handshake response
from peer 1 (167.99.208.250:51820)
2022-03-17 00:22:58.107: [TUN] [client1] Keypair 1 created for peer 1
2022-03-17 00:23:19.329: [TUN] [client1] Sending keepalive packet to
peer 1 (167.99.208.250:51820)
2022-03-17 00:23:40.579: [TUN] [client1] Sending keepalive packet to
peer 1 (167.99.208.250:51820)
2022-03-17 00:24:01.830: [TUN] [client1] Sending keepalive packet to
peer 1 (167.99.208.250:51820)
2022-03-17 00:24:23.079: [TUN] [client1] Sending keepalive packet to
peer 1 (167.99.208.250:51820)
2022-03-17 00:24:28.038: [TUN] [client1] Monitoring MTU of default v4 routes
2022-03-17 00:24:28.107: [TUN] [client1] Setting device v4 addresses
2022-03-17 00:24:28.239: [TUN] [client1] Monitoring MTU of default v6 routes
2022-03-17 00:24:28.239: [TUN] [client1] Startup complete
2022-03-17 00:24:28.239: [TUN] [client1] Setting device v6 addresses

Maybe set timeout to 5 minutes or make setting for it ?
Thank you for great VPN!


More information about the WireGuard mailing list