Skip to content

feat(network): opt-in Mode B isolated executor egress via airport → VPS1 - #202

Merged
wxcvm merged 16 commits into
mainfrom
feat/mode-b-egress-gate-20261123
Nov 23, 2026
Merged

wxcvm merged 16 commits into
mainfrom
feat/mode-b-egress-gate-20261123

Conversation

@wxcvm

@wxcvm wxcvm commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

Scope

  • Add independent docker-compose.mode-b.yml deployment (do not combine with docker-compose.runner.yml).
  • Move built-in tool executor onto an internal: true Docker network with no general outbound route.
  • Add a dual-network Mihomo egress gateway, explicit HTTP(S)/SOCKS settings, and route ARTEX's existing tool proxy rewrite to the gateway instead of the recording relay.
  • Add VLESS+REALITY chained example with dialer-proxy: airport-entry, DNS-over-proxy, and MATCH,vps1 only (no DIRECT/fallback).
  • Gitignore local private node credentials, targeted Go invariant tests, deployment/outage checklist.

Limits / not yet done

  • No VPS2 WireGuard deployment; intended phase 2 after the first chain is verified.
  • No claim of production kill-switch or global anonymity: controller LLM, other MCP/browser processes, DNS/IPv6 on the host and native Windows are outside the container's boundary.
  • Traffic recording relay is intentionally omitted, so recording needs a separate trusted integration.
  • CI now runs a real isolated Linux Docker executor with proxy variables removed and confirms direct IPv4/IPv6 connections fail. This does not exercise real airport/VPS nodes or prove complete DNS/IPv6 host coverage.
  • Secrets are intentionally not requested or committed.

Validation

  • go test ./modeb — static network/config invariants and Go scoped overview.
  • docker compose -f docker-compose.yml -f docker-compose.mode-b.yml config --quiet — CI config parse.
  • bash scripts/ci/mode-b-network-smoke.sh — real Linux Docker negative direct IPv4/IPv6 smoke (no gateway or credentials).
  • bash scripts/mode-b-verify.sh — opt-in operator-run exit IP comparison; not executed with real nodes in CI.
  • Real airport/VPS1/VPS2 and DNS/IPv6/UDP/MCP outage cases remain explicitly unverified (ARTEX [P1][Mode B] VPS2 WireGuard 出口与全路径断链验收 #203).

Related Purge handoff to be tracked separately.

@wxcvm
wxcvm merged commit 6f4702a into main Nov 23, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant