Skip to content
Snippets Groups Projects
Commit 3b8503d3 authored by rswindell's avatar rswindell
Browse files

Major update/additions... much more to add still.

parent 64f21511
No related branches found
No related tags found
No related merge requests found
......@@ -16,31 +16,156 @@
<li><a href=#unix>UNIX</a>
</ul>
<li><a href=#servers>Servers</a>
<li><a href=#scfg>SCFG</a>
<li><a href=#telnet>Telnet/RLogin</a>
<li><a href=#ftpsrvr>FTP Server</a>
<li><a href=#mailsrvr>Mail Server</a>
<li><a href=#services>Synchronet Services</a>
<li><a href=#javascript>JavaScript-Related Changes</a>
<ul>
<li><a href=#jsobjs>Object Model</a>
<li><a href=#jsexec>JSexec</a> (Brand New!)
</ul>
<li><a href=#sbbsecho>SBBSecho</a>
<li><a href=#misc>Miscellaneous</a>
</ul>
<h2><a name=win32>Win32-specific Changes</a></h2>
<ul>
<li>Switched from Win32 Mutex to xpdev pthread_mutex_t (which is implemented
using Win32 critical sections) - faster, lighter weight
<li>Doubled the size of the Telnet/RLogin I/O ring buffers from 10000 to 20000 bytes. This allows
for up to 10000 byte blocks from external programs with plenty of room for
telnet IAC, CRLF, or color-code expansion. Win32 named pipes, for example,
will send up to 8096 byte blocks (before CR to CRLF expansion).
Size of Win32 named pipes now specified (override 4K default).
Using WaitForSingle/MultipleObject now to detect terminated processes
(rather than looping on GetExitCodeProcess with sleep/yield).
Using WaitForMultipleObjects to immediately continue loop on remote input
(terminate 100ms wait) - experiments with local output_event (set by
sbbsexec.dll on writes) yielded no perceived performance improvement
(and named pipes, for example, would not benefit from such a mechanism).
</ul>
<h2><a name=unix>UNIX-specific Changes</a></h2>
<ul>
<li>New sysop monitor/control application for UNIX (src/sbbs3/umonitor)
<li>Several filename case-insensitivity fixes for Unix file systems
<li>Changed default DOSemu path on Linux to /usr/bin/dosemu.bin (per runderwo)
<li>Signals should work correctly in Linux (Finally!)
<li>Fix stack overflow in JS on FreeBSD - s3 shell now runs
<li>Installer: -f option now enables FTP-verbose (debug) mode (-v is already in use)<br>
-n option now disables FTP-download of distribution list
</ul>
<h2><a name=sbbsctrl>Synchronet Control Panel (Win32 GUI) Specific Changes</a></h2>
<ul>
<li>Configurable maximum log length (auto-truncation point)
<li>Client window: Now prompts operator before filtering IPs
<li>Client window: Changed popup menu option from "Close" to "Close Socket"
<li>MailServer configuration dialog:
Added AuthViaIpCheckBox which allows authentication (for relay) via POP3
or other protocol within the last 60 minutes (this was previously always
enabled if authenticated-relay was allowed, but now that we have real SMTP
AUTH support, this less-secure method is optional)
<li>Node window timer tick event now (again) locks node record before reading
(but using a non-blocking locking call) - does not report lock or read errors.
This is necessary due to the use of advisory locks on Unix nodes
<li>Configuration Wizard can now accurately query the primary DNS server
replaces old method (kludge) of shelling out and running "ipconfig /all"
<li>Configuration Wizard now automatically converts Windows timezone to SMB format on new install.
Supports non-standard timezones (as configured in SCFG
<li>Use single left click to restore from tray icon, double-click has some weird
problem where a click is sent to adjacent icons
<li>Spy form window now clears the terminal when it detects a form-feed character
(Ctrl-L)
<li>Spy terminal window now auto-wraps
<li>Added support for OutbufHighwaterMark and OutbufDrainTimeout "tweaking"
registry keys
<li>Created BBS->Preview menu item (to preview ANSI files)
<li>Lots of new "File->Edit and BBS->Edit" file menu items to easily edit, preview,
and compile various text files
<li>Sysop chat: Added use of utime() to insure NFS/smbfs compatibility with node/chat.dab
(shared-write) files.
New look (green on black, System font) simulates Telnet interface.
Ctrl-V (paste) and other unexpected control keys are now filtered
</ul>
<h2><a name=servers>All Servers</a></h2>
<ul>
<li>Silently-filtered IP address (using ip-silent.can) are truely silent now
(no sounds or log entries)
<li>New SemFileCheckFrequency value in .ini file (both global and per-server) (previously hard-coded to 2 seconds in most cases), defaults to 5 seconds
<li>New table-driven 16-bit CRC calcution function (much faster)
<li>Added support for new global TempDirectory key (used by BBS events thread
and FTP server)
<li>Added support for TCP_NODELAY socket option in ctrl/sockopts.cfg
<li>Backup functions now renames/copies filename.ext to filename.#.ext rather than
filename.ext.# (making the backup files easier to sort, copy, etc)
</ul>
<h2><a name=scfg>Synchronet Configuration Utility (SCFG)</a></h2>
<ul>
<li>Change name of "Sysop Chat Requirements" option to "Sysop Chat Override".
Hopefully this more clearly describes what this feature is used for
<li>Updated descriptions of file/byte ratio ARS keywords
<li>fcopy function (used by backup function) releases time-slices every 10 kbytes
<li>New System->Toggle Option: automatic toggle of daylight savings time bit in system
timezone value (for display purposes only)
<li>Bugfix: When importing a subs.txt into an existing message group (over existing subs
with the same internal codes), the original pointer index is maintained. This
fixes a problem with importing a subs.txt over existing sub-boards causing
duplicate pointer indexes when the BBS is re-initialized
</ul>
<h2><a name=telnet>Telnet/RLogin Server</a></h2>
<ul>
<li>Ringbuf lib now supports optional highwater semaphore (used to control output
block size average)
<br>Default OutputHighwaterMark value to 1024
<li>output_thread termination stats displays average block size in log
<li>Now clears the screen before executing an external editor (assumes fullscreen).
Solves problem with SyncEdit and Windows telnet.exe.
<li>Added option to disable events thread entirely (in sbbs.ini and sbbsctrl checkbox)
<li>No longer converts filenames to uppercase before adding to or retrieving from
file databases
<li>Bugfix: Threading while in reading messages in "find mode" didn't work
<li>Bugfix: JavaScript User class was using temporary scfg pointer which would be overwritten
by subsequent logins on other nodes. When the other nodes logged off, the
pointer was bad so a call to the User constructor would cause a segfault
<li>Fix for e-mail attachments uloaded with Unix rz: if attached file isn't found in upload dir, but is found in
temp dir, move it
<li>New 32-bit ports of ANS2MSG and MSG2ANS (to convert files to/from ANSI and Ctrl-A format),
now named ANS2ASC and ASC2ANS (to reduce new sysop confusion)
<li>ctrl/text.dat BulkUploadDescPrompt now displays file size in kilobytes rather than bytes
<li>TUSER @-code now displays accurate number of users (not included deleted/inactive slots)
<li>Upload events (testing files and extracting embedded descriptions) now run
with EX_OFFLINE mode bit set (don't care if user hung-up)
<li>Increased time-out (waiting for nodes) during exclusive events from 60 to 90
minutes, allowing clock to be adjusted 60 minutes (auto-DST) without issue
<li>Creates a log entry when time has been reduced due to upcoming event.
<li>ctrl/text.dat ReducedTime entry now may display the time the event will run
<li>Reintroduced EVENT @-code (date/time of pending exclusive event)
<li>IRC command (from default chat menu module) now prompts for server and channel (with new default value)
<li>LZH encode/decode routines are now thread-safe (no longer using global variables)
<li>Using message number instead of time to determine which e-mails should be
deleted after QWK-packing
<li>Improved Guru realism, particularly when in "local chat" with Guru: Guru won't
repeat himself/herself and waits for user to stop typing (including word wrap)
before responding
<li>Bugfix: DOSXTRN.RET is only used for non-native programs (run with DOSXTRN)
<li>Don't allow new user's alias to match anything already in the ctrl/alias.cfg
<li>Allow user to enter more than the maximum password length (currently 8 chars
when verifying the password, alerts user to >8 char password errors
<li>More descriptive error message if SHELL/COMSPEC environment variable can't be
found
<li>send_telnet_cmd() does nothing on an RLogin connection (RLogin clients do not
use or recognize telnet commands)
<li>Reduce the amount of disk I/O in privchat() loop - only check node.dab once
every second of inactivity
<li>Added use of utime() to insure NFS/smbfs compatibility with node/chat.dab
(shared-write) files
</ul>
<h2><a name=ftpsrvr>FTP Server</a></h2>
<ul>
......@@ -72,6 +197,8 @@ to security, credits, etc. immediately effective
<li>sockreadline() function terminates at sole LF (fix for broken TCP apps - e.g. some Perl mail script)
<li>Support for folded RFC822 header fields
<li>Support for SMTP authentication protocols: LOGIN (used by Outlook Express), CRAM-MD5, and PLAIN
<li>New "SMTP AUTH via IP" toggle option (defaults to OFF) - this
option must be enabled to allow POP-before-SMTP type authentication
<li>Support for POP3 APOP authentication
<li>POP3 server thread reads all msg indices and headers before reporting initial OK or ERR reponse after authentication
<li>Strip control chars from received SMTP commands - apparently some newer
......@@ -80,7 +207,7 @@ MAIL FROM address
<li>If an SMTP message is received for an address in the ctrl/spambait.cfg file,
the message is refused and the IP address of the sender is added to ctrl/spamblock.cfg for later auto-blocking of spammers
<li>An SMTP-authenticated client is automatically exempt from DNSBL-based mail
tagging, ignoring, or reporting "bad user".
tagging, ignoring, or reporting "bad user"
<br>(DNSBL-based "session refusal" occurs before SMTP authentication can take place)
<li>Added new option: DNSBL_CHKRECVHDRS which checks all of the Received:
from header IPs against the DNS blacklists.
......@@ -100,14 +227,108 @@ is currently locked (for packing)
<li>Upgraded JavaScript engine to JavaScript-C (SpiderMonkey) 1.5 RC 5a for improved relability
<li>Static global objects are now created as read-only: prevents inadvertent
reasignment by script author accidentally using object name as local variable
<li>Fixed (finally) JavaScript object initialization segfaults when the JS runtime
<li>Bugfix: (finally) JavaScript object initialization segfaults when the JS runtime
"max_bytes" value is insufficient for the number of configured items:
by defining dynamically created objects and arrays as properties of child
objects of the global object immediately after such objects are created,
they are "implicitly rooted", protecting them from (unexpected) garbage
collection. Now the initialization will simply fail with a nice "out of memory"
error. This was a long-standing bug that rarely occurred in the wild
<li>Bugfix: if a node record could not be unlocked, the JavaScript context
initialization could segfault while creating the system.node_list array.
<li>JavaScript context stack size is now configurable
<li>Using JS_NewNumberValue for full 32-bit integer support (bitfields mostly)
</ul>
<h2><a name=jsobjs>JavaScript Object Model</a></h2>
<ul>
<li>Added support for ROT13 text string translation (encode or decode) as global and File class methods
<li>Global method yield() method now accepts an optional boolean forced argument
(default is true), a non-forced yield will not lower the CPU utilization of a
busy loop, but will yield to tasks of equal or higher priority
<li>Global method load() now clears pending exceptions before compiling script and returns
bool (true if script compiled and executed without error). An error in the
loaded script no longer terminates the calling script
<li>Global strftime() now uses current time if not specified (without warning)
<li>New global mtehod: ctrl() to return an ASCII control character (as a string)
that represents the character string (or ASCII value) passed.
Example: ctrl('C') returns '\3'
<li>New global method: html_encode() which converts a passed buffer to HTML
escaped text (using standard HTML character entities) - optionally converting
IBM ex-ASCII chars too
<li>New global methods: file_copy() and file_backup()
<li>New global method: resolve_ip(), returns IP address (as string) of specified
hostname
<li>New global method: file_getname(), returns filename portion of path string
<li>New global method: file_utime() to set a file's last-accessed and
modification times to the specified times or the current time (if unspecified)
<li>New global method: html_decode()
<li>New global methods: word_wrap() and quote_msg()
<li>New global methods: base64_encode() and base64_decode()
<li>New global method: md5_calc(), returns base64 or hex-encoded MD5 digest of
specified string
<li>Renamed global methods: crc16(), crc32(), and chksum() to crc16_calc(),
crc32_calc(), and chksum_calc()
<li>New File properties: chksum, crc16, crc32, base64, md5_base64, and md5_hex
<li>New File property: uue, when set to true, read and write methods
automatically base64 encode and decode
<li>New File property: base64, when set to true, read and write methods
automatically uuencode and uudecode (respectively)
<li>New File property: yenc, to enable automatic yEnc encode/decode on read and
write calls
<li>File.error property now resolves to errno if file is not open
<li>File.read() now defaults to reading the entire file from the current file position
<li>New File property: network_byte_order, for reading-from/writing-to big-endian
binary files on little endian machines (e.g. PCs)
<li>A whole suite of File.iniGet methods - really nice stuff for using .ini based
config files for JS modules
<li>New method: system.exec() which can be used to execute any native system/shell
command from any JS-enabled system/service
<li>New methods: system.get_node_message() and system.get_telegram()
<li>New method: system.username() - returns name of specified user number
<li>system.stats.total_users property now reports only active user records
<li>New property: system.lastuser to get last user record number (number of user slots)
<li>system.secondstr() now returns null if no argument specified
<li>bbs.timeleft property is now an alias for time_left.
<li>New property: bbs.event_time
<li>Bugfix: bbs.smb_* properties (blank strings and wrong sub_num)
<li>New method: console.handle_ctrlkey()
<li>MsgBase.save_msg() method now support header and body args in either order.
The other MsgBase.get/put methods now return null/false correctly if no msg
id/offset/number was specified
<li>MsgBase.savemsg() function now does auto-threading (reply chaining) if the thread_orig
head field is initialized by the caller
<li>MsgBase.savemsg() will look-up the thread_orig (via reply_id) if unspecified
<li>MsgBase.savemsg() now supports LZH-compressed message bases
<li>MsgBase header object (in put_msg_hdr and save_msg methods) supports new properties: to_org, replyto_org, to_agent, from_agent, and
replyto_agent
<li>New method: MsgBase.get_msg_index() to retreive *just* a message's index record
(faster than retrieving a complete message header)
<li>MsgBase.last_error property is now officially renamed to MsgBase.error
(old name aliased for backwards compatibility)
<li>Bugfix: MsgBase.retry_time property was being set as boolean rather than int
<li>New MsgBase.retry_delay property (number of milliseconds between lock/read attempts
<li>Socket.last_error property is now officially renamed to MsgBase.error
(old name aliased for backwards compatibility)
<li>New Socket.is_writeable property (read-only), TRUE if/when the socket writeable
<li>msg_area, file_area, xtrN_area areas configured with non-blank access requirements will no longer be visible
to scripts with no user logged in (e.g. fingerservice.js)
<li>New msg_area.sub property that contains all the sub-boards the
user has access to in a single object (associative array)
<li>New file_area.dir property that contains all the file directories the
user has access to in a single object (associative array)
<li>New xtrn_area.prog object containing all external programs as properties
(associative array)
<li>Socket.recvline() method terminates at first linefeed even if its the first character of
the string (for broken TCP apps that send LF-terminted lines)
<li>Socket.connect() method now supports an optional timeout value parameter (in seconds)
default is 10 seconds
</ul>
<h2><a name=jsexec>JSexec</a></h2>
......@@ -120,6 +341,31 @@ error. This was a long-standing bug that rarely occurred in the wild
</ul>
<h2><a name=sbbsecho>SBBSecho (FidoNet NetMail/EchoMail Program)</a></h2>
<ul>
<li>Added "Truncate Bundles" toggle option in ECHOCFG, adds TFS instead of KFS flag to
bundle attachment netmail messages
<li>Now adds 2+ packet data to packed netmail packets (for FLO mailers) - needed
for proper point operation
<li>Added NOCHECKPATH option (to .cfg file and ECHOCFG) to optionally disable circular
path detection
<li>If all uplinks are removed via areafix, free's uplink list and doesn't try to
realloc it
</ul>
<h2><a name=misc>Miscellaneous</a></h2>
<ul>
<li>FIXSMB overhaul (v2.0): no-longer re-numbers message base by default.
Instead, the index is sorted to guarantee message numbers are indexed
sequentially. The message base may still be re-numbered using the -renumber
command-line option (not recommended).
The /m command-line option has been removed since the SMB_EMAIL status bit has
been supported for many years now
<li>Baja v2.33: Changed command-line options to use -opt instead of /opt (for better
Unix compatibility)
<br>Added support for -p, pause-on-error command-line option
<li>ADDFILES now uses chk_ar() from userdat.c to select the correct file extractor
based on the platform ARS (e.g. pkunzip for DOS/Win32 and unzip for Unix)
</ul>
<p align="right"><font face="Arial" size="1" , "Helvetica">Copyright 2003 Rob
Swindell <br>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment