From 09db2b53268dfd4e82543fbafc663433d282b1ab Mon Sep 17 00:00:00 2001 From: Audric Date: Wed, 17 Jun 2026 17:15:36 +0200 Subject: [PATCH] docs(troubleshooting): correct ROUTABLE_PREFIXES per-link/per-direction semantics ROUTABLE_PREFIXES is read and applied locally per link (matchesRoutable / isSharedTG / collectAllTrunkPrefixes); it is never sent on the wire (absent from ReflectorMsg.h / MsgPeerHello) and is not validated against the peer. It therefore does NOT need to be identical on both ends of a link - only the section name and SECRET must match. The previous wording implied forward-path symmetry and that the return leg relies solely on interest; both were imprecise. Clarify the per-direction model and the return-leg options (downstream ROUTABLE_PREFIXES or peer interest; * leaf via interest + wildcard accept). --- docs/TROUBLESHOOTING.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/docs/TROUBLESHOOTING.md b/docs/TROUBLESHOOTING.md index 1e3740e..6e441f1 100644 --- a/docs/TROUBLESHOOTING.md +++ b/docs/TROUBLESHOOTING.md @@ -79,10 +79,15 @@ Usually an asymmetry between the two ends: - **Interest is one-sided.** If only one side has a client selecting the TG, only that side has advertised interest. The other direction starts flowing once a client there selects/keys the TG. -- **Multi-hop transit:** each intermediate hop must declare the same - `ROUTABLE_PREFIXES` for the forward path; the return path relies on interest - (and, for a single-uplink leaf, the `*` wildcard). Re-check every hop in the - chain — there is no automatic propagation. +- **Multi-hop transit:** `ROUTABLE_PREFIXES` is configured **per link and per + direction** — it is *not* exchanged with the peer and need *not* match on both + ends of a link (only the section *name* and `SECRET` must match). For audio to + cross a chain, every hop that must carry a prefix declares it on the trunk + facing the *next hop toward the owner*; there is no automatic propagation. The + return leg needs the downstream hop either to list that prefix in its own + `ROUTABLE_PREFIXES` toward you, or to have live peer interest in the TG (a + single-uplink `*` leaf relies on interest plus its wildcard accept). Re-check + every hop in the chain, in both directions. ---