- Apr 22, 2021
-
-
Rob Swindell authored
Increase total extended description length from 1024 to 4000 characters. Perhaps this should be configurable?
-
- Apr 21, 2021
-
-
Rob Swindell authored
Log an info-level message instead. Raise the log level severity of duplicate votes from Debug to Info too.
-
Rob Swindell authored
Extracting a file_id.diz would fail if the file contained any disallowed filenames before the DIZ, e.g.: Error: disallowed filename '_blockmen_res[v]olution.ans' (after extracting 0 items successfully)
-
- Apr 20, 2021
-
-
Deucе authored
This variable tracks the time that jsdoor was started.
-
- Apr 19, 2021
-
-
Rob Swindell authored
-
Rob Swindell authored
There was a bug with reloading the configuration files in sbbsctrl where the sound button no longer reflected the truth and the sysop's previous click-state of the button was lost. Rather than going through writing the OPT_MUTE flag to the Options fields of all the sections of the sbbs.ini and then re-loading that file as a result, just do like we did with the sysop chat availability: use a semfile. So much simpler. If anyone ever needs instance-specific muting, we can create/check instance/host-specific mute semfiles then. Doubt that'll happen though. Also, removed the old sysavail control methods of ntsvcs too.
-
Rob Swindell authored
For files with names > 64 chars.
-
- Apr 18, 2021
-
-
Rob Swindell authored
Or else it fails with the following base error: !smb_putmsghdr illegal header length increase: 70 (1 blocks, 0 hfields, 0 dfields) vs 0 (0 blocks)
-
Rob Swindell authored
-
Rob Swindell authored
Increment the version in the project file to v3.19a.
-
Rob Swindell authored
-
Rob Swindell authored
This would cause all relative file paths to fail after exporting settings to .ini file in another directory. Long time bug.
-
Rob Swindell authored
-
Rob Swindell authored
A "hack attempt" sound file is now supported in the Terminal Server, Mail Server, and Services. "login" and "logoff" sound files are now supported in the Terminal Server, FTP Server, Web Server, Mail Server, and Services. This enhancement fixes Issue #157 The following sound files may now be configured in the [Global] section of the ctrl/sbbs.ini file, if desired to set the default sound files for all servers/services in on place: - AnswerSound - LoginSound - LogoutSound - HangupSound - HackAttemptSound
-
- Apr 17, 2021
-
-
Rob Swindell authored
-
Rob Swindell authored
Set sbbs.ini [services] iniFileName to something other than services.ini to override the default filename. The automatic/optional hostname decoration of the filename is still supported. Addresses request #238.
-
Rob Swindell authored
for the user-to-user file transfer directory
-
Rob Swindell authored
-
Rob Swindell authored
This is still broken (errors when updating existing files) and is still planned for deprecation.
-
Rob Swindell authored
I forget who it was that said they were still using this feature in v3.18, but here you go, it's working again (the /D and /U commands). I'm not migrating any file sender/recipient info from v3.18, so only files added after upgrading to this will be downloadable from the "user" directory (if you have one). Something that I never implemented before but noticed is missing is the removal (or dereferencing) of user-to-user files that were sent from/to a user that is then deleted. So that's still a TODO item.
-
- Apr 16, 2021
-
-
Rob Swindell authored
Even though this is going to be removed / deprecated.
-
Rob Swindell authored
Reported by Daryl Stout (TBOLT)
-
- Apr 15, 2021
-
-
Rob Swindell authored
Addresses CID 319116 and 319090
-
- Apr 14, 2021
-
-
Rob Swindell authored
This started with a Coverity issue (CID 33230) which got me looking at this function and wondering: why is str2 being NUL-terminated here? Why is the length of str2 to be calculated on successive lines? What is with this (long)((long)((long)((long)) typecast? This was some of the oldest code in Synchronet (along with a lot of the other functions in this file). I tried to keep as much intact as possible while still improving the logic and readability.
-
Rob Swindell authored
Do nothing if online != ON_REMOTE. Eliminates some if(online == ON_REMOTE) clauses.
-
Rob Swindell authored
Some QWKnet vote messages are failing: evnt unpackREP <ENSEMBLE> !ERROR 2 (No such file or directory) in qwk.cpp line 1146 (qwk_vote) writing "/sbbs/data/subs/dove-gen" access=-105 info=smb_addvote thread_back field missing Catch this problem a little higher up (in votemsg()) and log the message's reply-IDs to help determine what's the root-cause here. Don't bother calling smb_addvote() if thread_back is 0.
-
- Apr 13, 2021
-
-
Deucе authored
If a callback deletes the one-shot event that invoked it, the event pointer in the caller would be to free()d memory with hilarious results.
-
Rob Swindell authored
CID 319108
-
Rob Swindell authored
CID 331092
-
Rob Swindell authored
-
- Apr 12, 2021
-
-
Rob Swindell authored
It's a wrapper for filedat.c -> format_filename() which can truncate and pad a filename for display purposes.
-
- Apr 08, 2021
-
-
Deucе authored
-
Deucе authored
Prevents weird issues with getting remote address.
-
Rob Swindell authored
When only reading the index (detail = file_detail_index), smb_getfile() just sets the file->name convenience pointer to point to the name in the index. Then when loadfiles() would sort the list, these pointers would not be adjusted (so they would point to the wrong names) resulting in a corrupted file list (e.g. name/size mismatches and no logical sort order). The solution is to call smb_getfile() on each file *after* the read index records have been sorted. This also means that the sort-by-name routines needed to always sort using the index name and not the convenience pointer (which is NULL in this case). While fixing this, I noticed there was no bounds checking in the loadfiles() and loadfilenames() read-loops, so if the indexes happened to be longer than the total_files value from the status header, a buffer under-alloc/overflow would occur and a likely crash as a result. So stop reading the index when the expected maximum number of index records have been read.
-
- Apr 07, 2021
-
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
Adds from/tags/desc/extdesc properties, even when absent or blank. When parsing a file object, set the from, desc, tags and cost properties only if they already have been set or the new values is non-blank/0.
-
Rob Swindell authored
-
Rob Swindell authored
So just always assume that no "user" directory has been configured. At least for now while I ponder whether this is a feature worth restoring and if so, how.
-