* confui, sysop tools: every option says what it does
Every key the sample shows bare gets help (the catalogue's keyHelp, and
commonHelp for address, max_clients, tls and the certificate files), so
the configuration reference has it too; every menu and action of the
configuration screens has its line of help (helpOfItem, and each list's
entries, Add and Delete); a test opens every page, with one of each named
section and a database, and fails on a line without help.
The sysop tools menu's items say what each does beside it (view.Item
Help: one column on a text terminal, a wider box on a 3270).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRorB6EaJ9gFhio2Fa
* Make the config editor's section lookups skip the regexp for plain lines
Every redraw finds sections through Doc.span, which ran the header regexp
on every line of bbs.conf; with the sample's thousand-odd lines that made
the help walk time out under -race in CI. Lines not starting with [ are
no header, so they skip it now; the walk also opens each page once.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRorB6EaJ9gFhio2Fa
---------
Co-authored-by: Claude <noreply@anthropic.com>
Each [dnsrecord NAME] is one record (name, by default NAME, *.domain for
every name under it; type, by default A or AAAA from the address; value
as a zone file writes it; ttl, by default [dns]'s), answered as it is to
anyone, before the services' names and with nothing asked upstream. A
type the name has none of is answered empty; a CNAME is followed to a
target here; a record for a service's name takes the place of its answer
for that type. bbs check refuses one it cannot read.
The configuration screens have them under DNS for callers, DNS records:
the type from a list, an A or AAAA's address from this machine's.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRorB6EaJ9gFhio2Fa
The TLS 1.0 server for SSL 2.0-format hellos moved to D-Modem/retrossl,
which also serves SSL 3.0. The OSCAR TLS port now sends SSL 3.0-only
clients there too; the shared ports still send only SSL 2.0-format
hellos, to the route that takes them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRH4kntyPfrY1bFWC3
Most free-text settings of the configuration screens are now lists to pick
from, made from what there is: certificates ([acme]'s, and the files other
servers use) and the key that goes with one; an address's every-address,
this-machine and each-IP forms, marked when another server has it; [dns]
answers from the services' IPs; levels by their names; a menu item's
actions (the doors, menus, screens, scripts, areas), with Add a menu item;
the screens, AKAs, feed groups and areas, the machine's users and groups;
and the fixed values of ACME, TLS, outbound mail and the rest, with notes.
A list may be open (a value of one's own typed too) or of some at once
(by commas). The full-screen list shows notes and checkboxes; a 3270's S
and a plain terminal's number open a numbered table; F1 lists the choices.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRorB6EaJ9gFhio2Fa
Sync and Follow_Up come on two sockets, each read by its own goroutine, so
on a busy machine the Follow_Up was handled first, dropped as unknown, and
no two-step sync ever measured (TestPTP failing in CI with "no
measurements"; on one CPU under load, every time). A Follow_Up before its
Sync is now kept till the Sync comes. Likewise a Delay_Req is recorded
before it is sent, so a Delay_Resp handled before sendEvent returns is kept.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTuaG98f8wiWHbNhPo
The root (ca/ca.crt), the one callers install, now signs only sub-CAs
(pathlen 1). The services sub-CA signs tls_cert = ca servers' certificates;
bbs ca subca NAME makes another (proxy, for a TLS proxy such as WebOne's
port) with its own key. Leaves carry their sub-CA's certificate after them.
bbs ca issue takes -ca NAME (default services). A root from before, which
could sign no sub-CAs, is refused with how to replace it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTuaG98f8wiWHbNhPo
tls_cert = ca ([msn], [ymsg], [oscar]) and cert_file = ca ([gemini]) have
the BBS's CA sign the server's certificate for the names its clients ask
for: bbs serve makes the CA if there is none, signs at start and looks
daily, keeping keys across renewals (Gemini's good as long as the CA, as
its clients pin). RSA 2048 throughout; bbs ca init -sha1 for Windows
before XP SP3.
bbs ca issue signs a certificate for a TLS proxy; bbs ca package (and
serve, into ca/install-ca.zip) writes what puts the CA on callers'
machines: the .cer, an .inf and .reg writing the machine's trusted roots
(Windows 95 on), remove-ca.reg, an install .bat (certutil), a macOS/iOS
.mobileconfig, the PEM and a README with the fingerprint.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTuaG98f8wiWHbNhPo
With the chat's HTTPS services each on an IP of their own, a port on
every address for another can't be listened on beside them. The editor
now refuses such an edit at once (the old value put back, the reason
shown) instead of only at save. A file already mixed can still be put
right an edit at a time. The DNS server joins Internet services.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTuaG98f8wiWHbNhPo
A front end whose HTTPS (TLS) server is on an IP of its own, with a
self-signed certificate of its own, now has its names answered with that
IP: taken from its https_address (or [oscar] tls_address, or address),
or set as [dns] <service>_answer (an IPv4 and an IPv6 address at most).
One port on every address for one front end and on an IP of its own for
another can't both bind, so that mix is refused at check.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTuaG98f8wiWHbNhPo
[dns] answers the old services' login names (MSN Messenger and Passport,
AIM/ICQ, AOL, Yahoo! Messenger, MSN Classic, CompuServe) with the BBS's
own address, for the front ends set up here, so clients find the BBS
without hosts-file edits. Every other name is resolved through the host's
DNS servers (resolv.conf, or systemd-resolved's own list) or a sysop's
primary and backup, cached by TTL (negative answers by SOA), with
recursion limited to private networks and a per-address UDP rate limit.
Since those names all lead to one address, MSN's Passport, Yahoo!'s login
and AIM's TLS can now share port 443 (and the web halves port 80):
internal/vhost takes the connections and routes each by SNI, then Host,
then path, with non-HTTP TLS (OSCAR, SSL 2.0 hellos) going to AIM.
The chat front ends' ports and DNS's are bound as root before dropping
privileges.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTuaG98f8wiWHbNhPo
AIM 6.2 to 7.5 open TLS with an SSL 2.0-format ClientHello, which
crypto/tls can't read, and TLS's Finished messages sign the hello's own
bytes, so it can't be rewritten for crypto/tls either. internal/oldtls
is a small TLS 1.0 server (RSA key exchange; AES-CBC, 3DES-CBC, RC4)
that takes either hello format. The OSCAR TLS port hands it the
connections that open in SSL 2.0's format; the rest still go to
crypto/tls. It needs an RSA certificate; the log says so when there
isn't one.
Tested against crypto/tls's own client at TLS 1.0 with each suite, and a
scripted client opening with an SSL 2.0-format hello.
Signed-off-by: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTAJGnEAiwGZm9ygpG
AIM 6.2 to 7.5 sign on with a Kerberos-style login over HTTPS; Pidgin's
clientLogin, AIM Express and the phones with clientLogin and
startOSCARSession. Port 5190 now tells HTTP apart by its first byte and
serves both; an optional tls_address serves them, and the BOS, by TLS
(1.0 and the old ciphers taken). tls_host names where clients asking for
TLS are sent, for a TLS proxy in front (AIM 6.2+'s SSLv2-format hello
needs one with an old OpenSSL). Chat room redirects follow a TLS ask.
These logins send the password itself, so they work for accounts with
no AIM digests yet.
Claude-Session: https://claude.ai/code/session_01B82eRTAJGnEAiwGZm9ygpG
Signed-off-by: Claude <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>
MSN 2.x's programs (Outlook Express, Internet News, the Program Viewer's
Internet Explorer) sign in with MSN's security package, which is NTLM
under the name "MSN". The NTLM server side moves out of the MSN Classic
front end into internal/ntlm (now with NTLM2 session responses and
NTLMv2), and POP3, IMAP, SMTP submission (AUTH NTLM / MSN), NNTP
(AUTHINFO GENERIC, as MS-NNTP has it) and the forum (/forum/login/ntlm,
by WWW-Authenticate) answer it against the hashes the store keeps.
[security] ntlm = yes keeps them without serving MSN Classic.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSzB4EzF1cUBt1ccvB
A registered room's ops set its modes with MODE (/mode in the BBS's
chat): n t s p m i z g T, the key (k) and limit (l), and the lists: bans
(b), quiets (q), exceptions (e) and invite exceptions (I), with masks
nick!how@nodeN and the extbans $a, $a:mask and $o (~ negates). c and C
are always on, as the rooms always were. MODE b/q/e/I with no mask lists
them (367, 728, 348, 346). Modes and lists are kept in room_reg and the
new room_lists table, and are the room's: a caller on the text BBS, AOL
or Yahoo is kept out or quiet as an IRC user is.
INVITE (an op, or anyone in a +g room) gets one past i, k and l for the
hour; KNOCK asks the ops of a room one is kept out of, once a minute,
but not in a +p room. ChanServ gains INVITE and GETKEY (the i flag, which
also gets past i, k and l), and INFO shows the modes. JOIN takes keys;
/join ROOM KEY, /invite and /knock come to the BBS's chat. ISUPPORT gives
CHANMODES=Ibeq,k,l,CcTgimnpstz, EXCEPTS, INVEX, EXTBAN, MAXLIST, KEYLEN
and KNOCK.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTXE7MNm3r3hHAmTG2
TestAlpacaStream read the real clock, so once Monday 9 November 2026 had
passed the book called the session closed and gave Monday's quote a close.
Alpaca takes a Now clock (time.Now if nil), and the test sets it to Monday
9:33 Eastern.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSh3B3Gq4bN4yoC4QQ
The test's stream trades are Monday 2026-11-09's, and it took the session
from the real clock: since that Monday's close the session reads closed,
the last trade stands for the close, and the test failed (on main too).
Alpaca takes a Now for its clock, and the test sets Monday before the
open, so it passes whatever day it is run.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTXE7MNm3r3hHAmTG2
MSN 5.0 and later sign in by Passport over HTTPS. The msn server now
runs that too when [msn] https_address is set: the nexus (pprdr.asp),
Passport 1.4 (login2.srf, MSN 5.0-7.0) and Passport SOAP (RST.srf, MSN
7.5). The password is checked as any login's, and the ticket it gives is
good once, for ten minutes, at USR TWN S.
- MSNP8-9: SYN gives each contact once with list bits, numbered groups
- MSNP10-12: ABCHMigrated lists by GUID (made of account numbers and
group names), ADC, REM by GUID, PRP MFN, SBP, ADG/RMG/REG by GUID
- client capabilities and display pictures in CHG/ILN/NLN, MSNP11
personal messages (UUX/UBX), capabilities in JOI/IRO (MSNP12),
QNG 50, GCF Shields.xml, SBS
- a user on MSN is never counted online by another route before their
first status, so contacts no longer see them flicker on
- certs.Legacy: Yahoo's XP-friendly TLS config, now shared with MSN
- [msn] https_address, tls_cert, tls_key, passport_host, http_address;
wiki page with the hosts file and certificate steps
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTgFq9vbzTWgK3XYQL
The challenge login of Yahoo! Messenger 6 to 8 (auth type 1) is served
for YMSG 10 to 15. The BBS writes each challenge so that the client's
search lands on depth 0, table 0: the transform then runs zero times and
the server needs none of Yahoo's tables. old_login = yes offers these
clients the Y!M 5 login instead.
Files go between Yahoo users through the web half: Y!M 7 and later by
the relay (FILETRANSFER_15 to _ACC_15, then /relay POST, HEAD and GET),
Y!M 5 and 6 by /notifyft, with a /ft/ link sent to the receiver. Files
are held in a temporary file until fetched, at most max_file_mb (16)
and an hour. Offers to users not on Yahoo are declined with a pointer
to the file areas.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRfVskEUYFs9gMFCLD
A user registers a room with ChanServ (/msg ChanServ REGISTER #room, or
/cs REGISTER in the BBS's chat) and is its founder. Its access list
takes Atheme's flags (v V o O t i r R f s A e b F, and the VOP, AOP, SOP
and FOUNDER templates): those with O or V are opped or voiced on coming
in, by any way in. A registered room's ops give and take ops and voice
(MODE +o/-o/+v/-v), put people out (KICK, /kick on the BBS) and set the
topic. ChanServ also has DROP, INFO, OP/DEOP/VOICE/DEVOICE, TOPIC, KICK,
BAN/UNBAN (b on an entry: kept out), CLEAR #room USERS (everyone out but
the one asking), SET (FOUNDER, GUARD, TOPICLOCK, PRIVATE, DESCRIPTION,
URL, ENTRYMSG), LIST and WHY.
Status, bans and kicks are the room's, in the shared chat code, so they
hold for IRC, the text BBS, 3270s, AOL, Yahoo, AIM, MSN and CB alike;
front ends that know only the older events get a notice and a leaving.
Unregistered rooms are as before: no ops but sysops. Page rooms and rooms
a linked network or MRC carries can't be registered. A room unused for
chanserv_expire days (90) is dropped; a deleted founder's room passes to
the next on its list. PREFIX is now (ov)@+.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTXE7MNm3r3hHAmTG2
bbs config took the console for code page 437 whenever the locale did
not say UTF-8 (LANG unset, as under sudo or in a bare WSL), so a UTF-8
terminal showed every line, shadow and shade as a replacement character.
It now asks the terminal: é written, the cursor's column read back.
A terminal that does not answer gets a VT's line drawing on an xterm,
a VT, screen or tmux (as modemmenu does), and code page 437 otherwise.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRVaGDpEUKj7r3JGhpU
The sysop's configuration screens (the sysop menu's F, on a text
terminal or a 3270, and bbs config on the console) ended at the idle
timeout like any caller's screen. Editor.Run now holds the idle timeout
off for as long as it runs (view.Unhurried, from the text and 3270
front ends); the login's hard limit and a hangup still end it. A Term
with Idle 0 waits without a limit.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTXXCusbxh6h6Btenm
A new user's "Where are you calling from?" starts filled in with where
their caller ID (area code and exchange) or address (GeoIP) says they are,
on the BBS and the web forum's sign-up; geoip_prefill = no turns it off.
New users are asked whether the sysop may see where they call from (no
unless they say yes), and can change it in their profile or the API
(share_location). For those who share it the place, how it was found and
the date are kept at each login, shown to sysops on the user's pages, in
bbs config's user editor and the API's geo; stopping forgets it.
geoip_users = no stops asking and keeping.
A modem call by VoIP without a caller ID is placed by the address the call
came from, if the modem server sends it (DMODEM_PEER / MODEM_PEER).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSVXNfvCFNooYkqeMp