[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
3.6 KiB
bbs
A bulletin board system in Go for telnet, SSH, TN3270 and modem callers.
One telnet port serves every kind of terminal: a TN3270 client (x3270, c3270, wc3270, Vista, PCOMM) gets full 3270 screens with PF keys, through go3270; any other client gets a text BBS with ANSI colour where the terminal has it. Modem callers come in through the D-Modem suite: app_dmodem straight from Asterisk, or modemmenu after its login.
D-Modem BBS
Node 2, modem at 26400 bit/s
Name (or NEW): alice
Password: **********
Welcome, alice.
Main menu
[M] Message areas [E] E-mail (1 new)
[W] Who's online [U] User list
[P] Your profile [I] System info
[C] Chat [S] Page the sysop
[G] Goodbye
- Message areas, private mail, chat, paging and doors (DOS doors in dosemu2, or Linux programs)
- File areas with X/Y/ZMODEM, Kermit, IND$FILE and FTP
- Networks: FidoNet and other FTNs, QWK, NNTP newsgroups, IRC, AIM and ICQ, and MRC
- Terminals: ANSI, VT, PETSCII, RIPscrip, sixel and 3270 graphics
- On the web: a forum, image boards, a web terminal and an HTTP API
- SQLite, PostgreSQL, MySQL or MariaDB
The full list is on the wiki's home page.
Quick start
Go 1.24 or later:
make # or: go build ./cmd/bbs
bbs -config /etc/bbs/bbs.conf config # the configuration screens (begun from the sample)
bbs -config /etc/bbs/bbs.conf check # the configuration, its warnings
bbs -config /etc/bbs/bbs.conf init # the database, with two areas
bbs -config /etc/bbs/bbs.conf user add sysop -sysop
bbs -config /etc/bbs/bbs.conf serve
bbs.conf.sample has every option, and bbs.service.sample runs it under systemd.
Documentation
The documentation is also a website, d-modem.github.io/bbs, with reference pages made from the code.
The documentation is in the wiki: start with Building,
Running and Configuration. Its pages are
kept in docs/wiki, where they are edited; the
Wiki workflow publishes them. Future work is
in TODO.md.
The D-Modem suite
| Repository | What it is |
|---|---|
| D-Modem | The open V.92 softmodem: dmodemd, libdmodem and the Asterisk, FreeSWITCH and ARI modules |
| app | The D-Modem app for Android and iOS: a dial-up modem on a SIP call |
| hardware | pico-serial: RP2040 serial adapters and phone-line USB sticks |
| menu | modemmenu: the login and menu dial-up callers reach |
| bbs | A bulletin board for telnet, SSH, TN3270 and modem callers |
| go3270 | A Go library for 3270 terminal servers, used by bbs |
| brand | Logos, colours, type and the naming guide |
Licence
AGPL-3.0-only (LICENSE), or a commercial licence from the D-Modem Authors (COMMERCIAL-LICENSE.md). Contributions come with a contributor agreement (CONTRIBUTING.md).