- Oct 24, 2020
-
-
Rob Swindell authored
Created a function to condense all white-space in a string to single space-characters (e.g. Yoda).
-
- Oct 23, 2020
-
-
Rob Swindell authored
-
Rob Swindell authored
Like the Terminal Server, don't count authenticated connections against the MaxConcurrentConnections limit. Only authenticated users with passwords (not Guest) count as authenticated connections.
-
Rob Swindell authored
When enforcing the MaxConcurrentConnections limit, don't count connections for user's with blank passwords (i.e. Guest) as authenticated.
-
Rob Swindell authored
This message can be logged when a sysop is prompted for the system password and enters it incorrectly or just disconnects. So lower the log level to DEBUG. And include the IP address that we searched for too.
-
Rob Swindell authored
-
Rob Swindell authored
This might not be so great for IPv6 connections (let me know). Also, use macro for the maximum received SMTP bad command magic number. Fix-up the sender and recipient info included in log messages in the sendmail thread too. Bumped rev to 1.735.
-
Rob Swindell authored
Weird that no mail server has ever complained; I guess they're all prettty "liberal in what they accept". Also, eliminated an unnecessary strcpy() call.
-
- Oct 22, 2020
-
-
Rob Swindell authored
-
Rob Swindell authored
The Linux lock() implementation in xpdev/filewrap.c requires that _FILE_OFFSET_BITS is set to 64 or else OFD (sane) locks are not used on Linux, defaulting back to the crazy per-process file region locking of Linux of old. This was done in this commit: http://cvs.synchro.net/commitlog.ssjs?99999#39639 because: https://patchwork.kernel.org/patch/9289177/ but on 64-bit Linux, large file support is assumed and you don't actually need to define _FILE_OFFFSET_BITS, we're peforming this check for 32-bit Linuxes. Perhaps a check to see if sizeof(off_t) == 8 would have been better. However, this change enables OFD Locks for *all* flavors of Linux (not just 64-bit) - so that's better. Why do we care? Because using region locks on the same file in a multi-threaded program doesn't really work right on Linux without using OFD Locks. I saw this problem with receiving multiple simultaneous emails in the mailserver and getting smb_locksmbhdr() errors/failures when trying to save the message data or headers of the one or more messages every time GitLab would send email out to those whoe have opted-in to received email notifications upon gitlab.synchro.net activity.
-
Rob Swindell authored
Option for bullshit bulletins to have it display only new bulletins at logon,... See merge request sbbs/sbbs!12
-
Option for bullshit bulletins to have it display only new bulletins at logon, but show all at other times (from external program menu)
-
Rob Swindell authored
And separate the saved/imported message text into body and tail (separate SMB msg data fields) automatically to exclude signatures from quoted text. As requested by Tracker1.
-
Rob Swindell authored
This allows a .sig file to contain "\n-- \n", the "standard" USENET signature delimiter, as requested by Tracker1.
-
Rob Swindell authored
-
Rob Swindell authored
-
- Oct 21, 2020
-
-
Rob Swindell authored
Fix typo See merge request sbbs/sbbs!14
-
Kayz authored
-
Rob Swindell authored
-
Rob Swindell authored
Removed the yield line interval (this is a questionable setting anyway). Also, made the unlimited max-connections display as "N/A" (instead of "0") in the Terminal Server config dialog.
-
Rob Swindell authored
Cleans both debug and release build dirs.
-
Rob Swindell authored
-
Rob Swindell authored
The mail (SMTP) server is a popular target of bots. Impose a maximum-concurrent-connections limit (optionally). Similar to the terminal server option, except, don't deduct the number of authenticated connections (I can add something like that if desired). The new config option is [mail] MaxConcurrentConnections in the ctrl/sbbs.ini (defaults to 0, no maximum). Fixed error responses in mail_server accept loop: was always sending POP3 error responses even if the connection was SMTP. Cleaned-up the service/port checking/logging in the mail_server accept loop: no strcmp() needed, log the protocol name (e.g. "SMTPS") instead of the service name (e.g. "submissions").
-
echicken authored
-
Rob Swindell authored
-
echicken authored
-
Rob Swindell authored
Also, if getuserdat() fails, don't count that as a failed login attempt. Also, track username and password of failed-login attempts of deleted or inactive user accounts.
-
Rob Swindell authored
When loginFailure() is called with NULL for the password argument, that indicates there was no password available (e.g. an aborted login attempt) - treat each of these as a unique (not duplicate) failed-login attempt. This'll trigger ban/filter thresholds sooner for clients that hammer servers and disconnect mid-login.
-
- Oct 20, 2020
-
-
echicken authored
fix menu keys showing as text on mobile See merge request sbbs/sbbs!13
-
Michael Long authored
-
- Oct 17, 2020
-
-
Rob Swindell authored
Fix lbshell crashing if no available items in an external menu. Also fix not... See merge request sbbs/sbbs!10
-
Michael Long authored
Fix lbshell crashing if no available items in an external menu. Also fix not honoring the "pause after execution" setting on an external program.
-
Rob Swindell authored
-
Rob Swindell authored
At least on Windows, when realloc() is used to allocate a new buffer, guess what's in that buffer initially? undefined values. So you can't strcat() onto the end of that! Ouch. This was a fun one to track down.
-
- Oct 16, 2020
-
-
Michael Long authored
-
Rob Swindell authored
-
Michael Long authored
-
Michael Long authored
-
Rob Swindell authored
-