# command: go test -count=1 -v -run '^TestVPNLProbe' ./singlink # tree: git archive of b9246900205cf822739965e87cf601f6af3bdffb plus one added local test file singlink/zz_vpnl_probe_test.go (sha256 4ef19f17c3b66372207aa9c5071067aef50488486aa9978d8463b196fba9dee6); the vendor files are unchanged # toolchain: go version go1.24.13 darwin/arm64 # started: 2026-11-17T22:16:46Z # ---- combined stdout and stderr ---- === RUN TestVPNLProbeSpecialRanges zz_vpnl_probe_test.go:31: 8.8.8.8 publicIP=true configAllowed=true zz_vpnl_probe_test.go:31: 10.0.0.1 publicIP=false configAllowed=false zz_vpnl_probe_test.go:31: 64:ff9b::a00:1 publicIP=false configAllowed=false zz_vpnl_probe_test.go:31: 64:ff9b::808:808 publicIP=true configAllowed=true zz_vpnl_probe_test.go:31: 64:ff9b:1::a00:1 publicIP=false configAllowed=false zz_vpnl_probe_test.go:31: ::ffff:10.0.0.1 publicIP=false configAllowed=false zz_vpnl_probe_test.go:31: ::ffff:0:a00:1 publicIP=true configAllowed=true zz_vpnl_probe_test.go:31: 3fff::1 publicIP=true configAllowed=true zz_vpnl_probe_test.go:31: 5f00::1 publicIP=true configAllowed=true zz_vpnl_probe_test.go:31: 2001:db8::1 publicIP=false configAllowed=false zz_vpnl_probe_test.go:31: 100::1 publicIP=false configAllowed=false --- PASS: TestVPNLProbeSpecialRanges (0.00s) === RUN TestVPNLProbeDomainLiterals zz_vpnl_probe_test.go:42: host "127.0.0.1" -> status=server could not reach destination (7) addr=invalid AddrPort zz_vpnl_probe_test.go:42: host "::ffff:127.0.0.1" -> status=server could not reach destination (7) addr=invalid AddrPort zz_vpnl_probe_test.go:42: host "::1" -> status=server could not reach destination (7) addr=invalid AddrPort zz_vpnl_probe_test.go:42: host "fe80::1%lo0" -> status=server could not reach destination (7) addr=invalid AddrPort zz_vpnl_probe_test.go:42: host "localhost" -> status=server could not reach destination (7) addr=invalid AddrPort zz_vpnl_probe_test.go:42: host "10.0.0.1" -> status=server could not reach destination (7) addr=invalid AddrPort --- PASS: TestVPNLProbeDomainLiterals (0.01s) === RUN TestVPNLProbeReplayAfterExpiry zz_vpnl_probe_test.go:82: original flight (token valid): node answered with authenticated STATUS 0 (ok) zz_vpnl_probe_test.go:82: first replay, sent after token expiry, inside 120 s window: node answered with authenticated STATUS 1 (token expired) zz_vpnl_probe_test.go:68: second replay after token expiry: no node reply (read tcp 127.0.0.1:57323->127.0.0.1:57302: i/o timeout) -> treated like a probe --- PASS: TestVPNLProbeReplayAfterExpiry (7.51s) === RUN TestVPNLProbeReplayAfterExpiryWithEarlierReplay zz_vpnl_probe_test.go:134: original flight (token valid): node answered with authenticated STATUS 0 (ok) zz_vpnl_probe_test.go:120: immediate replay (token valid): no node reply (read tcp 127.0.0.1:57341->127.0.0.1:57336: i/o timeout) -> treated like a probe zz_vpnl_probe_test.go:120: replay after token expiry, inside 120 s window: no node reply (read tcp 127.0.0.1:57365->127.0.0.1:57336: i/o timeout) -> treated like a probe --- PASS: TestVPNLProbeReplayAfterExpiryWithEarlierReplay (7.50s) PASS ok github.com/SingLinkLabs/singlink-protocol/singlink 15.332s # ---- end of output ---- # exit status: 0