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:
1 parent
719aa3e37c
commit
b94a447bf1
2 files changed
+12
-9
No files matched your search
@@ -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.
|
Events received from the parent are broadcast to local clients.
|
||||||
No prefix logic, no trunk mesh participation.
|
No prefix logic, no trunk mesh participation.
|
||||||
|
|
||||||
An optional SATELLITE_FILTER restricts which TGs the satellite wants to
|
An optional SATELLITE_FILTER scopes which TGs this satellite cares about,
|
||||||
receive from the parent (uses the standard TgFilter syntax: exact, prefix
|
in both directions (TgFilter syntax: exact, prefix "24*", range
|
||||||
"24*", range "2427-2438", comma-separated). The filter is sent to the
|
"2427-2438", comma-separated):
|
||||||
parent via MsgTrunkFilter (type 122) after authentication. The parent
|
- outbound: local events for non-matching TGs are not sent to the parent;
|
||||||
applies it to outbound traffic so filtered TGs are never forwarded.
|
- 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
|
class SatelliteClient : public sigc::trackable
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -175,10 +175,12 @@ CERT_CA_HOOK=@SVX_SHARE_INSTALL_DIR@/ca-hook.py
|
|||||||
#SATELLITE_PORT=5303
|
#SATELLITE_PORT=5303
|
||||||
#SATELLITE_SECRET=change_this_satellite_secret
|
#SATELLITE_SECRET=change_this_satellite_secret
|
||||||
#SATELLITE_ID=my-satellite
|
#SATELLITE_ID=my-satellite
|
||||||
# Optional TG filter — restrict which TGs to receive from parent.
|
# Optional TG filter — restricts which TGs this satellite cares about.
|
||||||
# Uses standard filter syntax: exact "26200", prefix "24*", range "2427-2438",
|
# Applied in both directions: the satellite skips sending local events for
|
||||||
# comma-separated. Empty or absent = receive all TGs.
|
# non-matching TGs, and advertises the filter to the parent via
|
||||||
# Sent to the parent via MsgTrunkFilter (type 122) after authentication.
|
# 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*
|
#SATELLITE_FILTER=24*,262*
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in new issue
Block a user