docs: clarify SATELLITE_FILTER is bidirectional

The filter is applied on both legs of the satellite: outbound to the
parent (local events for non-matching TGs are suppressed) and inbound
from the parent (advertised via MsgTrunkFilter so the parent skips
forwarding non-matching TGs). The previous comments only mentioned
the inbound direction, which was misleading.
This commit is contained in:
Audric committed 2026-04-20 14:05:32 +02:00
1 parent 719aa3e37c
commit b94a447bf1
2 files changed
+12 -9

No files matched your search

+6 -5
View File
@@ -22,11 +22,12 @@ it connects to a parent reflector and relays all local client events.
Events received from the parent are broadcast to local clients.
No prefix logic, no trunk mesh participation.
An optional SATELLITE_FILTER restricts which TGs the satellite wants to
receive from the parent (uses the standard TgFilter syntax: exact, prefix
"24*", range "2427-2438", comma-separated). The filter is sent to the
parent via MsgTrunkFilter (type 122) after authentication. The parent
applies it to outbound traffic so filtered TGs are never forwarded.
An optional SATELLITE_FILTER scopes which TGs this satellite cares about,
in both directions (TgFilter syntax: exact, prefix "24*", range
"2427-2438", comma-separated):
- outbound: local events for non-matching TGs are not sent to the parent;
- inbound: the filter is sent to the parent via MsgTrunkFilter (type 122)
after authentication; the parent skips forwarding non-matching TGs.
*/
class SatelliteClient : public sigc::trackable
{
+6 -4
View File
@@ -175,10 +175,12 @@ CERT_CA_HOOK=@SVX_SHARE_INSTALL_DIR@/ca-hook.py
#SATELLITE_PORT=5303
#SATELLITE_SECRET=change_this_satellite_secret
#SATELLITE_ID=my-satellite
# Optional TG filter — restrict which TGs to receive from parent.
# Uses standard filter syntax: exact "26200", prefix "24*", range "2427-2438",
# comma-separated. Empty or absent = receive all TGs.
# Sent to the parent via MsgTrunkFilter (type 122) after authentication.
# Optional TG filter — restricts which TGs this satellite cares about.
# Applied in both directions: the satellite skips sending local events for
# non-matching TGs, and advertises the filter to the parent via
# MsgTrunkFilter (type 122) so the parent skips forwarding them back.
# Syntax: exact "26200", prefix "24*", range "2427-2438", comma-separated.
# Empty or absent = no filtering (all TGs pass in both directions).
#SATELLITE_FILTER=24*,262*
#