- Dec 15, 2023
-
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
The log format and details might need some adjustment, but this is a start. Also, don't delay 3 seconds before disconnecting socket when mail server has reached maximum number of clients - we should immediately release resources (the socket) and be able to accept another connection ASAP instead. Deal with new CID 470557 and 470554 in mail server: resource (file*) leaks in error paths (corner case). Set minimum severity of TLS messages in web sever to INFO. Debug-level would hide some common TLS session errors.
-
- Dec 14, 2023
-
-
Rob Swindell authored
That's percent minus, to go with percent plus (user's real name). The string is auto-quoted if it contains a space. For Keyop's use with rlogin.js, maybe.
-
Rob Swindell authored
When a JS environment (e.g. server, jsexec) is terminated, it's possible that a require() script was being evaluated. But since termination would abort that evaluation, it's not unexpected if a symbol ends up not being defined before the require() script was terminated, so don't report an error in that case. Fix issue #681
-
Rob Swindell authored
The base64-encoded credentials can either be supplied with the AUTH PLAIN command or in response to a 334 server-challenge. We only supported the former form and logged a warning ("Missing AUTH PLAIN argument") when we received the latter. No warning is logged now and the appropriate server-challege is sent and the response accepted and base64-decoded and parsed as before.
-
Rob Swindell authored
And fix some use of CRYPT_UNUSED instead of cryptlib session ID.
-
Rob Swindell authored
Attempt to fix issue #680 This probably will need some llvm or other exceptional handling for non GNU build systems.
-
Rob Swindell authored
Since we're logging at INFO level when the connect is attempted, we can assume success when we start logging additional init messages.
-
Rob Swindell authored
These can always be revived from the attic if there's some need or purpose.
-
Rob Swindell authored
My mail server was suddenly and inexplicably creating thousands of SMTPS client threads, each with a unique remote IP address, and each eventually failing with the rather obscure log message (from cryptlib): dbg 'Cannot read item from object' (-41) setting session active Eventually (after not long, really), the server would run out of resources and fail in weird and wonderful ways (can't malloc, can't create JS runtime or context, etc.). The max_clients limit (100, as I have it set) wasn't being effectively-imposed on SMTPS connections. The root-cause: the active_clients (counter) wasn't incremented until *after* the cryptlib/TLS setup for SMTPS connections and SMTPS/TLS connections can take a long time to fail, resulting in a vulnerability to an effective denial of service attack. Raise the minimum severity of all cryptlib/TLS log messages from Debug to Info. Create wrappers for smtp_thread() [now smtp_client_thread()] and pop3_thread [now pop3_client_thread()] that handle basic resource management (thread counters, active client counters, the client socket).
-
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 13, 2023
-
-
Deucе authored
Should fix issue reported on IRC by Dumas_Walker
-
Randy Sommerfeld authored
-
Rob Swindell authored
DDMsgReader: New configurable colors for the indexed mode sub-board menu: indexMenuSeparatorLine and indexMenuSeparatorText See merge request !374
-
DDMsgReader: New configurable colors for the indexed mode sub-board menu: indexMenuSeparatorLine and indexMenuSeparatorText
-
- Dec 12, 2023
-
-
m j authored
-
m j authored
-
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.
-
Randy Sommerfeld authored
-
- Dec 11, 2023
-
-
Rob Swindell authored
resulting from commit 5e754ea8 Fix for issue #678
-
- Dec 10, 2023
-
-
Rob Swindell authored
SlyVote: New menu-driven configurator. Minor code refactor; no difference in functionality. See merge request !373
-
-
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.
-
Randy Sommerfeld authored
-
Rob Swindell authored
This just generated unnecessary noise in data/user/*.ini files, no harm. iniSetObject (used by userprops.js) will set undefined properties as blank keys in the section (oops, I don't recall if this is intentional or not), so we need to 'delete' the property instead of assigning undefined to it.
-
Randy Sommerfeld authored
-
Randy Sommerfeld authored
-
Randy Sommerfeld authored
-
Randy Sommerfeld authored
-
Randy Sommerfeld authored
-
Randy Sommerfeld authored
-
- Dec 09, 2023
-
-
Randy Sommerfeld authored
-
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.
-