tinymux/testcases/tools
Stephen Dennis 982b82fbc8 Fix reverse DNS slave: strip trailing newline from input
The GANL adapter sends IP addresses to the slave with a trailing '\n'
delimiter (stream framing), but slave.cpp passed the raw buffer —
including the newline — to getaddrinfo(), which rejects it. This caused
reverse DNS to silently fail, falling back to numeric IPs.

Latent since b7fec8bc8 (2012) when inet_addr() was replaced by
getaddrinfo(); activated by a6f579c30 (2026-03-03) when GANL replaced
the old SOCK_DGRAM transport with stream pipes.

Adds testcases/tools/SlaveDNS with 11 protocol-level tests.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 19:35:03 -06:00
..
Makesmoke Remove dead CHashFile config (game_dir_file, game_pag_file, cache_pages) 2026-03-05 12:53:30 -07:00
scrubflat.sed Avoid using SED's extended regular expressions because the command-line isn't portable between Linux and FreeBSD. 2010-09-12 14:24:59 -07:00
SlaveDNS Fix reverse DNS slave: strip trailing newline from input 2026-03-18 19:35:03 -06:00
Smoke Fix Smoke test script reliability and remove stale config 2026-03-08 10:04:30 -06:00
unformat.pl Add testcases tree at top-level. 2007-05-03 23:53:58 -07:00
upload.tcl Strip all MEMORY_BASED and SQLITE_STORAGE preprocessor conditionals. 2026-03-05 10:10:00 -07:00