No description
Find a file
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
client Replace getpagesize() ifdef cascade with sysconf(_SC_PAGESIZE). 2026-03-03 16:30:37 -07:00
color Update stale kdtree validation routine. Tree itself is fine. 2011-01-14 19:43:53 -08:00
contrib/TinyMUX.Win32 Remove Byte Order Mark (BOM). 2010-05-10 21:43:36 -07:00
db Fix db/ test suite for current API and add null-safety to GetAttribute 2026-03-05 23:11:03 -07:00
debian Changes from Debian 2.10.1.14-1 package. 2017-10-09 09:38:58 -06:00
docker Update version numbers everywhere to refer to 2.13 instead of 2.12. 2020-08-11 07:38:56 -06:00
docs docs: GANL connection lifecycle bugs — pure virtual fixed, double-free documented 2026-03-14 10:01:33 -06:00
mux Fix reverse DNS slave: strip trailing newline from input 2026-03-18 19:35:03 -06:00
muxsvc Add work-in-progress for Windows service. 2008-12-11 16:57:29 -08:00
sgp Remove hardtabs. 2012-05-18 13:29:49 -07:00
specs Add clean target to specs Makefile. 2010-06-02 20:34:17 -07:00
testcases Fix reverse DNS slave: strip trailing newline from input 2026-03-18 19:35:03 -06:00
unix Merge CONVERSION.md into UPGRADING.md and delete the former 2026-03-06 15:19:53 -07:00
utf Add .gitignore for utf/ build artifacts 2026-03-06 08:46:59 -07:00
win32 Merge CONVERSION.md into UPGRADING.md and delete the former 2026-03-06 15:19:53 -07:00
.gitattributes Add .gitattributes to enforce LF endings for shell scripts and TOC files. 2026-03-04 08:05:14 -07:00
.gitignore Ignore release reference directories and generated smoke.conf 2026-03-06 14:16:39 -07:00
CLAUDE.md Update documentation for 2.13 release: dates, build process, defaults. 2026-03-03 06:36:11 -07:00
dounix.sh Bump version to 2.13.0.11 ALPHA and update CHANGES.md 2026-03-16 18:55:09 -06:00
dowin32.sh Bump version to 2.13.0.11 ALPHA and update CHANGES.md 2026-03-16 18:55:09 -06:00