| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-11-25 | Add TLS port field to tracker registration protocol | Jeff Halter | |
| Repurpose the previously unused 2-byte field in the tracker protocol to advertise the server's TLS port. This allows clients to discover which servers support TLS connections. Note: currently only the official, original, 1990's Tracker software sends this server provided 2-byte field to tracker clients. I'm adding this to Mobius in the hope that the modern day trackers might update their behavior to match the original software, which would put these unused 2 bytes to a useful purpose. | |||
| 2025-11-24 | Fix tracker server list parsing for batched responses | Jeff Halter | |
| The tracker protocol splits large server lists into batches, with each batch preceded by a ServerInfoHeader. Previously, GetListing only read the initial header and failed when encountering subsequent headers mid-stream, causing the scanner to misinterpret header bytes as server record data. Changes: - Refactored GetListing to use bufio.Reader instead of bufio.Scanner to handle heterogeneous data (headers and server records) - Added readServerRecord helper function for sequential reading - Renamed ServerInfoHeader.SrvCountDup to BatchSize for clarity - Added comprehensive documentation explaining the batching protocol - Removed unused serverScanner function and tests - Added table tests covering multiple batch scenarios The BatchSize field indicates the number of servers in the current batch, while SrvCount indicates the total across all batches. | |||
| 2024-07-19 | Fix failing test, replace use of reflect package with assert | Jeff Halter | |
| 2024-06-24 | Refactoring, cleanup, test backfilling | Jeff Halter | |
| 2024-06-09 | Refactor TrackerRegistration Read to io.Reader interface | Jeff Halter | |
| 2023-05-28 | Handler tracker list errors | Jeff Halter | |
| 2022-06-29 | Refactor and backfill tests for tracker listing | Jeff Halter | |
| 2022-06-07 | Fix hardcoded port in tracker registration | Jeff Halter | |
| 2021-07-28 | Move code to hotline dir | Jeff Halter | |