Expand description
Generation-safe send-path activation.
An old authenticated WireGuard packet is not, by itself, proof that a newly observed source is a safe current bidirectional route. Relayed traffic keeps circuit provenance; the relay IP is not a direct peer candidate.
Structs§
Constants§
- CONSENT_
INTERVAL_ MS - ICE consent-to-send timers (RFC 7675). Scheduler objectives, not STUN wire values.
- CONSENT_
TIMEOUT_ MS
Functions§
- consent_
fresh - Consent expires if the last successful check is older than
CONSENT_TIMEOUT_MS. - may_
activate_ send_ path - Fresh challenge required before changing the send path.
- relay_
ip_ is_ not_ direct_ candidate - Relay IP / circuit is not a host or srflx candidate.
- resolve_
role_ conflict - RFC 8445: the larger tie-breaker remains controlling.