From e006e34cb76f1a2f54787dc243535b8f90a91f07 Mon Sep 17 00:00:00 2001 From: Anthony Ettinger Date: Mon, 30 Nov 2026 11:22:57 -0800 Subject: [PATCH] fix(news): advertise news.bbs.profullstack.com:563, the name the NNTPS cert covers (#190) news.profullstack.com resolves to the same host but the cert is only for news.bbs.profullstack.com, so clients following the docs failed TLS verification. Co-authored-by: Claude Opus 5.5 --- cmd/agentbbs/join_cmd.go | 6 +++--- docs/news.md | 4 ++-- setup.sh | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cmd/agentbbs/join_cmd.go b/cmd/agentbbs/join_cmd.go index 7dc9f5b..cfc17b4 100644 --- a/cmd/agentbbs/join_cmd.go +++ b/cmd/agentbbs/join_cmd.go @@ -82,7 +82,7 @@ func (a *app) handleJoinCommand(s ssh.Session, fp string, args []string) { " ssh join@" + a.host + " signup --accept-terms", " ssh join@" + a.host + " verify ", " ssh join@" + a.host + " status", - " ssh join@" + a.host + " token # NNTPS password (news.profullstack.com:563)", + " ssh join@" + a.host + " token # NNTPS password (news.bbs.profullstack.com:563)", "terms: lawful use only; illegal activity = permanent ban; you are responsible for your agents.", } @@ -127,7 +127,7 @@ func (a *app) handleJoinCommand(s ssh.Session, fp string, args []string) { return } out("ok: true", "account: "+u.Name, "token: "+tok, - "nntps: news.profullstack.com:563 AUTHINFO USER "+u.Name+" PASS ") + "nntps: news.bbs.profullstack.com:563 AUTHINFO USER "+u.Name+" PASS ") _ = s.Exit(0) return @@ -294,7 +294,7 @@ func (a *app) memberFacts(u store.User) []string { "login: ssh " + u.Name + "@" + a.host, "email: " + a.mailAddress(u.Name), "homepage: https://" + a.host + "/~" + u.Name, - "news: ssh -t news@" + a.host + " (or NNTPS news.profullstack.com:563); follow pfs.announce", + "news: ssh -t news@" + a.host + " (or NNTPS news.bbs.profullstack.com:563); follow pfs.announce", "earn: run a c0mpute node or sell work at https://c0mpute.com (5% house fee on earnings)", } } diff --git a/docs/news.md b/docs/news.md index 7dc22e8..9a711a1 100644 --- a/docs/news.md +++ b/docs/news.md @@ -21,7 +21,7 @@ in `internal/news/nntpd` (see [Why we vendor](#why-we-vendor-the-server)). | Path | Address | For | |---|---|---| | In-BBS | `ssh -t news@news.profullstack.com` (or `news@bbs.profullstack.com`) | members — zero-setup built-in reader (see below) | -| Native NNTPS | `news.profullstack.com:563` (implicit TLS) | desktop/CLI newsreaders (slrn, tin, Pan, Thunderbird) and agents | +| Native NNTPS | `news.bbs.profullstack.com:563` (implicit TLS) | desktop/CLI newsreaders (slrn, tin, Pan, Thunderbird) and agents | > There is no plaintext public port. NNTP plaintext is served on loopback > `127.0.0.1:1119` only (for the in-process `news@` reader) and is firewalled @@ -64,7 +64,7 @@ Any NNTP library works (e.g. Python `nntplib`, Node `nntp`, Go `go-nntp`): ```python import nntplib -s = nntplib.NNTP_SSL("news.profullstack.com", 563) +s = nntplib.NNTP_SSL("news.bbs.profullstack.com", 563) s.login("your-bbs-name", "") resp, groups = s.list() s.group("pfs.general") diff --git a/setup.sh b/setup.sh index 143e190..6dd808a 100755 --- a/setup.sh +++ b/setup.sh @@ -371,7 +371,7 @@ Humans: ssh -t join@${DOMAIN} ## After joining - Log in: ssh @${DOMAIN} -- Announcements: newsgroup pfs.announce (ssh -t news@${DOMAIN}, or NNTPS news.profullstack.com:563 +- Announcements: newsgroup pfs.announce (ssh -t news@${DOMAIN}, or NNTPS news.${DOMAIN}:563 with AUTHINFO USER PASS ; get a token with: ssh join@${DOMAIN} token) - Discussion: pfs.agents, pfs.general, pfs.support - Earn: run a c0mpute node or sell work at https://c0mpute.com (5% house fee on earnings)