ts-bookkeeping: parse TeamSpeak 6 times in milliseconds

TeamSpeak 6 (6.0.0-beta13.1) sends the `datetime` of notifyfilelist in
milliseconds. The parser read it as seconds, failed on the out-of-range
date and dropped the whole message, so every file list came back
empty. Times from 10^11 on (year 5138 in seconds) are now taken as
milliseconds.

The TS6 dev server gets its own file transfer port (30034): clients
connect to the port the server announces, and 30033 on the host is the
TS3 server's, so transfers with TS6 went to the wrong server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
This commit is contained in:
Claude committed 2026-09-29 00:41:31 +00:00
1 parent 64775cd868
commit e10c5ba7f4
3 files changed
+16 -4

No files matched your search

+4 -1
View File
@@ -46,11 +46,14 @@ services:
TSSERVER_QUERY_SSH_ENABLED: 1
TSSERVER_QUERY_HTTP_ENABLED: 1
TSSERVER_QUERY_ALLOW_LIST: /etc/tsserver/query_ip_allowlist.txt
# Clients connect to the port the server announces, so it must be the
# published one (30033 is the TS3 server's).
TSSERVER_FILE_TRANSFER_PORT: 30034
ports:
- "9988:9987/udp" # voice (mapped to 9988 so both servers can run)
- "10022:10022" # SSH ServerQuery
- "10080:10080" # HTTP WebQuery
- "30034:30033" # file transfer
- "30034:30034" # file transfer: the server announces its own port
volumes:
- ts6-data:/var/tsserver
- ./query_ip_allowlist.txt:/etc/tsserver/query_ip_allowlist.txt:ro