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).
This commit is contained in:
1 parent
53749ffec0
commit
09db2b5326
1 file changed
+9
-4
@@ -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
|
- **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
|
that side has advertised interest. The other direction starts flowing once a
|
||||||
client there selects/keys the TG.
|
client there selects/keys the TG.
|
||||||
- **Multi-hop transit:** each intermediate hop must declare the same
|
- **Multi-hop transit:** `ROUTABLE_PREFIXES` is configured **per link and per
|
||||||
`ROUTABLE_PREFIXES` for the forward path; the return path relies on interest
|
direction** — it is *not* exchanged with the peer and need *not* match on both
|
||||||
(and, for a single-uplink leaf, the `*` wildcard). Re-check every hop in the
|
ends of a link (only the section *name* and `SECRET` must match). For audio to
|
||||||
chain — there is no automatic propagation.
|
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.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user