Expand description
WireGuard placement on Windows, decided by facts about the interface that carries traffic to the C2 endpoint (not by adapter names). Pure logic; tested on every target.
Structs§
- Decision
- Why the decision was made (logged verbatim).
- Route
Fact - One route candidate toward the C2 endpoint with facts about its interface.
Enums§
Functions§
- decide
- decisive_
route - Most specific route wins; ties broken by lowest metric.
- is_
split_ default 0.0.0.0/1or128.0.0.0/1(typical VPN split-default).- opens_
adapter - parse_
route_ facts - Parse tab-separated lines:
if_index \t prefix \t metric \t if_type \t hardware \t virtual \t media \t alias \t desc - prefix_
len - Prefix length of
a.b.c.d/n; unparseable = 0. - tunnel_
reason - Facts that make an interface a tunnel. Returns the reason when it is one.