docs(topology): document LOCAL_ALIASES, fix stale and incorrect claims

The PDF is built from docs/topology_pdf/ (HTML + Graphviz), not from
TOPOLOGY_EXAMPLES.md, so the two prose copies had drifted. Resync them
and correct several claims that no longer matched the code.

- Add a LOCAL_ALIASES overlay section (+ diagram 6): re-home a short local
  TG under an owned prefix so the mesh routes the long number while local
  clients keep dialing the short one. Translation happens at the trunk
  boundary only -- clients and satellites see the short number.

- Peer interest: MsgPeerTgInterest (type 129) lets a passive listener
  register interest without keying. The HTML still claimed the owner
  cannot fan a TG back until the peer transmits; corrected in the
  Background, the section-2 return leg, and the Properties list.

- Satellite trust model: per-satellite SECRET_<id> is implemented
  (Reflector::resolveSatelliteSecret); drop the "future work" note.

- SATELLITE_FILTER: filter entries are exact unless suffixed with "*"
  (TgFilter::parse), so the documented bare 2222/2224 values matched only
  those literal TGs. Use 2222* and document the syntax.

- Zones are no longer drawn as satellites. A satellite owns no prefix and
  inherits its parent's identity, so a prefix-owning Zone cannot be one.
  Zones now hang off IT 222 as sub-trunks (REMOTE_PREFIX supports a
  comma-separated list), shown with a mix of owned, local-only and aliased
  TGs. Note that ROUTABLE_PREFIXES=* forwards unowned TGs to the uplink,
  where the peer drops them.

- Merge the old section 3 into section 2 as a "sub-trunk star" variant --
  it was the same two-domain topology with a star instead of a full mesh.
  Satellite becomes section 3, twin section 4.

- Disable code-font ligatures: JetBrains Mono rendered SECRET_<id>= as
  SECRET_<id>= with the ">" swallowed by a ">=" ligature.
This commit is contained in:
Audric committed 2026-07-13 10:26:23 +02:00
1 parent a9b622b2c7
commit 76a7f3dce0
12 files changed
+763 -374

No files matched your search

