mirror of
https://github.com/D-Modem/bbs.git
synced 2026-11-28 17:38:04 -08:00
[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
7.5 KiB
7.5 KiB
bbs is a bulletin board system in Go for telnet, SSH, TN3270 and modem callers, and part of the D-Modem suite. This is its documentation: how to set it up, how to run it, and how to use everything it does.
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
Start here
| If you want to | Read |
|---|---|
| Try it out in a few minutes | Building, then Running |
| Set up a board for real | Running, Configuration, Databases, Backups |
| Look after a running board | Administration, Sysop tools, Access levels |
| Make it look like your own | Customization, Scripting |
| Take calls by modem | Modem callers |
| Join FidoNet, QWK networks or Usenet | FidoNet, Offline mail, Newsgroups and NNTP |
| Put the board on the web | Web forum, Image boards, HTTP API |
| Work on the code | Development |
Every setting is listed in the Configuration reference,
which is generated from bbs.conf.sample.
What it does
For callers
- Message areas with new scans, searching, threads, votes and polls, written in a full-screen editor
- Private mail, chat rooms, node messages and paging the sysop
- Who's online (with how each caller came in), the user list, the last callers, feedback to the sysop, and a profile of their own
- File areas with X/Y/ZMODEM, Kermit and IND$FILE transfers, and an FTP (FTPS) server
- Offline mail: QWK packets of new messages, and REP packets of replies
- Doors: DOS door games in dosemu2, Linux programs, and door networks such as BBSLink and DoorParty
Terminals
- TN3270 screens with PF keys, and 3270 graphics where the emulator has them
- SSH, with passwords or keys
- Commodore 64s in PETSCII and RIPscrip terminals
- VT terminals, with DEC line drawing, monochrome and VT52 support
- Sixel graphics for the logo and pictures
Networks
- FidoNet and other FTN networks: echomail, netmail, file echoes, AreaFix and a built-in binkp mailer
- Newsgroups served by NNTP and exchanged with other news servers
- IRC, where the chat rooms are channels, AIM and ICQ for AIM and ICQ clients on the same chat, and MRC, the chat network shared with other BBSes
- Finger and gopher
On the web
- A web forum of the message areas, in the style of classic forum software (Invision Power Board, vBulletin, phpBB and many more)
- Image boards in the style of kusaba x and 4chan, also shown on the terminals
- A web terminal and an HTTP API with REST, server-sent events and WebSockets
For the sysop
- New users who sign themselves up (or not, with
new_users = no), and access levels with flags, daily limits and validation - Customization with ANSI art, 3270 screens, menus and prompts, and scripting in JavaScript
- SQLite, PostgreSQL, MySQL or MariaDB, with
bbs db copybetween them - Backups while callers are on, and security settings to keep callers out
All pages
| Page | What it covers |
|---|---|
| Building | Go, the go3270 fork, make |
| Running | the first start, systemd, running as its own user |
| Administration | the bbs command: users, areas, files, mail exchange |
| Sysop tools | the sysop's menu inside the BBS, and scheduled events |
| Configuration | bbs.conf: its sections, listeners and configuration screens |
| Configuration reference | every section and key |
| Databases | SQLite, PostgreSQL, MySQL and MariaDB, and moving between them |
| Backups | making backups, and restoring them |
| Customization | screens (ANSI art, 3270), menus, prompts |
| Scripting | the sysop's own screens in JavaScript, on every terminal |
| Access levels | levels, flags, requirements, daily limits, validation |
| SSH | the SSH listener, keys, host keys |
| Modem callers | app_dmodem and modemmenu, and where callers are |
| TN3270 | 3270 terminals, PF keys, 3270 graphics |
| Sixel graphics | the logo and pictures on sixel terminals |
| PETSCII and RIP | Commodore 64s and 128s; RIPscrip graphics and buttons |
| Terminal identification | how VT terminals are recognised: DEC graphics, monochrome, VT52 |
| Message areas | reading, new scans, searching, votes and polls |
| Writing messages | the full-screen editor, the line editor, the 3270 editor |
| Offline mail | QWK packets, REP replies, QWK networks |
| Files and FTP | file areas, the FTP (FTPS) server |
| File transfers | X/Y/ZMODEM, Kermit, IND$FILE |
| Doors | DOS doors in dosemu2 (Docker), Linux doors, doors on other systems |
| Newsgroups and NNTP | the NNTP server, news peers |
| FidoNet | echomail, netmail, binkp, file echoes, AreaFix, nodelists |
| Chat and paging | chat rooms, node messages, paging the sysop |
| IRC | the IRC server, with the chat rooms as channels |
| AIM and ICQ | the OSCAR server: AIM and ICQ clients, buddies, IMs and chat rooms |
| MRC | Multi Relay Chat: chat rooms shared with other BBSes |
| Finger and gopher | who is on, and the BBS in gopherspace |
| Web forum | the message areas as a web forum |
| Image boards | anonymous image boards, in the style of kusaba x and 4chan |
| HTTP API | REST, events, WebSockets in JSON and protobuf, tokens, metrics |
| Security | what is guarded, and how |
| Development | the source's layout, the shared screens, the tests |
More
- The wiki is also a website: d-modem.github.io/bbs.
- Planned work is in TODO.md.
- The other parts of the suite are listed in the README.