https://gitlab.synchro.net/main/sbbs/-/commit/9f5074402891cf6de7c4f438
Modified Files:
docs/v322_new.md exec/dyndns.js
Log Message:
dyndns.js: don't send a command-line password as the IP address
Since 22ea304066 (creates-9-pool, 2025-08-17), when a password is set in
the [dyndns] section of modopts.ini, every positional argument was taken
as the IP address. With the stock event command line ("?dyndns.js
YOURPASS") still in place, the client then sent the sysop's password as
the IP, and the server logged it as an invalid IP address. This is seen
in the live service logs for more than one sysop.
Now the first positional argument is the password only when modopts.ini
has none; otherwise it is ignored, as the wiki documents (the modopts.ini password overrides it). A positional argument is used as the IP address
only if it is a valid dotted-quad IPv4 address, so the usage 22ea304066
was for ("?dyndns.js -q 1.2.3.4") still works. Anything else is reported
as an unrecognized argument by position, without echoing it, since it may
be a password.
Tested against a local fake server over the combinations of modopts.ini password, command-line password, IP address and -q.
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net