control/noise: implement the base transport for the 2021 control protocol.

Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
David Anderson
2021-06-27 01:21:53 -07:00
committed by Dave Anderson
parent 3e1daab704
commit da7544bcc5
7 changed files with 2039 additions and 0 deletions

View File

@ -38,6 +38,12 @@ for file in $(find $1 -name '*.go' -not -path '*/.git/*'); do
$1/wgengine/router/ifconfig_windows.go)
# WireGuard copyright.
;;
*_string.go)
# Generated file from go:generate stringer
;;
$1/control/noise/noiseexplorer_test.go)
# Noiseexplorer.com copyright.
;;
*)
header="$(head -3 $file)"
if ! check_file "$header"; then