mirror of
https://github.com/profullstack/agentbbs.git
synced 2026-12-01 01:14:47 +00:00
fix(news): advertise news.bbs.profullstack.com:563, the name the NNTPS cert covers
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 <noreply@anthropic.com>
This commit is contained in:
parent
d3a6461091
commit
45c45417d2
3 changed files with 6 additions and 6 deletions
|
|
@ -82,7 +82,7 @@ func (a *app) handleJoinCommand(s ssh.Session, fp string, args []string) {
|
|||
" ssh join@" + a.host + " signup <name> <email> --accept-terms",
|
||||
" ssh join@" + a.host + " verify <code>",
|
||||
" 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 <token>")
|
||||
"nntps: news.bbs.profullstack.com:563 AUTHINFO USER "+u.Name+" PASS <token>")
|
||||
_ = 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)",
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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", "<token from: ssh join@bbs.profullstack.com token>")
|
||||
resp, groups = s.list()
|
||||
s.group("pfs.general")
|
||||
|
|
|
|||
2
setup.sh
2
setup.sh
|
|
@ -371,7 +371,7 @@ Humans: ssh -t join@${DOMAIN}
|
|||
## After joining
|
||||
|
||||
- Log in: ssh <name>@${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 <name> PASS <token>; 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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue