6 Commits

Author SHA1 Message Date
xieyao
196ec09e55 fix: resolve P2P data plane decrypt failure and improve test environment
- Fix key derivation in both sdk/agent.go and internal/vl1/noise.go:
  sort public keys before hashing, use shared key for send/recv
- Adjust docker-compose port mappings to 7150-7153 range (within 7000-7200)
- Add GOPROXY env to Dockerfiles for Go module download in restricted networks
- Verified: all 3 clients connect with 2 peers each, zero decrypt errors
2026-06-17 15:19:54 +08:00
xieyao
e7f1c8e831 docs: add E2E test progress report 2026-06-17 2026-06-17 05:08:23 +08:00
xieyao
a8b411c888 fix: sort public keys in deriveKeys so both sides compute matching send/recv keys 2026-06-17 05:07:28 +08:00
xieyao
807c4cf323 feat: Docker Compose E2E test env, agent fixes, TAP MAC config, testclient binary
- Add docker-compose.yml with server + init + 3 clients + tester
- Add Dockerfile.server (CGO multi-stage) and Dockerfile.client
- Add .dockerignore for efficient builds
- Add cmd/testclient/main.go: full E2E test binary using SDK
- Fix agent handshake loop: only respond to new handshakes
- Add tapInterface.SetMAC() to match agent's generated MAC
- Call SetMAC() in agent SetTAPIP to fix ARP resolution
- Add data-plane debug logging for troubleshooting
- Change config database path to /tmp/data/ for container use
- Add SetMAC stub for non-Linux builds
2026-06-17 05:04:19 +08:00
xieyao
e3147ac06f feat: add Go SDK package (REST client + VL1 agent + TAP device) 2026-06-17 03:59:45 +08:00
xieyao
ee5f036325 initial: ZeroTier-like P2P mesh VPN server with multi-tenant Web UI 2026-06-17 03:50:23 +08:00