summaryrefslogtreecommitdiffstats
path: root/packages/meshbay-node
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-09-04 14:51:08 +0200
committerChristophe Besson <cbesson@gmail.com>2026-09-04 14:51:08 +0200
commit08b0f8d7c457e5e58a31bea2b2e43c9f398a6923 (patch)
tree4096c193b4f3fb181d5862e906ead8867a4b92a0 /packages/meshbay-node
parent598158757a436eb6ea554f7ce34182dc96f8d851 (diff)
downloadmeshbay-08b0f8d7c457e5e58a31bea2b2e43c9f398a6923.tar.gz
fix: drop the retired Mozilla STUN server from the defaults
stun.services.mozilla.com no longer resolves — Mozilla shut the service down — so every ICE gather waited out a DNS timeout on it. Removed from the node defaults (config.py), the browser defaults (transport.js) and the Node page's "reset to defaults" (node-page.js). Google (two endpoints) plus Cloudflare still give two-provider coverage against a single outage, which is the §2.12 resilience claim. draft-v6 §2.12 updated. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-node')
-rw-r--r--packages/meshbay-node/src/meshbay_node/config.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/meshbay-node/src/meshbay_node/config.py b/packages/meshbay-node/src/meshbay_node/config.py
index a5220cd..0e5a7de 100644
--- a/packages/meshbay-node/src/meshbay_node/config.py
+++ b/packages/meshbay-node/src/meshbay_node/config.py
@@ -24,7 +24,9 @@ DEFAULT_STUN_SERVERS: list[str] = [
"stun:stun.l.google.com:19302",
"stun:stun1.l.google.com:19302",
"stun:stun.cloudflare.com:3478",
- "stun:stun.services.mozilla.com:3478",
+ # stun.services.mozilla.com was here — Mozilla retired it, the name no
+ # longer resolves, and each gather waited out its DNS timeout. Two
+ # providers (Google, Cloudflare) still cover a single-provider outage.
]
DEFAULT_CONFIG_PATH = config_dir() / "node.toml"