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
This commit is contained in:
@@ -7,7 +7,7 @@ services:
|
||||
hostname: server
|
||||
privileged: true
|
||||
ports:
|
||||
- "7100:10001"
|
||||
- "7150:10001"
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
@@ -67,7 +67,7 @@ services:
|
||||
hostname: client1
|
||||
privileged: true
|
||||
ports:
|
||||
- "7201:7001/udp"
|
||||
- "7151:7001/udp"
|
||||
depends_on:
|
||||
init:
|
||||
condition: service_completed_successfully
|
||||
@@ -88,7 +88,7 @@ services:
|
||||
hostname: client2
|
||||
privileged: true
|
||||
ports:
|
||||
- "7202:7002/udp"
|
||||
- "7152:7002/udp"
|
||||
depends_on:
|
||||
init:
|
||||
condition: service_completed_successfully
|
||||
@@ -109,7 +109,7 @@ services:
|
||||
hostname: client3
|
||||
privileged: true
|
||||
ports:
|
||||
- "7203:7003/udp"
|
||||
- "7153:7003/udp"
|
||||
depends_on:
|
||||
init:
|
||||
condition: service_completed_successfully
|
||||
|
||||
Reference in New Issue
Block a user