From the security review of 32ff264:
- Turning a system-wide AmneziaWG profile off lifted the whole kill switch,
the TUN's protection too, through a request of the AmneziaWG scope. Now
the profile only leaves the plan; lifting it all stays killswitch off
(services scope).
- Which profiles count came from their tunnels' state this moment (one that
crashed fell out: fail open), and one whose addresses did not read made
the plan none. Now from intent (started at boot, or turned on), and one
unread still holds, letting nothing through it.
- holding said what was meant, not what was in place; failed now says
filters that did not go in.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Upstream's killSwitch, on the Windows Filtering Platform: while the TUN or a
system-wide AmneziaWG profile is on, connections that would leave past it are
blocked at the ALE connect layers, while the tunnel runs, restarts or has
failed. Open: loopback, the private and reserved networks with
allowedSubnets, what leaves from the tunnels' own addresses, the tunnel's own
programs (the backend, its helpers, awg-tunnel; the service with
directFallbacks), NTP with allowTimeSync. Turning a tunnel off, or
proxy-ctl killswitch off / the Overview's Lift, lifts it until a tunnel is
turned on again.
The filters live in a dynamic WFP session of the service's: they go with
it, so stopping the service always gets the network back. Upstream holds
from boot; that needs persistent filters, for once these are seen to work
on real Windows (Wine has no WFP). A changed plan goes in under the other of
two sublayers before the old one goes, so nothing leaks between.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>