- Dec 14, 2023
-
-
Rob Swindell authored
... in malloc error reporting messages
-
Rob Swindell authored
We need to call mqtt_shutdown() instead of mqtt_close() to have the mosquitto (loop) thread stopped. Upon connect failure, call the mqtt_shutdown() *before* calling lprintf->lputs, which would eventually try to MQTT-publish the log message. The call to mqtt_connect() can block for a while, so raise the log severity of the "connecting to broker" message from DEBUG to INFO. Otherwise, a bad MQTT broker address or port would make the servers just appear to hang during initialization, for no reason.
-
Rob Swindell authored
Fixes issue #679
-
Deucе authored
CryptCert.export_cert(CryptCert.FORMAT.TEXT_CERTIFICATE) should now work properly instead of always returning an error.
-
- Dec 12, 2023
-
-
Rob Swindell authored
That doesn't trigger a Coverity defect this time (CID 470457)
-
Rob Swindell authored
Actually tested myself this time, needed a lot more than first appearances. Also includes a security/safety enhancement where the @-code expanded string is *not* used as an sprintf format string. Supporting both format specifiers and @-codes in a single text.dat string is tricky (always has been). For Accession.
-
- Dec 11, 2023
-
-
Rob Swindell authored
resulting from commit 5f1c39f0 Fix for issue #678
-
- Dec 10, 2023
-
-
Rob Swindell authored
The first word of the message recipient or author's name. For Accession.
-
Rob Swindell authored
Expected to use the MSG_* @-codes in this context. This allows more freedom of ordering the message header fields reused in this expanded string. The %s specifiers can be eliminated altogether when using @-codes. For Accession to play with.
-
- Dec 09, 2023
-
-
Deucе authored
With 0xE0 being used for ciolib "super-extended scancodes", a literal 0xe0 can't pass through the input path. This is an issue in CP866 (р) and KOI8-U (Ю) as well as CP437 α. Should fix SyncTERM SF bug 123.
-
Rob Swindell authored
of sbbs_t::external() The startup directory for DOS doors might not be a valid Unix (case-sensitive) path, so let's just do that check in the native block here. Also, removed a bunch of redundant startup_dir ==/!= NULL checks. It can't be NULL here.
-
Rob Swindell authored
The '-l' (loop) option would cause the JS runtime to be destroyed and recreated for each new execution of the script, which resulted in memory leaks in Windows builds (see issue #672 for details). So instead, just use a single JS runtime here when the -l option is used to prevent that from happening, though truth be told, that's likely not a normal/common occurrence. Other apparent JS-related memory leaks (e.g. in the web server) appear to be of a common concern. Likely upgrading to a modern libmozjs would also fix this issue, but we're far short of being able to do that right now.
-
- Dec 08, 2023
-
-
Rob Swindell authored
This reverts commit cfcff881
-
- Dec 05, 2023
-
-
Rob Swindell authored
... to de-clutter the log Also, don't log the packet passwords. Folks copy and post sbbsecho.log lines and that could seriously compromise the security of the Interwebs if those super-secret passwords were ever leaked!
-
Rob Swindell authored
Previously, any packets created for unlinked nodes, would always be Type-2 packets and the packet type for newly created nodes (in echocfg->Linked Nodes) would be Type-2+. The new DefaultPacketType setting default is 2+, so the only observed change in behavior will be that packets created for unlinked nodes will also be type 2+ (by default). Some additional log detail/adjustment around created/detected packet types.
-
Rob Swindell authored
Introduced in commit 0e38cb0f (9 months ago), the first linked-node config (including packet password!) for the first packed netmail message would be reused for subsequent packed netmail messages. Thank you to Wilfred van Velzen (2:280/464) for reporting this problem! Additional debug-level log message when using a packet password for a newly created packet.
-
Rob Swindell authored
-
Rob Swindell authored
Since SYMLINK=1 is valid/suggested for install/GNUmakefile, this is a common mistake that we can catch here.
-
- Dec 03, 2023
-
-
Rob Swindell authored
'T' command from the reading messages (O)perator menu Abstraction the twit-list usage.
-
- Dec 02, 2023
-
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
-
- Nov 26, 2023
-
-
Rob Swindell authored
The user name is better to log than the user number. Include user name in brackets.
-
Rob Swindell authored
Colons are not legal filename characters on Windows and when virtual hosts are enabled, the IPv6 address of the server may be used in the access-log filename so we need to clean that up or errors opening/creating the access-log files occur.
-
- Nov 24, 2023
-
-
Rob Swindell authored
"HTTP Logging" replaced in log messages with "Web Server access-logging". Using new FCLOSE_OPEN_FILE macro to close and NULify open FILE*'s.
-
- Nov 23, 2023
-
-
Rob Swindell authored
Change CLOSE_OPEN_FILE to a do/while(0) to eliminate extraneous semicolon
-
Rob Swindell authored
The first write to a the temporary SBBS_SSJS.*.html file will open the file. This should reduce the number of 0-byte files left laying around in the the temp directory, which shouldn't be happening in the first place. Also: Fixed bug noticed in temp file clean up loop: POST data files would *also* be retained when the DEBUG_SSJS option flag is set. Also: Replace some unsafe string operations with safe equivalents. Happy Thanksgiving Nelgin!
-
Rob Swindell authored
Default: Warning I'm tired of SSH-related errors that I can't do anything about, filling my error.log file and mail inbox.
-
- Nov 22, 2023
-
-
Rob Swindell authored
error: expected ‘)’ before string constant Harumph.
-
Rob Swindell authored
std::atomic's need to be brace-initialized, or else we fail with "use of deleted function" errors Odd that MSVC built it just fine.
-
Rob Swindell authored
Include function names. Include host:port in "Unable to connect" error.
-
Rob Swindell authored
And other safety improvements in getsub()
-
Rob Swindell authored
-
Rob Swindell authored
getkeys() could return -1 if user disconnects (and SS_ABORT not set), so this appears to be a valid bug.
-
Rob Swindell authored
Add comment/question about the use of JS_SetReservedSlot(), for Deuce
-
Rob Swindell authored
-
Rob Swindell authored
getkeys() is actually never (currently) called with a NULL arg, so this could not actually occur, but better to prepare for that eventuality. This looks like a case of not following the YAGNI principle.
-
Rob Swindell authored
Unlikely, but valid thread-safety concerns by Coverity
-
Rob Swindell authored
-
Rob Swindell authored
-