Skip to content

test(registries): pin the Teredo client-XOR branch with a public-server vector - #1263

Merged
Dumbris merged 1 commit into
mainfrom
test/1235-teredo-vector
Sep 12, 2026
Merged

test(registries): pin the Teredo client-XOR branch with a public-server vector#1263
Dumbris merged 1 commit into
mainfrom
test/1235-teredo-vector

Conversation

@Dumbris

@Dumbris Dumbris commented Sep 12, 2026

Copy link
Copy Markdown
Member

Follow-up to #1235 (thanks @aroh3006).

Problem

The Teredo vector 2001:0:0:0:0:0:80ff:fffe has a 0.0.0.0 server field, which IsUnspecified blocks before the XOR-obfuscated client (127.0.0.1) is decoded. Removing the client-XOR line in embeddedIPv4 left TestIsBlockedIP green.

Fix

Use 2001:0:4136:e378::80ff:fffe (public server 65.54.227.120, loopback client) so only the client branch can produce the block, and add 2001:0:4136:e378::f7f7:f7fe (client 8.8.8.1) to the allowed list to pin the branch from both sides.

Testing

Verified the test now bites: replacing the XOR with the raw bytes fails TestIsBlockedIP; restored, go test ./internal/registries/ passes.

🤖 Generated with Claude Code

…er vector

The Teredo vector added in #1235 had an all-zero server field, so
IsUnspecified blocked it before the XOR'd client address was ever
decoded; deleting the XOR branch left the test green. Use a public
Teredo server (65.54.227.120) with a loopback client, and add the
public-client counterpart to the allowed list.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying mcpproxy-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 330cd04
Status: ✅  Deploy successful!
Preview URL: https://157817f5.mcpproxy-docs.pages.dev
Branch Preview URL: https://test-1235-teredo-vector.mcpproxy-docs.pages.dev

View logs

@github-actions

Copy link
Copy Markdown
Contributor

📦 Build Artifacts

Workflow Run: View Run
Branch: test/1235-teredo-vector

Available Artifacts

  • archive-darwin-amd64 (29 MB)
  • archive-darwin-arm64 (27 MB)
  • archive-linux-amd64 (17 MB)
  • archive-linux-arm64 (16 MB)
  • archive-windows-amd64 (29 MB)
  • archive-windows-arm64 (26 MB)
  • frontend-dist-pr (0 MB)
  • installer-dmg-darwin-amd64 (24 MB)
  • installer-dmg-darwin-arm64 (21 MB)

How to Download

Option 1: GitHub Web UI (easiest)

  1. Go to the workflow run page linked above
  2. Scroll to the bottom "Artifacts" section
  3. Click on the artifact you want to download

Option 2: GitHub CLI

gh run download 34675785340 --repo smart-mcp-proxy/mcpproxy-go

Note: Artifacts expire in 14 days.

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Dumbris
Dumbris merged commit 9fca30a into main Sep 12, 2026
38 checks passed
@Dumbris
Dumbris deleted the test/1235-teredo-vector branch September 12, 2026 09:20
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.

2 participants