From 7ebee2249be8f5e3bc3d5e21ba20433977c93081 Mon Sep 17 00:00:00 2001 From: Audric Date: Wed, 29 Apr 2026 18:05:52 +0200 Subject: [PATCH] docs(satellite): KNOWN ISSUE note on tg=0 filter inconsistency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit V2 clients authenticate with tg=0 (TG selection happens later via select_tg), so SatelliteLink::sendClientConnected currently suppresses every connect event when SATELLITE_FILTER is non-empty. The fanoutClient{Disconnected,Rx,Status} paths in Reflector.cpp use `tg == 0 || link->filterPassesTg(tg)` to default-allow — this method should mirror that pattern. --- src/svxlink/reflector/SatelliteLink.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/svxlink/reflector/SatelliteLink.cpp b/src/svxlink/reflector/SatelliteLink.cpp index 689bd26..937005c 100644 --- a/src/svxlink/reflector/SatelliteLink.cpp +++ b/src/svxlink/reflector/SatelliteLink.cpp @@ -548,6 +548,13 @@ void SatelliteLink::sendClientConnected(const std::string& callsign, if (!m_hello_received) return; // TG filter applied at sender — drop if the client's TG is outside // this satellite's filter. + // + // KNOWN ISSUE: V2 clients authenticate with tg=0 (TG selection happens + // later via select_tg), so a non-empty SATELLITE_FILTER currently + // suppresses every connect event. The fanoutClient{Disconnected,Rx,Status} + // paths in Reflector.cpp use `tg == 0 || link->filterPassesTg(tg)` to + // default-allow when no TG is selected yet — this method should mirror + // that pattern for consistency. if (!filterPassesTg(tg)) return; sendMsg(MsgPeerClientConnected(callsign, tg, ip)); } /* SatelliteLink::sendClientConnected */