Short: AmigaOS FTN mailer (no ixemul/ixnet) Author: Gary "Spitfire" McCulloch (Amiga port); binkd by Dima Maloff and the binkd project Uploader: spitfiretn gmail com Type: comm/fido Version: 10.36 Requires: bsdsocket.library (Roadshow/AmiTCP/Amiberry bsdsocket_emu), any FTN-aware Amiga BBS engine (developed against C-Net/5 Amiga Pro). IPv4 only -- see readme.txt Architecture: m68k-amigaos Distribution: Aminet Kurz: Nativer AmigaOS FTN-Mailer (binkd-Port, ohne ixemul/ixnet) AMIBINKD Native AmigaOS 3.x port of binkd, the FTN mailer =============================================================================== DESCRIPTION =============================================================================== AmiBinkD is a native AmigaOS 3.x build of binkd, the FidoNet Technology Network (FTN) mailer, used to send and receive FTN echomail/netmail packets over TCP/IP using the BinkP protocol. Unlike every prior Amiga build of binkd, this one does not require ixemul.library or ixnet.library. It talks to bsdsocket.library directly, and every place the historical Amiga port depended on ixemul's vfork()- based process model has been replaced with a native AmigaOS equivalent: each BinkP session (inbound or outbound) runs as its own real AmigaOS process, spawned via CreateNewProcTags() -- genuine concurrent sessions, not one session at a time. This is a from-scratch reconstruction, not a recompile of the old ixemul Amiga port. It was built by tracing every ixemul/ixnet dependency in upstream binkd's own historical Amiga support and replacing each one with a direct AmigaOS/bsdsocket.library equivalent, then hardening the result against several real behavioral differences between Amiberry's bsdsocket_emu and genuine Roadshow/BSD sockets that only showed up under live testing, not at compile time. See manual.txt section 15 for the full list, if you're maintaining this on a different TCP/IP stack. If you carry several FTN networks, one config file and one command line cover all of them: AmiBinkD:AmiBinkD -p -PALL AmiBinkD:AmiBinkD.cfg "-P ALL" polls every node listed in the config, instead of naming each uplink with its own -P switch or keeping a separate config and script per network. See manual.txt section 07. For full installation notes, configuration reference, known real-hardware findings, and version history, see manual.txt. FILES INCLUDED =============================================================================== AmiBinkD Compiled AmigaOS executable (m68k, AmigaOS 3.0+) AmiBinkD.info Workbench icon (colour image needs AmigaOS 3.5+) readme.txt Quick overview and install notes manual.txt Full SysOp documentation AmiBinkD-example.cfg Example configuration file AmiBinkD.scr Example AmigaDOS poll-all driver script COPYING The GNU General Public License, version 2 Copy AmiBinkD-example.cfg to a name of your choosing (e.g. AmiBinkD.cfg, or one file per network -- see manual.txt section 07) and edit it for your system before running. AmiBinkD.scr is a ready-to-edit "-P ALL" poll script -- point it at your config name and schedule it from your BBS's event system. REQUIREMENTS =============================================================================== * Commodore Amiga or compatible/emulated Amiga system, AmigaOS 3.0+ (m68k) * bsdsocket.library -- Roadshow, AmiTCP, or (as tested) Amiberry's bsdsocket_emu * An FTN-aware BBS engine or tosser to hand packets to/from (built and tested against C-Net/5 Amiga Pro, but AmiBinkD itself only reads/writes standard FTN packet and outbound-flow files -- it doesn't call into C-Net/5 directly) * At least one FTN address and an uplink/hub willing to carry your mail AmiBinkD is a standalone compiled executable. It has no ixemul.library or ixnet.library dependency of any kind -- confirmed via string search on the built binary. IPV4 AND IPV6 =============================================================================== AmiBinkD is IPv4-only, and this is a limit of AmigaOS itself rather than a missing build option. The AmigaOS TCP/IP API has no IPv6 in it. Roadshow's sys/socket.h -- the official AmigaOS 3.2 networking headers -- defines 26 address families, ending at AF_SIP 24 / AF_MAX 26. There is no AF_INET6, no sockaddr_in6, no in6_addr and no IPPROTO_IPV6 anywhere in the netinclude tree. That is a pre-IPv6 BSD snapshot, and bsdsocket.library has no v6 protocol behind it. AmiTCP and Miami are IPv4-only as well, and Amiberry's bsdsocket_emu adds nothing here either. So every IPv6 branch inside binkd's own sources compiles out on this platform. Upstream binkd speaks IPv6 on PC because the host stack hands it AF_INET6 sockets; the Amiga has none to hand over. Defining the constants by hand would not help -- socket() would simply return EAFNOSUPPORT. If you need IPv6 callers to reach your board, put a small v6-to-v4 relay in front of the BinkP port. On a Linux host running Amiberry, one socat process is enough: socat TCP6-LISTEN:24554,ipv6only=1,fork,reuseaddr TCP4:127.0.0.1:24554 Verified working: an IPv6 caller completes the full BinkP greeting and session through it. One thing to know before you rely on it. The relay is what connects to AmiBinkD, so the log records every IPv6 caller as coming from 127.0.0.1 -- the real address is not recoverable from AmiBinkD's own log. Two points follow. First, do not use address-based node restrictions on a port reached this way; BinkP's CRAM-MD5 password authentication is unaffected and remains your real access control. Second, run the relay with logging turned on so the peer address is recorded somewhere -- socat's -d -d writes it at NOTICE level, which under systemd lands in the journal. CONCURRENCY =============================================================================== Classic AmigaOS has no fork()/pthreads without ixemul, but it does have CreateNewProcTags() (dos.library) -- the native primitive this port uses to spawn each BinkP session as its own real process. An inbound connection arriving while an outbound poll is already in flight, or several networks polled back-to-back, no longer have to wait their turn. See manual.txt section 05 for the full technical writeup of how this works and what it took to get right on classic AmigaOS specifically. QUICK INSTALL =============================================================================== 1. Copy the AmiBinkD folder to your BBS mail directory. Example: Mail:AmiBinkD/AmiBinkD 2. Copy AmiBinkD-example.cfg to AmiBinkD.cfg (or a per-network name -- see manual.txt section 07) and edit it: your domain(s), your FTN address(es), sysname/location/sysop, log path, inbound directories, and your node/hub line(s) with the real host, port, and password. 3. Create the directories your config references if they don't already exist: the outbound directory named in each "domain" line, the inbound/temp-inbound directories, and the log directory. 4. Test an outbound poll manually first, from a Shell: AmiBinkD:AmiBinkD -p -P
AmiBinkD:AmiBinkD.cfg Once that works, "-P ALL" in place of "-P" polls every node in the config in one go. 5. Review the log, then set up your regular polling schedule and/or inbound server (see manual.txt sections 09-10). BASIC MAIL FLOW =============================================================================== 1. AmiBinkD polls (outbound) or accepts a connection (inbound), performs the BinkP handshake, and exchanges queued files/packets over TCP. 2. Received .pkt files land in your configured inbound directory. 3. Your tosser (e.g. C-Net/5's Toss) processes them into your message bases. 4. Outbound mail queued by your BBS/tosser into the domain's outbound directory gets picked up and sent on the next poll. COMPANION TOOL =============================================================================== AmiBinkD moves the mail. It does not process TIC files -- the file-echo announcements that arrive alongside your packets. RoFTIC handles that half: TIC processing, nodelist detection and installation, archived-nodelist extraction, and a TrapList run when a nodelist actually changed. It is a separate program with its own release cycle, on Aminet as RoFTICv3_2c.lha. Be aware of its scope: RoFTIC is written around C-Net/5's file base, and its file-area destinations map into that layout. Every path is a config keyword, so pointing it elsewhere is a matter of editing roftic.cfg -- but it has only been run in anger against C-Net/5, and the documentation is written from that angle. If you run another BBS, treat it as a starting point rather than a drop-in. Neither tool requires the other. AmiBinkD works with any tosser and any TIC processor; RoFTIC works with whatever mailer put the files there. =============================================================================== KNOWN ISSUES =============================================================================== Very rarely, a write intended for one file can still appear in another. The cause is in the C library: its file-descriptor table is a shared global with no locking anywhere in its file layer, and this port runs sessions as separate Processes in one address space, so two opening files at once can be handed the same slot. **v10.33 removes the log from that path entirely** -- it was the heaviest user by far, one open and one close per line -- and 4,133 lines across two days with outbound traffic showed none of the corruption that was previously running at about 0.2%. What remains is the lock-file writer and the file-transfer paths, which still use the library's descriptors. Those operate at a small fraction of the frequency, and v10.32's bound on the stale-lock loop means the worst consequence -- a poll spinning and stopping outbound mail -- cannot recur. Only ever observed under emulation. =============================================================================== VERSION HISTORY =============================================================================== v10.35 - Polls That Do Not Stall -------------------------------- * A poll could stop dead partway through a session and stay stopped for anything from ten minutes to two hours, ending only when the node at the far end gave up waiting. The process stayed alive throughout and the log simply went quiet, so nothing in it pointed at a cause. On C-Net/5 this was worse than a lost poll. C-Net runs its polls from the event scheduler, so a session that will not finish holds the scheduler with it: on 30 August a stalled 13:30 poll took the local console login down too, and the machine had to be restarted to get it back. The cause was the mailer doing housekeeping on its own lock. Partway through every handshake it scans the outbound queue, and that scan tidies away stale .bsy and .csy lock files. The locks it examines are those of the node at the other end of the call -- which, during a live session, is exactly the node whose lock this session created when it dialled. It was finding its own lock, judging it old, and going to the filesystem to deal with it while the session sat on an unread socket. The giveaway was that stall length tracked the kill_old_bsy setting precisely: about two hours while that was set to 2h, then about fifteen minutes three times running once it was lowered to 15m. A lock a live session holds is by definition not stale, so there is nothing there to clean up. It is now skipped without touching the filesystem at all. Measured before the fix: nine stalls in 243 scans over three days. After it, across five days of live polling, thirty-six polls began and thirty-six ended. * Nothing to configure. kill_old_bsy keeps whatever value you have given it, and now applies only to locks no running session owns -- which is what it was always meant to mean. v10.34 - Says Who And What It Runs On ------------------------------------- * The VER string sent to every node now follows the convention the rest of the network uses -- mailer, version, operating system, then protocol: AmiBinkD/10.34/Amiga binkp/1.1 Compare what arrives here from other systems: binkd/1.1a-115/Linux binkp/1.1 Mystic/1.12A49 binkp/1.0 Through v10.33 this was sent as "AmiBinkD v10.33-binkp/1.1", which named no operating system, used a space where the convention uses a slash, and attached the protocol token with a hyphen instead of a space. binkd's own parser searches for "binkp/" and so was never troubled by it, but a stricter one could read "v10.33-binkp/1.1" as a single token, and nothing told the remote SysOp what the mailer was running on. Every other mailer reports its platform; there is no reason an Amiga should be the one that stays quiet about it. * The version number now has one definition in the source instead of two. v10.33 collapsed three hardcoded copies into one and this splits that cleanly into the bare number the VER string wants and the v-prefixed form the log lines use, both derived from the same constant. Version drift of this kind is what left the VER string reporting v10.19 for fourteen releases. * The time zone announced to peers is now read from AmigaOS instead of guessed. Every mailer sends its local time and UTC offset during the handshake; through v10.33 AmiBinkD sent the right wall-clock time with the offset "+0000" attached, telling every node it polled that it sat on the Greenwich meridian no matter where in the world it actually was. binkd normally works the offset out by comparing gmtime() against localtime(). That cannot work on this platform: AmigaOS has no TZ database, and the C runtime's localtime() is gmtime(t - __timezone) with __timezone never set, so the two agree exactly and the difference comes out as zero. AmiBinkD now asks locale.library, which is where AmigaOS actually keeps the answer -- the zone you pick in Prefs/Locale, the same setting every other localised program reads. Nothing to configure in AmiBinkD.cfg and it is correct in any country. IF YOUR OFFSET STILL SHOWS +0000: open Prefs/Locale, set your time zone, and Save. An Amiga that has never had Locale prefs saved reports a GMT offset of zero, and AmiBinkD cannot tell that apart from a system genuinely running on GMT. Setting it once fixes it permanently. DAYLIGHT SAVING IS MANUAL. AmigaOS has no concept of it anywhere -- loc_Flags is documented "always 0 for now" and the locale autodocs never mention it. Locale prefs holds one fixed offset, and the zone entries are STANDARD time. So if you are in a region that observes summer time, the offset AmiBinkD reports is an hour off for half the year unless you change it. Worked example. Prefs/Locale set to Eastern stores a GMT offset of 300, so AmiBinkD announces -0500. That is correct in winter and an hour out from mid-March to early November, when the same clock is really -0400. Two ways to handle it, both needing a change twice a year: - pick the zone entry one hour off during summer time, or - set "tzoff" in your config, which overrides Locale entirely: "tzoff -4h" for US Eastern summer time, "tzoff -5h" for winter. The second is usually tidier, since it leaves the system-wide Locale setting alone for every other program on the machine. This is a property of the operating system, not of AmiBinkD -- no Amiga program can do better without a timezone database the OS does not have. * Documented that AmiBinkD is IPv4-only, why that is a property of AmigaOS rather than of this port, and how to put a v6-to-v4 relay in front of the BinkP port if you need IPv6 callers to reach you. See the IPV4 AND IPV6 section in this file. No code change -- the behaviour was always this, it simply was not written down, and a SysOp testing IPv6 had no way to tell a platform limit from a bug. v10.33 - Writes No Longer Land In The Wrong File ----------------------------------------------- * Rarely, a write meant for one file appeared in another: log text inside a .bsy lock file, or a fragment in the log with no timestamp. v10.32 shipped with this documented as a known issue. The cause is now found, and the worst of it is fixed. It is in the C library, not in this port's logic. Every file descriptor comes from libnix's ___allocfd, which scans a shared global table and grows it with realloc(), reassigning the global pointer. Disassembly of that layer -- open, close, write, read, lseek, fopen, fwrite -- shows ZERO locking calls: no Forbid/Permit, no semaphore, nothing atomic. This port runs each session as a separate Process sharing ONE address space, so they all share that table. Two Processes opening files at the same moment can be handed the same slot, and the loser's descriptor then refers to the winner's file. Log() was that layer's heaviest user by a wide margin -- one open and one close for EVERY line. It now writes through dos.library directly (Open/Seek/Write/Close on a BPTR) and never touches the descriptor table, so the log can no longer corrupt another file or be corrupted by one. Measured: 4,133 log lines across two days with outbound transfers, zero corrupted lines. Before the change the rate was ~0.2%, which would predict eight or nine. NOT a complete fix -- the lock-file writer and the transfer paths still use the library's descriptors and can still collide with each other. Those are far lower frequency. See KNOWN ISSUES. * THE VERSION YOUR PEERS SAW WAS WRONG BY FOURTEEN RELEASES. The name and version were hardcoded in three separate places -- the BEGIN line, the END line, and the VER string sent to every node polled. VER still read "AmiBinkd v10.19" while the binary was v10.33, so every node you polled since v10.19 recorded the wrong version, including under v10.32. There is now one definition used by all three, so they cannot drift apart again. * The name is normalised to AmiBinkD throughout -- program strings, shipped filenames, configuration and documentation. v10.32 - A Bad Address Can No Longer Spin Forever ------------------------------------------------ * A poll process span inside the stale-lock cleanup from 12:00 until a restart at 18:52 -- 2.2 million log lines, 181MB, and no outbound mail for 6 hours 52 minutes. Inbound sessions carried on normally throughout, which is exactly why nothing looked broken. It looped on "80:774/999@amiganet": the wrong domain for that zone, a node number that does not exist, and a matching lock file on disk. The address came from corruption -- a sibling lock file was found holding a fragment of a LOG LINE where its contents should have been. The cleanup has two safety mechanisms, a backoff hold and a give-up counter, and BOTH are stored on the node record. An address that matches no configured node has no record, so both were skipped -- the protections switched themselves off precisely when the input was garbage. An unknown address now gets one unlink attempt and is then left alone. A stale lock for a node you do not carry is harmless; nothing polls it. This BOUNDS the damage. It does not fix the corruption that produced the bad address -- see KNOWN ISSUES. v10.31 - A Log You Can Read Without Editing It --------------------------------------------- * At loglevel 4 a single received file cost three lines and one OPT exchange cost seven: - receiving 86be1d03.pkt (2249 byte(s), off 0) + 86be1d03.pkt -> DH3:Echomail/Inbound/86be1d03.pkt + rcvd: 86be1d03.pkt (2249, 2249.00 CPS) Measured over one night, the remote's greeting block alone (OPT, ZYZ, LOC, NDL, TIME, VER, BUILD, TRF, QSIZE) was 22% of the log -- all of it emitted by one Log() call in the M_NUL handler. Level 4 is now meant to be read as-is: one line per connection, one per file, one per result, plus the remote's SYS name and FTN addresses. The detail moved to level 5 and above, where raising loglevel brings it back. A 139-line poll window became 54. * Removed AmiBinkD's own "handoff:" debug lines from normal view (now level 7). Those trace the AmigaOS ReleaseSocket/ObtainSocket dance used to pass a socket to a child process. Upstream binkd forks and inherits the descriptor, so it has no equivalent message -- this port had been printing its own internals, including pointers and file descriptor numbers, into every sysop's log since v10.17. * The benign .bsy unlink race is now level 5. It is a race between processes, not a fault, and nothing accumulates on disk -- but at level 4 it produced dozens of "could not remove own lock ... Permission denied" lines a night, which reads like a broken install. * Because level 4 no longer needs trimming, the "nolog" masks are gone from the example config. "nolog" is unchanged and still documented (manual section 06) for masking a message once you have RAISED loglevel. * Protocol and behaviour are untouched. Every change was a log level. v10.30 - One Line Per Inbound Connection ---------------------------------------- * An inbound connection was announced twice, by two different processes: incoming from 72.58.128.97 (60539) Incoming: 72.58.128.97 The first is kept and renamed -- it carries the port, which the second did not -- and the second is now outbound-only. Outbound output is unchanged. One consequence worth knowing: inbound peers are shown by IP rather than reverse-DNS name, because the accepting code resolves numerically on purpose. The session logs the remote's own SYS/ZYZ/LOC identity moments later, so the peer is not anonymous. v10.26 to v10.29 - Session IDs and a Quieter Lock Race ------------------------------------------------------ * Every session logged the same id, so concurrent sessions could not be told apart in the log. Each session now logs its own AmigaOS task id. This is the shared-address-space trap that runs through this port: sessions are separate Processes but share ONE address space, so a file-scope static is shared by all of them. (v10.27 promptly reintroduced the same bug in a diagnostic and v10.29 removed it again.) * Failing to remove our own .bsy lock is no longer reported as a fault when another process got there first -- that is the job done, not an error. v10.25 - Log Lines Stop Being Shredded -------------------------------------- * Log lines were being torn apart mid-write when two AmiBinkD instances ran at once. A real example: + 18 Aug 21:07:52 [1081963032] pwd protected session (MD5) nux/64 <- fragment of "Linux/64" 115 <- fragment of "binkd/1.1a-115" Log() already took a lock, but a PRIVATE one. Upstream binkd is a single process with threads, so a private semaphore covers every writer it has. This port runs the inbound server and each poll as separate program invocations, so two or three instances write the same file with no lock between them. Log() now uses an Exec PUBLIC semaphore ("AmiBinkD.log"), which is the AmigaOS mechanism for locking across separate programs. NOTE: the fix only holds once EVERY instance is running v10.25. Replacing the binary is not enough on its own -- the long-running inbound server keeps the old code until AmigaOS restarts it, and a v10.24 server will still interleave with a v10.25 poll. * Removed the "servmgr listen on *:24554" line. The port is already in the config, and the line cost width without adding anything. * The startup banner now credits the port alongside the original author. v10.24 - Outbound Mail Actually Leaves The System ------------------------------------------------- * THE BIG ONE: no outbound mail had ever left this port. Every bundle went out at 0 bytes while a perfectly good ZIP sat on disk holding the packet. Nothing logged an error, because no layer had one -- the tosser packed correctly, and AmiBinkD sent exactly the number of bytes it was told the file contained. The cause is in the C library, not in binkd. libnix13's fstat() always reports st_size == 0: it seeks to the start of the file and then measures with SEEK_CUR, which can only ever return zero. It should use SEEK_END. fstat() SUCCEEDS while doing this, so every caller receives a valid-looking struct describing an empty file. protocol.c does fopen + fstat + use st_size, exactly as upstream binkd does on every other platform. amiga/fstat.c now overrides fstat() to re-measure with SEEK_END and restore the caller's file position. If you run any Amiga software built with -mcrt=nix13 that depends on file sizes, this bug affects it too. * Socket errors now name their real cause. bsdsocket.library never wrote to errno because SBTC_ERRNOPTR was never set, yet binkd reads socket errors as strerror(errno) on AmigaOS -- so every socket error printed a stale value left by some unrelated call, usually "Permission denied" from a failed .bsy unlink. You will now see "Connection reset by peer" and "Broken pipe" where the log used to blame permissions. * AmigaOS "Please insert volume ..." requesters no longer freeze the mailer. pr_WindowPtr is set to -1 so DOS errors return to the caller instead of waiting for a human to click Cancel. * Poll times dropped from ~14s to 3-5s. Removing one of our own lock files used a 4-second blocking delete; it is now ten bounded retries totalling about 400ms, and stale-lock cleanup makes a single non-blocking attempt. * libnix stdio's global file list is now guarded by a semaphore. Sessions are real concurrent AmigaOS Processes sharing one address space, and libnix's stdio has no locking of its own. v10.18 - Inbound Sessions Stop Hanging, Readable Session Log ----------------------------------------------------------- * The session log was rewritten to be readable on an 80-column screen -- a blank line between sessions, an explicit END marker, and shorter messages. "BEGIN" alone went from 120 columns to 68; it had been the only line in a poll that wrapped twice. Lines over 80 per poll dropped from nine to four. Everything else is done from configuration, not code. "loglevel" controls detail. Level 4 is the default and is meant to be read as-is: one line per connection, one per file transferred, one per result, with the remote's SYS name and FTN addresses. Raise it to 5 or higher for the full protocol conversation -- the remote's greeting block, mode negotiation, per-file bookkeeping and socket handoff all live there. Because level 4 is already trimmed, the "nolog" masks that earlier versions needed are gone from the sample config. "nolog" is still supported and documented in manual section 06, for masking a specific message once you have raised loglevel. It takes ONE MASK PER WORD: a mask written with spaces is split, and a stray bare "*" among the pieces silences the log completely. * AmiBinkD no longer identifies itself as part of any BBS package. The VER string sent to every node you poll is now "AmiBinkD v10.18-binkp/1.1", matching the form other mailers use. It previously named a specific BBS, which was wrong for a general AmigaOS mailer. * Upgrade from v10.15, which is the previous public release. v10.16 and v10.17 were never released -- they are listed further down because they explain the version jump and because the AmigaOS problems they uncovered are worth passing on to anyone else porting to this platform. Nothing shipped between v10.15 and this release. * The root cause, after three releases of narrowing it down, was setting a file's datestamp. On AmigaOS that is SetFileDate(), and when another Process holds the file it does not return an error -- it never returns. No timeout bounds it, nothing watches the session, so the session is gone: it keeps its server slot, socket and .bsy locks forever. Enough of those and the server hits "maxservers" and refuses all inbound. It only bites when something else is touching the same directories. On the author's system that is C-Net/5's own overnight file-catalog jobs, which is why it looked like a night-time-only fault: 66 of 66 inbound commits succeeded during the day, and 7 of 7 hung after 21:00. One of those hangs landed inside a poll client, so the BBS event that launched it never finished and outbound mail was dead for seventeen hours. * Fix: new "set-file-dates" setting, defaulting OFF on this port (see the manual, section 06). Every other binkd platform defaults it on; this is the one place AmiBinkD deliberately differs. What you give up is cosmetic -- received files carry their arrival time rather than the sender's timestamp. Nothing in BinkP, tossing or duplicate detection depends on it. Turn it on only if you are certain nothing else touches your inbound/outbound directories while the mailer runs. * Verified over an 18-hour run spanning the overnight window that broke the previous release: 89 inbound sessions started, 89 closed, nothing leaked, 351 file commits, concurrent-session count peaking at 5 and returning to zero between polls, and all 59 scheduled BBS mail events completing. For comparison, v10.16 saturated in 13 hours and v10.17 had leaked 55 sessions by 26 hours. * Also fixed: "unknown domain" errors and silently-skipped polls. Not a bug you could have hit -- it existed only in an unreleased build -- but the cause is worth passing on, because the build system, not the code, was at fault. Object files did not depend on headers, so changing a shared struct rebuilt only some of the program and left the rest reading the old field offsets. The binary linked, ran, and quietly stopped calling out on six of seven networks. If you build this yourself from an older Makefile, do a full "make clean" after touching any header. v10.17 - One Hung Session No Longer Takes The Others With It (unreleased) ------------------------------------------------------------------------ * Never released; superseded by v10.18. Sessions refresh their .bsy datestamps on every pass of the protocol loop, and that work was done holding a single global lock across file I/O. One session blocking in there pinned the lock and every other concurrent session piled up behind it -- so a single stuck file operation took down every session on the system, and the pile-up fed itself. v10.17 stopped the cascade (the lock is never held across I/O now, and is never waited on), but a session could still hang on its own. v10.18 removes the hanging call entirely. v10.16 - Inbound Socket Handoff (unreleased; fix retained in v10.18) ------------------------------------------------------------------- * Never released. Its inbound fix was real and is retained in v10.18, but on test it traded one failure for another: sessions that hung leaked permanently and piled up until inbound stopped, which in practice was worse than v10.15's quieter failure. That leak is what v10.17 and v10.18 went on to fix. The notes below are kept because the underlying problem is instructive for anyone porting to AmigaOS. * Worth doing whatever mailer you run: if your BBS event script deletes .bsy/.csy files before polling, make sure a failed delete cannot abort the script -- on AmigaDOS, wrap them in "FAILAT 21" and "FAILAT 10". A lock file held by a live session is otherwise enough to kill the whole event, and your mailer never runs. The "kill-old-bsy" setting already removes stale locks for you. * Inbound BinkP sessions never worked at all, in any release from v10.5 through v10.15. The symptom was easy to blame on the other end. Your log recorded "incoming session with