+82
View File
@@ -0,0 +1,82 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.42.4 (0)
-->
<!-- Title: LocalAlias Pages: 1 -->
<svg width="493pt" height="244pt"
viewBox="21.60 21.60 471.48 221.96" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(25.6 217.96)">
<title>LocalAlias</title>
<!-- SE -->
<g id="node1" class="node">
<title>SE</title>
<path fill="#dde8fb" stroke="#1a4fa3" stroke-width="2" d="M60,-192.36C60,-192.36 12,-192.36 12,-192.36 6,-192.36 0,-186.36 0,-180.36 0,-180.36 0,-157.36 0,-157.36 0,-151.36 6,-145.36 12,-145.36 12,-145.36 60,-145.36 60,-145.36 66,-145.36 72,-151.36 72,-157.36 72,-157.36 72,-180.36 72,-180.36 72,-186.36 66,-192.36 60,-192.36"/>
<text text-anchor="middle" x="36" y="-172.46" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">SE</text>
<text text-anchor="middle" x="36" y="-158.46" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">240</text>
</g>
<!-- DE -->
<g id="node2" class="node">
<title>DE</title>
<path fill="#dde8fb" stroke="#1a4fa3" stroke-width="2" d="M60,-102.13C60,-102.13 12,-102.13 12,-102.13 6,-102.13 0,-96.13 0,-90.13 0,-90.13 0,-67.13 0,-67.13 0,-61.13 6,-55.13 12,-55.13 12,-55.13 60,-55.13 60,-55.13 66,-55.13 72,-61.13 72,-67.13 72,-67.13 72,-90.13 72,-90.13 72,-96.13 66,-102.13 60,-102.13"/>
<text text-anchor="middle" x="36" y="-82.23" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">DE</text>
<text text-anchor="middle" x="36" y="-68.23" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">262</text>
</g>
<!-- SE&#45;&#45;DE -->
<g id="edge1" class="edge">
<title>SE&#45;&#45;DE</title>
<path fill="none" stroke="#5f6368" stroke-width="1.2" d="M36,-145.15C36,-131.89 36,-115.41 36,-102.18"/>
</g>
<!-- IT -->
<g id="node3" class="node">
<title>IT</title>
<path fill="#fde2d4" stroke="#c0531c" stroke-width="2" d="M267.53,-147.24C267.53,-147.24 219.53,-147.24 219.53,-147.24 213.53,-147.24 207.53,-141.24 207.53,-135.24 207.53,-135.24 207.53,-112.24 207.53,-112.24 207.53,-106.24 213.53,-100.24 219.53,-100.24 219.53,-100.24 267.53,-100.24 267.53,-100.24 273.53,-100.24 279.53,-106.24 279.53,-112.24 279.53,-112.24 279.53,-135.24 279.53,-135.24 279.53,-141.24 273.53,-147.24 267.53,-147.24"/>
<text text-anchor="middle" x="243.53" y="-127.34" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">IT</text>
<text text-anchor="middle" x="243.53" y="-113.34" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">222</text>
</g>
<!-- SE&#45;&#45;IT -->
<g id="edge2" class="edge">
<title>SE&#45;&#45;IT</title>
<path fill="none" stroke="#5f6368" stroke-width="1.2" d="M72.09,-166.56C105.4,-163.73 155.96,-157.64 198.21,-144.94 201.21,-144.04 204.25,-142.98 207.28,-141.81"/>
</g>
<!-- DE&#45;&#45;IT -->
<g id="edge3" class="edge">
<title>DE&#45;&#45;IT</title>
<path fill="none" stroke="#5f6368" stroke-width="1.2" d="M72.09,-80.93C105.4,-83.75 155.96,-89.84 198.21,-102.54 201.21,-103.44 204.25,-104.51 207.28,-105.68"/>
</g>
<!-- NODES -->
<g id="node4" class="node">
<title>NODES</title>
<path fill="#eceff1" stroke="#5f6368" stroke-width="2" stroke-dasharray="5,2" d="M303.53,-58C303.53,-58 183.53,-58 183.53,-58 177.53,-58 171.53,-52 171.53,-46 171.53,-46 171.53,-12 171.53,-12 171.53,-6 177.53,0 183.53,0 183.53,0 303.53,0 303.53,0 309.53,0 315.53,-6 315.53,-12 315.53,-12 315.53,-46 315.53,-46 315.53,-52 309.53,-58 303.53,-58"/>
<text text-anchor="middle" x="243.53" y="-32.6" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">local SvxLink nodes</text>
<text text-anchor="middle" x="243.53" y="-18.6" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">select TG 8</text>
</g>
<!-- IT&#45;&#45;NODES -->
<g id="edge4" class="edge">
<title>IT&#45;&#45;NODES</title>
<path fill="none" stroke="#5f6368" stroke-width="1.2" d="M243.53,-99.84C243.53,-87.23 243.53,-71.65 243.53,-58.32"/>
<text text-anchor="middle" x="211.53" y="-82.55" font-family="Helvetica,sans-Serif" font-size="11.00" fill="#3c4043"> &#160;local: TG 8 &#160;</text>
</g>
<!-- ALIAS -->
<g id="node6" class="node">
<title>ALIAS</title>
<polygon fill="#fff9e6" stroke="#a37300" stroke-width="2" stroke-dasharray="5,2" points="435.88,-157.74 315.88,-157.74 315.88,-89.74 441.88,-89.74 441.88,-151.74 435.88,-157.74"/>
<polyline fill="none" stroke="#a37300" stroke-width="2" stroke-dasharray="5,2" points="435.88,-157.74 435.88,-151.74 "/>
<polyline fill="none" stroke="#a37300" stroke-width="2" stroke-dasharray="5,2" points="441.88,-151.74 435.88,-151.74 "/>
<text text-anchor="middle" x="378.88" y="-132.94" font-family="Helvetica,sans-Serif" font-size="11.00">alias boundary</text>
<text text-anchor="middle" x="378.88" y="-120.94" font-family="Helvetica,sans-Serif" font-size="11.00">route on 2220008</text>
<text text-anchor="middle" x="378.88" y="-108.94" font-family="Helvetica,sans-Serif" font-size="11.00">deliver on 8</text>
</g>
<!-- IT&#45;&#45;ALIAS -->
<g id="edge5" class="edge">
<title>IT&#45;&#45;ALIAS</title>
<path fill="none" stroke="#a37300" stroke-width="1.6" stroke-dasharray="1,5" d="M279.8,-123.74C290.92,-123.74 303.49,-123.74 315.86,-123.74"/>
</g>
<!-- MESH -->
<g id="node5" class="node">
<title>MESH</title>
<text text-anchor="middle" x="137.51" y="-126.94" font-family="Helvetica,sans-Serif" font-size="11.00" fill="#3c4043">trunk: the mesh</text>
<text text-anchor="middle" x="137.51" y="-114.94" font-family="Helvetica,sans-Serif" font-size="11.00" fill="#3c4043">routes TG 2220008</text>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.6 KiB