diff --git a/src/svxlink/reflector/SatelliteClient.h b/src/svxlink/reflector/SatelliteClient.h index be221b7..039c02f 100644 --- a/src/svxlink/reflector/SatelliteClient.h +++ b/src/svxlink/reflector/SatelliteClient.h @@ -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 { diff --git a/src/svxlink/reflector/svxreflector.conf.in b/src/svxlink/reflector/svxreflector.conf.in index 59f4938..b149a8c 100644 --- a/src/svxlink/reflector/svxreflector.conf.in +++ b/src/svxlink/reflector/svxreflector.conf.in @@ -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* #