- 30 Dec, 2020 1 commit
-
-
Rob Swindell authored
Support optional limit on concurrent connections from the same IP address to the FTP server by setting MaxConcurrentConnections in the [ftp] section of sbbs.ini. Unlike the mail server and the terminal server, this concurrent-connection count is not discounted by the number of authenticated logins. The default value is 0 (unlimited). This closes issue #156
-
- 22 Dec, 2020 1 commit
-
-
Rob Swindell authored
The days of browsers rendering HTML served-up via FTP are over, so remove this feature. This also removes all JavaScript support from the FTP server and that is a bit odd as it was one of the first Synchronet components for which I added JS support. Removing this feature was pretty painless; much easier than adding it was. The main motivation was less cruft to port to the file base in the works. There should be no more references to 00index.html anywhere at this point. Bye bye cool feature, we'll miss you.
-
- 16 Aug, 2020 1 commit
-
-
Rob Swindell authored
-
- 22 Mar, 2019 1 commit
-
-
rswindell authored
Fix age-old bug with Borland/C++Builder built executables (Windows): to achieve compatibility with the default __cdecl symbol naming rules of Visual C++, we were using __stdcall convention for DLL functions when building code with Borland/C++Builder tools and using the default (__cdecl) convention when building with Microsoft (Visual C++) tools. Although this allowed symbols to be located when linking, the calling convention mismatch caused a stack cleanup issue that very rarely manifested itself in a bug (e.g. exception of some kind in sbbsctrl.exe, usually). Mismatching the calling conventions was unintentional (I thought the default for MSVC DLL functions was __stdcall) - but since the calls to MSVC-Built DLL functions worked 99% of the time, I didn't realize there was an underlying issue. So I now work-around the DLL symbol naming mismatch using a command-line option (-a) passed to implib in src/sbbs3/ctrl/makelibs.bat I had previously worked-around exceptions when calling MSVC DLL functions in sbbsctrl.exe by calling the problematic DLL functions from a timer tick handler rather than a user control (e.g. button) event handler. Those work-arounds can now be removed. The erroneous "DLLCALL" definition design pattern was replicated (copy/pasted) to many other projects' header files in cvs.synchro.net. In the future, we may want to just remove all instances of *CALL since they now serve no purpose and appear as useless "Kruft" (but do allow us to more-easily globally change DLL function calling conventions if/when necessary in the future).
-
- 28 Nov, 2016 1 commit
-
-
rswindell authored
-
- 18 May, 2016 1 commit
-
-
rswindell authored
By default, after 20 consecutive (unique) failed login attempts, *or* a failed login attempt wtih a name from the name.can filter file. The default temporary ban duration is 10 minutes. The temporary ban thershold is configurable via LoginAttemptTempBanThreshold in sbbs.ini and the ban duration is configurable via LoginAttemptTempBanDuration (in seconds).
-
- 22 Aug, 2015 3 commits
- 20 Aug, 2015 1 commit
-
-
deuce authored
New Features: - Multiple bindings for each service Use comma-separated interfaces on Interface= lines in the ini file. Default is now "0.0.0.0,::" - IPv6 support - TLS support for the webserver and (non-static) services New TLS option in services.ini (ie: Options=TLS) - Decrease LEN_SCAN_CMD to 35 chars, increase the CID field to 45 chars, and rename the MAIL_CMD string to IPADDR. I think this frees up the note field for SysOp use.
-
- 18 Aug, 2015 1 commit
-
-
rswindell authored
MinFileSize and MaxFileSize keys in the [ftp] section of the ctrl/sbbs.ini file these values default to 0 which effectively applies no min/max to uploaded files. Set MinFileSize to 11 to defeat the recent penetration testing seen uploading 10 byte files with random filenames (8 alpha cars ending in ".txt") with 8 alpha chars in the file, followed by a CRLF pair for a total size of 10 bytes. Fixed bug whereby failed/aborted uploaded files would be left (not deleted). Log errors when any file deletion fails in the FTP server.
-
- 20 Nov, 2014 1 commit
-
-
rswindell authored
clients, timeouts, etc.) into the various *srvr.h files and use them instead of hard-coded constants sprinkled through-out the .c files. If the web server "max_clients" key isn't specified in the sbbs.ini file, use 0 (unlimited) for the max_clients value.
-
- 01 Sep, 2011 1 commit
-
-
rswindell authored
The attempt list can be view with sbbscon->'a' command or sbbsctrl->view->Login Attempt List... Delay/throttle/hacklog/and auto-filter values/thresholds are now configurable in sbbs.ini.
-
- 25 Oct, 2009 1 commit
-
-
rswindell authored
error counting/logging/messages to be handled by front-end (e.g. control panel) regardless of log_level setting. Mail server now filters blocked-subjects before applying DNSBL tag. Received message header TO and FROM fields are no longer checked against the email.can file for SMTP-authenticated clients. SMTP MAIL FROM and RCTP TO addresses are no longer checked against the email.can file for SMTP-authenticated clients. Statistics are displayed in a more legible manner when the mail server is terminated. The msgs_received stats counter now includes blocked and ignored messages too.
-
- 04 Jun, 2008 1 commit
-
-
deuce authored
by properly const-ifying the appropriate functions and variables. Not yet tested on Win32
-
- 23 Feb, 2008 1 commit
-
-
rswindell authored
startup option - we will *always* use the local timezone. If the sysop wants to use GMT/UTC, they should configure their operating system accordingly.
-
- 15 Sep, 2006 1 commit
-
-
rswindell authored
instead of a bit-mask representing all the log levels to actually "see", use a single numeric (or nmemonic) level value (ERROR, WARNING, NOTICE, etc.) and less severe log levels (levels with a higher numeric value) will be filtered (e.g. not "seen" or logged). It's the basic syslog() concept.
-
- 10 May, 2006 1 commit
-
-
rswindell authored
(enabled by adding LOOKUP_PASV_IP to the "Options" value in the [ftp] section of your ctrl/sbbs.ini. This option tells the FTP server to perform a hostname lookup (on the BBS's hostname) to determine the correct/current public IP address to use in PASV responses. This is one more kludge to work around stupid NAT devices (consumer firewalls/routers).
-
- 07 May, 2005 1 commit
-
-
rswindell authored
(for broken firewall/NAT devices) and PASV port ranges (default is 1024-65535).
-
- 21 Apr, 2005 1 commit
-
-
rswindell authored
Created sbbs_read_js_settings() and sbbs_set_js_settings() to read and write all settings to/from .ini files in a modular fashion. This is a precursor to implementing support for JavaScriptThreadStack (limit) support for all JS-enabled servers and services (working around the ircd bug).
-
- 06 Nov, 2004 1 commit
-
-
rswindell authored
Added shutdown_now to startup structures, used for nice shutdowns (when server isn't in use) as opposed to terminate, which is immediate. shutdown semaphores files are only acted on when server not in use.
-
- 03 Nov, 2004 1 commit
-
-
deuce authored
by BindRetrycount and BindRetryDelay keys in the ini file. Will control the number of times/delay between attempted calls to bind() before the thread packs up and goes home.
-
- 28 Oct, 2004 1 commit
-
-
rswindell authored
STARTUP_INI_BITDESC_TABLES is #defined. These tables (even though declared "static") were being compiled for every .obj and linked (multiply) into each binary (possibly causing new segfaults in BSD builds?). Init field tables are similarly only defined if STARTUP_INIT_FIELD_TABLES is #defined.
-
- 27 Oct, 2004 2 commits
- 20 Oct, 2004 1 commit
-
-
rswindell authored
is used by sbbscon to re-load the relevent portion of the startup .ini file when a server is recycled, allowing dynamic changes to sbbs.ini.
-
- 26 Sep, 2004 1 commit
-
-
rswindell authored
-
- 15 Oct, 2003 1 commit
-
-
rswindell authored
of log entries reach the system (NT event) log.
-
- 11 Oct, 2003 1 commit
-
-
rswindell authored
function prototypes (currently using LOG_INFO level for all).
-
- 09 Oct, 2003 1 commit
-
-
rswindell authored
recycling without using semaphore files.
-
- 26 Sep, 2003 2 commits
-
-
rswindell authored
back to callback functions (e.g. lputs, thread_up, etc). This allows servers to share the same callback functions, eliminating many nearly-identical functions. This was able to shave quite a bit of redundant code from ntsvcs.c. This feature is not utilized in sbbs (sbbscon.c) or sbbsctrl (mainformunit.cpp).
-
deuce authored
If you are not running your BBS as root, update and recompile now. NOTE: Remember, RH9 users using the new threads - the default should use gmake THREADS_ACTUALLY_WORK=1
-
- 16 Sep, 2003 1 commit
-
-
rswindell authored
-
- 07 Jun, 2003 1 commit
-
-
rswindell authored
Added semaphore file check frequency (sem_chk_freq) element to all server startup structures (previously hard-coded to 2 seconds in most cases), defaults to 5 seconds. New SemFileCheckFrequency value in .ini file (both global and per-server).
-
- 23 Apr, 2003 1 commit
-
-
rswindell authored
-
- 31 Jul, 2002 1 commit
-
-
rswindell authored
operation).
-
- 20 Jul, 2002 1 commit
-
-
rswindell authored
-
- 25 Mar, 2002 1 commit
-
-
rswindell authored
per sbbs instance).
-
- 20 Mar, 2002 1 commit
-
-
rswindell authored
FreeBSD-tested seteuid(BOOL user) (set effective user-id) callback. Deuce's mod.
-
- 19 Mar, 2002 1 commit
-
-
rswindell authored
-