Commit Graph
51 Commits
Author SHA1 Message Date
NeoandClaude Opus 5.5 3da7b2ebc1 Every sysop option says what it does (#60)
* 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>
2026-11-12 04:37:56 -08:00
Claude 19e08e236b dns: the sample says A and AAAA records answer reverse lookups
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRorB6EaJ9gFhio2Fa
2026-11-12 08:41:55 +00:00
Claude 395610fa9b dns: records of the sysop's own, [dnsrecord NAME]
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
2026-11-11 23:57:41 +00:00
Claude c470b7fdcd ca: the BBS's own certificate authority, and a package for callers
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
2026-11-11 11:44:30 +00:00
Claude e17c260f88 dns: an address of its own for each service
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
2026-11-11 11:30:45 +00:00
Claude b31e5a6145 dns: a resolving, caching DNS server for callers, and shared ports by name
[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
2026-11-11 11:17:01 +00:00
Neo b6b9da65f5 Merge pull request #55 from D-Modem/claude/project-thread-p2z3e6
oldtls: pure-Go TLS 1.0 for AIM 6.2+'s SSL 2.0-format hello
2026-11-11 02:49:54 -08:00
Neo 5a86d2b7e4 Merge pull request #53 from D-Modem/claude/project-thread-zw6c9g
MSN 2.x: NTLM sign-in for mail, news and the web forum
2026-11-11 02:49:50 -08:00
Neo ab31dfc775 Merge pull request #50 from D-Modem/claude/project-thread-rldvw3
MSN: serve MSN Messenger 5.0–7.5 (MSNP8–12) with a Passport server
2026-11-11 02:49:46 -08:00
Neo 1c570fc01b Merge pull request #49 from D-Modem/claude/project-thread-82xa7b
Yahoo! Messenger: the Y!M 6 to 8 login, and file transfer
2026-11-11 02:49:42 -08:00
Claude a54f5b17ed oldtls: a TLS 1.0 server for AIM 6.2+'s SSL 2.0-format hello
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
2026-11-11 06:54:38 +00:00
NeoandClaude c69715ef52 oscar: later AIM logins (Kerberos, clientLogin) and TLS (#54)
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>
2026-11-10 22:43:40 -08:00
Claude 8c0b5016e4 MSN 2.x: NTLM sign-in for mail, news and the web forum
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
2026-11-11 04:36:11 +00:00
Claude 11f0d9c0a8 MSN: serve MSN Messenger 5.0 to 7.5 (MSNP8-12) with a Passport server
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
2026-11-10 16:26:13 +00:00
Claude b81f07e558 ymsg: Y!M 6 to 8's login, and file transfer
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
2026-11-10 16:22:47 +00:00
Claude 217e672522 IRC: ChanServ, with room registration, access lists and auto-op
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
2026-11-10 16:22:05 +00:00
Claude 695ccf6980 Where users call from: filled in at sign-up, shared with sysops if they agree
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
2026-11-09 13:45:49 +00:00
Claude e1d04978cd Line speeds: Break or Ctrl-X sends the rest of a slow screen at once
Telnet's Break, Interrupt Process and Abort Output and SSH's break
request (RFC 4335: OpenSSH's ~B, PuTTY's Special Command > Break) now
reach the terminal, and while a screen is slowed to a line speed the
keys are looked at every 100 ms for Ctrl-X. Either sends what is left
at the line's own speed up to the next prompt: skipped, but drawn
whole, so no escape sequence is cut and the screen is right. The next
key read slows things down again. Doors' keys are theirs, so they are
not polled while one runs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUrCtqbnHANimX37GK
2026-11-09 11:21:32 +00:00
Claude cfbb4be66e Line speeds: telnet, SSH and web callers may have the BBS send at a modem's speed
A caller without a modem's line picks a speed from 300 to 115200 bit/s
(or full) on the profile (B) or with Ctrl-B at any prompt, and it is
kept with their account. What the BBS sends goes at that pace, ten bits
a character, ANSI art drawn as it was; doors are told the speed and
paced too. Keys come in at once, and file transfers go at the line's
own speed so their protocols do not time out. Modem callers (and calls
a modem server reports a rate for) are never slowed again.

[general] line_speeds (may callers pick), line_speed (what they get
until they do) and line_speed_ask (asked at each login) are on bbs
config's Connections page; the sysop can set a user's speed on their
account page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUrCtqbnHANimX37GK
2026-11-09 10:52:08 +00:00
Claude 1b55ea44cf Merge news feeds, weather and quotes (#43) onto main 2026-11-09 10:37:59 +00:00
Claude 008595d07b Live stock quotes from Alpaca's market data
[quotes] alpaca_key and alpaca_secret follow Alpaca's stream (IEX on the
free plan, every exchange on a paid one) for the symbols callers look at,
up to alpaca_symbols at a time, and fetch any other by its snapshot. The
quotes begin again with each session's first trade, so a live feed kept
over days has the right change. bbs quotes alpaca tries the keys.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTDuJZo7JNHQEC6M1Y
2026-11-09 09:33:51 +00:00
Claude d3e5960815 News feeds, each caller's weather, and stock quotes from IEX
A main menu item, News, weather, quotes (actions news, headlines,
weather, quotes for sysops' menus):

- internal/feeds: RSS 0.9x-2.0, RSS 1.0, Atom and JSON Feed read into
  read-only message areas (so also NNTP, QWK, the web forum, gopher),
  each item its headline, summary and link; conditional GETs,
  Retry-After, one post per item by a Message-ID made from its id.  A
  catalogue of 26 tested feeds: world news, business (SEC), technology,
  science (NASA, USGS), government (Federal Register, Congress.gov,
  White House, NWS).  [feeds], [feed NAME]; bbs feeds catalog|list|read.
- internal/weather: each caller's place (US ZIP codes built in from the
  Census gazetteer, towns worldwide by Open-Meteo's gazetteer, or
  lat,lon); NWS forecasts and alerts in the US, Open-Meteo forecasts
  elsewhere, USGS earthquakes near; serious warnings told at the login.
  [weather].
- internal/quotes: an IEX-TP/TOPS decoder, pcap and pcapng readers, IEX's
  free HIST file of the last session read as it downloads (16 GB, under
  five minutes, resumed when cut off) into a small snapshot, or a live
  TOPS feed over UDP multicast.  Each caller's list of symbols.
  [quotes]; bbs quotes fetch|load|show.

Docs: docs/wiki/News-Weather-and-Quotes.md, the sample, the reference.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTDuJZo7JNHQEC6M1Y
2026-11-09 09:06:07 +00:00
Claude 12570cb4d7 Add an ACME client: certificates for every TLS server, renewed
[acme] gets certificates from Let's Encrypt, ZeroSSL or any ACME CA and
renews them before they run out, in the manner of acme.sh, built on lego
(MIT). [acme NAME] adds more. HTTP-01 (its own port 80 listener or the
BBS's web server there), TLS-ALPN-01 (any TLS server of the BBS on 443)
and DNS-01 (15 providers built in, exec:PROGRAM, or acme.sh's own dnsapi
scripts through acmesh:dns_xx) are supported; renewal follows renew_days
and the CA's ARI; a hook runs after each new certificate.

internal/certs is where every TLS server now gets its certificate: a
file pair read again when it changes, or the ACME client's (cert_file =
acme or acme:NAME, and by default when a TLS server has no files and
[acme] is set). Gemini keeps its pinned certificate and Yahoo its
login.yahoo.com one unless told.

bbs acme list / renew, bbs check lists them, a Certificates page in the
configurator, the sample config, Configuration Reference and a new
Certificates wiki page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSjWGPJDHVw7cyWKvE
2026-11-09 06:01:07 +00:00
Claude 17c61a0506 Merge the Yahoo! Messenger server (#38) onto main 2026-11-09 05:31:23 +00:00
Claude dc9b3b29b5 Regenerate the configuration reference 2026-11-09 05:28:38 +00:00
Claude 513d422bb3 Merge remote-tracking branch 'origin/main' into claude/project-thread-6qlxev
# Conflicts:
#	internal/server/config.go
2026-11-09 05:27:40 +00:00
Claude 1279ea036c Merge PR #38 (Yahoo! Messenger) into main 2026-11-09 05:27:02 +00:00
Claude b5148dd553 Merge PR #37 (Gemini) into main 2026-11-09 05:26:25 +00:00
Claude 1536e00a97 gemini: ask the sysop before making a certificate
The BBS no longer makes a Gemini certificate by itself at startup.
bbs gemini cert asks for the host names (and addresses), organization
and years, shows what it will make and where, and makes it only on a
yes. It will not replace a certificate without -force, and keeps the
old one as .old. Without one, bbs serve stops and says to run it, and
bbs check says there is none yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSz48BzvGbSP2U45F8
2026-11-09 05:25:40 +00:00
Claude 0342ad6414 Add a Yahoo! Messenger server (YMSG 9 to 16)
Yahoo! Messenger clients sign in with BBS names and passwords on port
5050. The buddy list is the friends list and the ignore list the shared
blocked list; IMs are private messages to and from every route, kept for
one away and delivered at sign-in; Yahoo chat rooms are the BBS's chat
rooms and conferences are rooms of their own.

- internal/ymsg: the pager (VERIFY, AUTH/AUTHRESP, LIST and LIST_15,
  LOGON/LOGOFF/ISAWAY/ISBACK/STATUS_15 presence, MESSAGE, typing,
  ADDBUDDY/REMBUDDY/GROUPRENAME/CHGRP_15, IGNORECONTACT, chat rooms,
  conferences) and the web half (capacity, pwtoken_get/pwtoken_login for
  the YMSG 16 login over HTTPS with TLS 1.0 for XP, the room list)
- store: ymsg_keys (the challenge login's two digests, kept like AIM's
  and MSN's), MD5Crypt and Yahoo's base 64
- bbs: PublicRooms, for the room browser
- [ymsg] config section, docs/wiki/Yahoo-Messenger.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRfVskEUYFs9gMFCLD
2026-11-09 05:21:26 +00:00
Claude 8086ae7690 Add a Gemini server: gopher's capsule and finger's users over TLS
[gemini] serves gemini:// on port 1965: the home page, About this
system, Who's online, a user lookup (/users asks for a name; /~name)
with finger's answer, and the message and file areas the sysop opens,
as gopher shows them. Message lines are escaped so they cannot become
links, headings or preformatting; files go as they are, typed by name.

With no cert_file and key_file, a self-signed certificate for hostname
is made beside the database at the first start and kept, since Gemini
clients trust on first use; bbs check shows its fingerprint.

Gopher's About, Who, Area and OpenFiles and finger's User are exported
so Gemini shows the same content under the same rules.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSz48BzvGbSP2U45F8
2026-11-09 05:13:55 +00:00
Claude dbadd78a02 Merge remote-tracking branch 'origin/main' into claude/project-thread-zw6c9g 2026-11-09 03:14:29 +00:00
Claude 2c9fbd0b9a Add MSN Classic: The Microsoft Network for the Windows 95 client
internal/marvel serves the MSN client of 1995 to 1998 over its own
protocol (Marvel), by modem (frontend = marvel on a telnet or raw
listener) or over TCP ([marvel], port 569):

- the serial link (byte stuffing, CRC-32, Go-Back-N with a 16-packet
  window and retransmission) and the TCP "straight" records
- pipes, MPC host blocks and tagged parameters, property records
- LOGSRV: sign-in with BBS accounts (as a node), password change, the
  billing pages' name and address
- DIRSRV: MSN Central, Categories (a folder per area group), MSN Today
  (the boards with the newest posts), Go words, icons drawn here
- the BBS service: each readable message area is an MSN bulletin board,
  its messages listed with their reply threading, opened as articles,
  posted and replied to from the Compose window (plain, RTF or
  compressed RTF, kept as plain text) and deleted by their author

Written from the marvel-msn project's protocol notes and wire captures;
none of its code is used.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSzB4EzF1cUBt1ccvB
2026-11-09 02:54:49 +00:00
Claude 75e7a341a2 irclink: link with ircu networks by P10
The hub keeps the network by TS6's names, so a P10 link is a
translation at its edge: numerics mapped both ways, its lines taken as
TS6's and ours sent as P10's. Lines between two P10 links go as they
came. Its burst is taken before ours goes (after its END_OF_BURST), so a
BBS user whose nick it has is renamed Nick|Tag first.

[irclink] numeric sets the BBS's P10 numeric; [ircpeer] protocol = p10.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUWrohwtnaPDvybZ5h
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-09 02:45:16 +00:00
Claude 22b5d482da Merge main into the TS6 hub branch
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUWrohwtnaPDvybZ5h
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-09 02:21:27 +00:00
Claude e90c644808 IRC server linking: the BBS as a TS6 hub on an IRC network
[irclink] and [ircpeer NAME] make the BBS a server on an IRC network,
speaking TS6 (Solanum, charybdis, ircd-ratbox; ircd-hybrid 8 with
protocol = hybrid). It is a hub: it takes any number of links, in and
out, keeps the network's map, routes between them, and tells the others
of a netsplit.

Every BBS user online is a user on the network, whom anyone there can
/msg and /whois; the rooms beginning irc- are its channels. A nick that
is taken when a BBS user comes on, or when a link comes up, is the BBS
user's as Nick|Tag (cut to the network's NICKLEN, numbered if taken);
collisions between other servers' users follow the TS6 rules.

The chat core takes several relays (MRC and the IRC link together),
relays that list members elsewhere and reach people by name; the BBS's
IRC server shows the network's users in NAMES, WHO, WHOIS and ISON and
messages them, and /msg NICK in the chat does too.

Tested against Solanum (main) and ircd-hybrid 8.2.43 (TestLive).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUWrohwtnaPDvybZ5h
2026-11-09 02:03:25 +00:00
Claude a3686b39cd Merge main into e-mail (beside time sync)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUSPBZTX8wShmaLrrg
2026-11-09 01:29:56 +00:00
Claude dc7e74eccd Merge main into e-mail (the AOL host beside the mail sections) 2026-11-09 01:22:43 +00:00
Claude 4c2b7de14e Merge main into time sync (beside the AOL host)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUSPBZTX8wShmaLrrg
2026-11-09 01:22:07 +00:00
Claude e10e4261e3 Merge main into e-mail (MSN beside the mail sections)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUSPBZTX8wShmaLrrg
2026-11-09 01:10:22 +00:00
Claude 877ca82e1d Merge main into time sync (MSN section beside ntp/nts/ptp)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUSPBZTX8wShmaLrrg
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-09 01:07:29 +00:00
Claude 197971e829 Merge main into the AOL host branch (beside MSN Messenger)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRm1WrfJdB863kw36V
2026-11-09 01:06:09 +00:00
Claude e75f4ea03d AOL host: AOL clients sign on with BBS accounts
internal/aol serves AOL's own clients over P3: each token the client
sends is handled, and the host answers with atom streams compiled from
FDO91 source.

- Dd, the Welcome form's screen name and password (its two de_data),
  is a BBS login (Authenticate, throttled and logged as any); the client
  becomes a node, is taken online (async_online, its main window 32-296)
  and shown the BBS's Welcome window.  A failed one gets an alert and
  async_force_off; "New User" is told to join by telnet or the web.
- pE (Sign Off) is answered with XS, the host's sign-off.
- Other tokens are answered with uni_wait_off, so the client doesn't
  wait on them, and are logged; before sign-on they're ignored.
- Streams go as aT in one packet, or at pieces with one 4-byte id when
  long; a stream the client spreads over packets (4.0) is put together.

[aol] turns it on, at :5190 by default.  When [oscar] listens there too
the two share the port: OSCAR hands over connections that begin as P3.

Tested with a scripted client (sign-on, refusals, sign-off, long
streams both ways) and through OSCAR's port.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRm1WrfJdB863kw36V
2026-11-09 01:00:22 +00:00
Claude fb3e80c561 Add an MSN Messenger server (MSNP2-7) and a shared blocked list
MSN Messenger 1.0 to 4.7 and Windows Messenger 4.x sign in with BBS
names and passwords on port 1863. The contact list is the friends list,
the block list a new blocked list shared by every route (chat's /block
and /unblock, MSN's Block); private messages to and from IRC, AIM and
terminal users pass through switchboards, and kept messages are rung in
at sign-in.

- internal/msn: notification server and switchboards on one port
- store: msn_keys (MD5 digests kept like AIM's) and blocks tables
- bbs: blocks refused in TellUser and Message; /block, /unblock
- oscar: IMs to a user who blocks the sender are refused
- [msn] config section, docs/wiki/MSN-Messenger.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTgFq9vbzTWgK3XYQL
2026-11-08 20:40:33 +00:00
Claude 17cd941f1a E-mail: DNS blocklists for mail from the internet ([mx] dnsbl)
The sending address is looked up in each list at once at the first MAIL
FROM; a listed sender is refused (554 5.7.1, with the list's TXT reason)
and logged.  A list that does not answer, or refuses the query (Spamhaus's
127.255.255.x through public resolvers, logged), refuses no one.  Local
and private addresses, and logged-in submission, are never looked up.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRVPRbt1YgtG7eQJZxD
2026-11-08 19:57:20 +00:00
NeoandClaude Opus 5.5 434a26e00b listen handoff = yes: the caller's line itself from modemmenu (#25)
* listen handoff = yes: the caller's line itself from modemmenu

A raw unix listener with header = yes and handoff = yes takes the
caller's line with the header (SCM_RIGHTS), as modemmenu's item with
handoff = yes sends it: the session runs on that terminal, nothing
copied between modemmenu and the BBS.  What modemmenu had read and not
used comes on the connection after the header, ahead of the terminal.
The connection then only marks the session's life: logging off closes
it (the line goes back to the menu, its flags as they came), and the
menu closing it (its time limit, the caller gone) hangs the session up.
A header without a line is an ordinary call.

Tests: four callers on handed-over lines at once, each on its own
terminal; logging off closes the connection; the connection closed
takes the terminal away.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRxseyEuLRFbFaBoX3

* handoff: a closed or hung-up line ends the call quietly

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRxseyEuLRFbFaBoX3

* oscar test: let bob's arrival come again before Carol's

TestAIMToIRC failed on CI when alice saw a second arrival for bob
before Carol Ann's; the test now passes over repeats of bob's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRxseyEuLRFbFaBoX3

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-08 09:07:38 -08:00
Claude 831e06bd0e Time: follow NTP, NTS and PTP servers, and serve all three
- internal/timesync: a clock that follows time servers (the median of
  their offsets) and can set the system clock; an NTP server with NTS;
  an NTS-KE server; a PTP grandmaster (multicast, and unicast
  negotiation) and a PTP client; kernel or network-card timestamps.
- [time], [ntp], [nts] and [ptp] sections, the UDP ports bound as root
  and handed down, and bbs time to ask servers once.
- Go 1.26 (facebook/time, the protocols' packets, needs it).
- Tested against chrony 4.5 (NTP and NTS, both ways) and linuxptp 4.0
  (multicast and unicast, both ways).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUxvTP6EhwNZTADjqy
2026-11-08 15:09:57 +00:00
Claude fcb5cabd82 E-mail: tests with Python's mail clients, docs and the sample configuration
The E-mail wiki page (addresses, folders, a smarthost or direct delivery,
DNS, the MX and LMTP), the mail sections in bbs.conf.sample, SMTP's 530
for mail before a login, and the TODO section done.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRVPRbt1YgtG7eQJZxD
2026-11-08 13:17:45 +00:00
Claude ababf5c57d AIM and ICQ: an OSCAR server on the BBS's chat, beside IRC
[oscar] serves AIM and ICQ clients on port 5190, as a front end on the
same chat core as the IRC server: buddies are BBS users online by any
route, an IM is a private message (a PRIVMSG to an IRC user), and a chat
room is a BBS room, an IRC channel.

- FLAP, SNACs and TLVs; logins by the signon frame (roasted passwords:
  AIM 1-3, ICQ, Java AIM) and by BUCP (MD5, weak and strong digests); the
  BOS and the services' connections by cookie, all on the one port
- BOS: rate classes, versions, self info, idle; locate (profiles, away
  messages, capabilities); the client-side buddy list and the server-
  stored one (feedbag/SSI, kept in a new feedbag table); permit/deny
  lists and modes, ICQ invisibility; IMs on channels 1, 2 (rendezvous
  passed between AIM clients, chat invitations as lines to others) and 4,
  typing notices, host acks
- chat navigation and chat rooms (exchanges 4 and 5) as BBS rooms
- ICQ: numbers are uin_base plus the account's id; family 0x15's offline
  messages (none), short and full info, searches by number and name
- a connection beginning with P3's sync byte goes to Server.P3, for an
  AOL front end on the same port

BUCP digests can't be checked against bcrypt, so while [oscar] is set up
each account keeps a fixed auth key and its two digests (oscar_keys),
made when the password is set or checked in the clear and bound to the
password hash.  The chat core gains WatchPresence (users coming and
going) and Throttle; bbs gains AuthenticateBy for digest logins.

docs/wiki/AIM-and-ICQ.md describes it.

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
2026-11-08 12:00:14 +00:00
Claude 20908882c9 CompuServe front end: logon, ESC I, pages, and the B / B Plus protocols
A listener with frontend = compuserve serves the CompuServe Information
Service on the BBS's users: Host Name, User ID (an account's number as a
CompuServe ID, or its name) and Password, ?LOG codes, ESC I terminal
identification, the banner and logoff text, and the ASCII service's menu
and article pages with GO, FIND, T/M/B/F/R/N/P, SET and ; chaining.  CIM
clients are told ?LOG CAI until the HMI service is built.

internal/xfer/cisb.go is CompuServe B, Quick B and B Plus, the host's side
and the terminal's: ENQ start, + parameter negotiation, quoting, all four
check methods, a send window with ENQ resynchronization, downloads and
uploads.  Tested against the spec's checksum and CRC values and over a
noisy loopback.

docs/cis holds the research and design behind it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRPWCkk1Ro91AuzXFM
2026-11-08 11:16:10 +00:00