Keep the selected exit ready and report idle tunnels in 1.0.5
Read the exit network and endpoint from the published routing choice. Start a normal WireGuard exchange at 120 seconds for that tunnel even when idle. BoringTun keeps the current key usable during the exchange and owns retry and expiry. Switching or clearing the route also moves or removes the renewal policy. Show Idle in the tray, on Android and in CLI status after 30 seconds without IP traffic on a previously established tunnel. Keep key changes and keepalives out of activity, and keep waiting packets, missing paths and transport errors visible. Preserve queued flow tags when a native keepalive occupies a slot and drain pending IP on key confirmation. Bump the local status IPC to 26 and update the workspace, Android and Nix versions. Upgrade the daemon and desktop clients together. Mesh protocols, key lifetimes and persistent storage remain compatible. On macOS arm64 the initial workspace run passed 602 tests. A separate 181-second two-agent test observed renewal only in the selected mesh and delivered its first internet packet after idle. Formatting and strict workspace Clippy passed on the release sources. The maintainer requested publication without waiting for another full test run.
This commit is contained in:
1 parent
e3e6089d0b
commit
6a0a87e76c
25 files changed
+506
-130
No files matched your search
@@ -238,6 +238,15 @@ modifying the source files. Corrupt legacy databases are hard errors. Old
|
||||
internal channel; contradictory values are rejected. Interface MTU is selected
|
||||
once with `--mtu`, independent of carrier selection.
|
||||
|
||||
The client renews the selected exit peer's session key at 120 seconds, even
|
||||
when no IP traffic is flowing. The current key can carry packets during the
|
||||
exchange. Changing the exit moves this behavior to the new network and peer.
|
||||
|
||||
The device list shows **Idle** after an established tunnel has had 30 seconds
|
||||
without IP traffic. Handshakes and keepalives do not restart this interval.
|
||||
Pending IP packets, a missing path, or a selected exit waiting for a usable
|
||||
key still show **Waiting**. A reported transport failure shows **Error**.
|
||||
|
||||
User traffic counters count original IP bytes once when the encrypted frame is
|
||||
accepted by the logical transport, and once when decrypted on receipt. They do
|
||||
not promise remote delivery. They exclude carrier overhead, handshakes,
|
||||
|
||||
Reference in new issue
Block a user