M3: tsc-query and tsc-observer (invisible presence, relay chat)
- tsc-query: ServerQuery codec (escaping, rows, errors, notifications, command builder/parser), line client for raw TCP and SSH (russh) with events, flood-limit token bucket and keepalive, HTTP WebQuery client. - tsc-model: Presence (snapshot/delta/diff), ChannelInfo, ClientInfo, ChatMessage, relay formatting and message splitting. - tsc-observer: Observer (snapshot, events or polling, resync, reconnect) and RelayPool (one query session per channel, reads channel chat and posts as [Nick] text, unique nicknames, polite quit). - tsctl query/observe/relay; smoke test covers presence and relay on TS3 (raw) and TS6 (SSH). Dev servers enable all query interfaces with a fixed dev password. - docs: query clients are hidden by clients, not the server. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
This commit is contained in:
1 parent
6ab7b292b0
commit
a8a03661b9
25 files changed
+3555
-52
No files matched your search
@@ -20,6 +20,22 @@ facts constrain it, how the code is organised, and the milestone order.
|
||||
- TeamSpeak 6 servers still accept the TeamSpeak 3 client protocol; verified with
|
||||
`tsctl` against 6.0.0-beta13.1.
|
||||
|
||||
### What "invisible" means for query clients (verified on 3.13.8 and 6.0.0-beta13.1)
|
||||
|
||||
The server does not hide ServerQuery clients: every client subscribed to a
|
||||
channel receives `notifycliententerview` for query clients in it too
|
||||
(`client_type=1`). Official clients hide a query client when its
|
||||
`client_needed_serverquery_view_power` (100 for `serveradmin` by default) is
|
||||
higher than the viewer's `i_client_serverquery_view_power` (only Server Admins
|
||||
have it by default). So observers and relays are invisible to normal users of
|
||||
official clients, visible to admins, and visible to third-party clients that
|
||||
ignore the rule. This client applies the same rule.
|
||||
|
||||
TeamSpeak 6 ships with SSH and HTTP query disabled
|
||||
(`TSSERVER_QUERY_SSH_ENABLED`, `TSSERVER_QUERY_HTTP_ENABLED`). HTTP guest
|
||||
access (`query-http-allow-guest`, on by default) lacks list permissions unless
|
||||
the admin grants them to the guest query group.
|
||||
|
||||
## How each feature is delivered
|
||||
|
||||
| Feature | Mechanism |
|
||||
|
||||
Reference in new issue
Block a user