Port awg-agent to Go: awg-control agent
- internal/agent: outbound WSS to core with SPKI pin checked inside the TLS handshake, Ed25519 challenge-response, one-shot join secret (dropped from memory and cli.env after the first ready), forwarding of core requests to the local awg-ctrl with an internal token, dead-connection timer on pings, backoff up to a minute (a minute after 4003) - path filter is stricter than the Node one where it relied on WHATWG URL normalisation: backslashes, a leading "//" and %2e dot segments are rejected - tests: end-to-end against a fake TLS core and a fake awg-ctrl; also checked by hand against the real awg-ui/nodes.ts hub - CI: Go build, vet and race tests on GitHub and Gitea
This commit is contained in:
Generated
+4415
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user