Commit Graph
215 Commits
Author SHA1 Message Date
Claude a346bfc160 timesync: PTP client takes a Follow_Up or Delay_Resp come before what it answers
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
2026-11-11 12:31:13 +00:00
Claude 64fc48e8c4 ca: a root with sub-CAs: services signs the BBS's servers, proxy and others for programs beside it
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
2026-11-11 12:13:40 +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 e88ae78d05 confui: refuse an edit that puts one port on every address and an IP
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
2026-11-11 11:37:17 +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 139dcfd153 IRC: Solanum's channel modes for registered rooms, INVITE and KNOCK
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
2026-11-11 04:20:31 +00:00
Claude 98759d2a78 Merge remote-tracking branch 'origin/main' into claude/project-thread-xg08zu
# Conflicts:
#	internal/quotes/alpaca.go
#	internal/quotes/alpaca_test.go
2026-11-11 04:10:23 +00:00
Claude ae9bbc9a6a Stock quotes: the Alpaca test runs on a fixed clock
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
2026-11-10 23:22:50 +00:00
Claude ef1b9ef035 Quotes: TestAlpacaStream on a clock of its own
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
2026-11-10 16:28:10 +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 bfdb51a452 Configuration: lines and shading right on a UTF-8 terminal with no locale
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
2026-11-10 13:44:40 +00:00
Claude c309401162 Configuration: the sysop is never timed out of it
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
2026-11-10 13:13:57 +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 04fe19a8a7 ymsg test: wait for Carol Ann's kept invitation
The conference's invitations go out one by one, bob's before hers, so
bob can have his before hers is kept; CI caught it doing so. The test
now waits up to two seconds for it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUrCtqbnHANimX37GK
2026-11-09 11:27:33 +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 6b70aea946 Merge the ACME client (#42) onto main 2026-11-09 10:37:38 +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 e2a275f7de Merge remote-tracking branch 'origin/main' into claude/project-thread-xv85ad 2026-11-09 06:01: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 69cb7ae7fb Merge main into the setup screens branch 2026-11-09 05:49:48 +00:00
Claude 4037dff09f Setup screens in the style of 1990s BBS setup programs
The configuration screens (bbs config, and the sysop's Configuration) on
an ANSI terminal are now a shaded blue desk with a menu bar of pull-down
menus, each menu a window cascading over the one it was opened from, the
line's help in a box below and the keys on a bar at the foot.  Values are
typed in boxes that pop up, choices picked from lists, and questions,
help and the save's report come up as dialogs.  Only the cells that
change are sent, and a terminal without UTF-8 gets code page 437.

The menus now reach every front end: Online services (AOL, CompuServe,
MSN 1995), Messengers and chat (AIM/ICQ, MSN Messenger, Yahoo!, IRC and
its links, MRC), E-mail, Networks and doors, and Time, beside Internet
services.  The pull-down menus jump to any of them from anywhere.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUCKaoTaTTA2EiiN7Z
2026-11-09 05:49:19 +00:00
NeoandClaude 925d95571d AOL host: the client's own Read Mail, Old Mail and Sent Mail (#40)
The client's mail tool asks for its lists with m7 (new), m9 (old) and
m8 (sent), opens a mail with m3 (mip_preset_message_id, mip_read_mail)
and changes mail with m2 (mip_change_message_status: 7 Ignore, 2 Keep
As New, 4 Delete). All of this was read from the tool's code
(AOLMIP.AOL). The host answers each list with a MIP message holding one
message per mail (id, author, subject, date, an empty block), and a read
with the whole mail. The atom order within a list entry is a best guess
until a real 3.0 client tries it.

store gains MarkMailUnread for Keep As New.


Claude-Session: https://claude.ai/code/session_01B82eRRm1WrfJdB863kw36V

Signed-off-by: Claude <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>
2026-11-08 21:46:13 -08:00
NeoandClaude bf9301d6be msn test: wait for the switchboard to close before Carol writes (#39)
TestIRC had alice send OUT on her switchboard and Carol write at once.
When Carol's message beat the server's handling of OUT, it went to the
old switchboard and no RNG came: a flake seen under load (menu's CI).
The test now waits for the server to close the connection first.


Claude-Session: https://claude.ai/code/session_01B82eRRm1WrfJdB863kw36V

Signed-off-by: Claude <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>
2026-11-08 21:37:08 -08:00
Claude 17c61a0506 Merge the Yahoo! Messenger server (#38) onto main 2026-11-09 05:31:23 +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
Neo b03837b897 Merge pull request #35 from D-Modem/claude/project-thread-zw6c9g
Add MSN Classic: The Microsoft Network for the Windows 95 client
2026-11-08 21:24:39 -08: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 68b8892efb email: read the test log under its lock
TestDNSBL read the site's log buffer while the SMTP server's goroutine
wrote to it, which the race detector caught in CI.  The log is now the
synchronised writer itself, with a String that takes the same lock.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSzB4EzF1cUBt1ccvB
2026-11-09 05:19:23 +00:00
NeoandClaude 95558dc200 AOL host: chat rooms and message boards (#36)
LP (List Rooms) and the keywords Rooms and Room name go into any BBS
chat room. The keyword Boards lists the message areas; a board lists its
topics, a topic its posts, and a post window (de_ez_send_form, token Zp)
starts a topic or replies. All are host windows whose buttons send
keywords.


Claude-Session: https://claude.ai/code/session_01B82eRRm1WrfJdB863kw36V

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-08 21:19:09 -08: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 2c9dedb4b2 MSN Classic: the 1996 client's NTLM sign-in
MSN 1.3 (Windows 95 OSR2) signs in with NTLM on LOGSRV: a NEGOTIATE
answered with a CHALLENGE, then an AUTHENTICATE whose NTLMv1 response
(the LM one: the client leaves the NT one empty) is checked against the
account's kept hashes, throttled and logged as a password is.

The store keeps each account's LM and NT hashes (ntlm_keys) as it keeps
CompuServe's key: made whenever the password is seen in the clear, bound
to the password hash, and only while MSN Classic is served.

The context an accepted sign-in leaves seals the account methods as the
client expects: the Password dialog's change (0x12), the billing pages'
record (0x13) and the payment commit (0x14), RC4 under the 40-bit seal
key with a CRC-32 and sequence-numbered token.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSzB4EzF1cUBt1ccvB
2026-11-09 05:12:52 +00:00
Claude 01bff0e998 MSN Classic: Find, and file downloads
A Files folder, in MSN Central and Categories, lists the file areas the
caller may download from, each file a Download-and-Run node.  Opening
one has the client's File Transfer Manager ask FTM for it: the file
comes on HrStartDownload in blocks of at most 16K, each closing its own
message, then a bare end of request.  Downloads count against the daily
limit and ratio.

FindSvc answers Find > The Microsoft Network: the dialog's query
language (fields, contains, = <> in, AND/OR/NOT, and whole-word terms
with % and _) is parsed and run over the directory's nodes, and the ids
go back in the two blocks the dialog waits for.  Their rows come from
DIRSRV with the list's types and always a date.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSzB4EzF1cUBt1ccvB
2026-11-09 05:01:19 +00:00
Claude 8b5527ffa5 A saved address book for each user, shared by CompuServe and MSN
The store keeps a user's address book (address_book).  CompuServe
Mail's Address Book is now it, kept between sessions rather than lost at
log off.  MSN's address book serves it alongside the members, so a saved
name typed into Exchange's To: finds its address on any PC, and an
internet address mailed from Exchange is added to it.  Exchange's own
Personal Address Book stays on the caller's PC: the client never tells
the server what it adds there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSzB4EzF1cUBt1ccvB
2026-11-09 03:38:54 +00:00
Claude dbadd78a02 Merge remote-tracking branch 'origin/main' into claude/project-thread-zw6c9g 2026-11-09 03:14:29 +00:00