Fix VPN internet connectivity and simplify client setup

Initialize Android physical interfaces and preserve macOS scoped routes. Add redacted diagnostics, default DNS, ordered auto-save, simplified controls, scanner rotation settings, and native regression coverage. Restore vendored build sources and document validation and stability checks.
This commit is contained in:
shen
2026-10-12 06:51:25 -07:00
parent 2f185f914d
commit c7cc2aa865
41 changed files with 2841 additions and 247 deletions
+4 -1
View File
@@ -8,6 +8,7 @@ import (
"io"
"net"
"net/netip"
"strings"
"testing"
"time"
)
@@ -88,8 +89,10 @@ func TestEngineLifecycleAndFailedStartRecovery(t *testing.T) {
if engine.Snapshot().State != "Stopped" {
t.Fatal("initial state")
}
if engine.Start(context.Background(), c) == nil {
if err := engine.Start(context.Background(), c); err == nil {
t.Fatal("started on occupied port")
} else if !strings.Contains(err.Error(), "listen_port_in_use") {
t.Fatalf("missing safe occupied-port diagnostic: %v", err)
}
if engine.Snapshot().State != "Failed" {
t.Fatal("failed start state")