- Dec 20, 2023
-
-
Rob Swindell authored
It is almost 2024 after all. :-)
-
Rob Swindell authored
Every server should have *some* limit to protect against DOS attacks. Every connected client consumes a socket, a thread, some memory, none of which are infinite resources.
-
Rob Swindell authored
... unless the full path was specified.
-
- Dec 19, 2023
-
-
Deucе authored
Also, expand the lock in websrvr to the correct scope.
-
Deucе authored
May help nail down issue with keys.
-
Deucе authored
We'll hold a reader lock under the session is established, which should prevent blocking other threads unless something is beating on get_ssl_cert() (which would be a different bug). This still needs to be figured out, but at least this should fix the immediate issue.
-
Deucе authored
-
Deucе authored
-
Rob Swindell authored
Remove some redundant redundancies, redundantly
-
Deucе authored
it's only called from load_cfg() which has already set it to -1. We also don't need to check prepped twice to make sure it's extra true.
-
Rob Swindell authored
-
Deucе authored
-
Deucе authored
-
Rob Swindell authored
Ctrl-A in the Failed Logins dialog now selects-all rather than copy-all (just use Ctrl-A, then Ctrl-C to copy all).
-
Rob Swindell authored
-
Rob Swindell authored
warning: result of comparison of constant 100000 with expression of type 'uint16_t' (aka 'unsigned short') is always true
-
Deucе authored
-
Rob Swindell authored
./scfg.h:80:9: warning: 'SUB_HDRMOD' macro redefined [-Wmacro-redefined]
-
Rob Swindell authored
This is always going to call the terminal server's lprintf function (when used with libsbbs.so/sbbs.dll) which is probably not what was intended.
-
Rob Swindell authored
Resolve reported clang warning: inkey.cpp:592:20: warning: implicit conversion from 'long' to 'int' changes value from 2147483648 to -2147483648 [-Wconstant-conversion] if(!term_supports(MOUSE)) ~~~~~~~~~~~~~ ^~~~~ ./sbbsdefs.h:574:19: note: expanded from macro 'MOUSE' #define MOUSE (1L<<31) /* Mouse supported terminal */
-
Rob Swindell authored
This is hacky cruft here. We shouldn't have the declaration in multiple places. It probably shouldn't be in sbbs.h.
-
Rob Swindell authored
-
Rob Swindell authored
load_cfg() calls free_cfg() before do_cryptInit() is called, so the ssl_rwlock was uninitialized here.
-
Rob Swindell authored
-
Deucе authored
Holding the lock around session establishment should not be needed, but we need to protect tls_certificate read and usage. Since we don't have rwlocks in xpdev (yet?), hack together a crappy rwlock that does what we need.
-
Rob Swindell authored
-
Rob Swindell authored
Also, remove "CONSECUTIVE", which doesn't really make sense when the number of login attempts in 1.
-
Rob Swindell authored
There's a hidden checkbox on the CodeInputForm now (explaining why the edit/ combo box is now moved up).
-
Rob Swindell authored
-
- Dec 18, 2023
-
-
Rob Swindell authored
Renamed the "Perm Filter Threshold" to "Auto Filter Threshold". Changed help text from "Permanent" to "Persistent"
-
Rob Swindell authored
More readable/friendly log messages and ip.can reason strings
-
Rob Swindell authored
The number of failed login attempts. It's something.
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
Update wording and add more help text.
-
Rob Swindell authored
-
Rob Swindell authored
Now a sysop can "perm block" a client (IP address) for a limited amount of time rather than always forever. Add more displays of the ip.can details when actively blocking a client. Moved twit/trash functions from userdat.c to trash.c
-
Rob Swindell authored
For symmetry
-