Boards by directory with anonymous posts and images: thumbnails made in Go (JPEG, PNG, GIF, WebP, told by their bytes), JPEG metadata stripped, duplicates refused by MD5. Threads bump until a bump limit, sage, image limits, pruning off the last page, stickies and closed threads. Tripcodes are 2channel's (a DES crypt(3) of our own, checked against libc's) and secure ones; greentext, >>quotes with backlinks, cross-board links, spoilers and code. Index, thread pages, catalog, password deletion, reports; staff (sysops, a board's mods) delete, ban by address or range, and post with capcodes. Yotsuba, Yotsuba B, Futaba, Burichan, Photon and Tomorrow styles, and 4chan's read-only JSON. bbs chan board|ban on the command line; [chan] in bbs.conf. [http] trusted_proxies: requests from those take their caller's address from X-Forwarded-For (Forwarded, X-Real-IP), the last hop that is not a trusted proxy, for rate limits, logs, the deny lists and the image boards' bans; a proxy's connections are not held to max_per_ip. secure_cookies for TLS at the proxy. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
3.3 KiB
bbs.conf.sample has every option. [general] is the
system (name, database, log, banner, message of the day, timeouts, limits);
each [listen NAME] is a port or unix socket:
type |
what comes in |
|---|---|
telnet |
a telnet client; with tn3270 = yes (the default) 3270s get 3270 screens |
raw |
bytes as they come: app_dmodem's mode = tcp, a modemmenu tcp or unix item |
rlogin |
RFC 1282, as modemmenu's rlogin items speak it |
ssh |
SSH: the text BBS, logged in by password or key (SSH) |
address is host:port, or a path for a unix socket (socket_mode,
socket_group). Any listener may read a session header first (header = yes), and with trust_user = yes take the caller as logged in already: see
Modem callers (not ssh, which logs its callers in itself). petscii and rip say whether
its callers may be Commodores or RIPscrip terminals: PETSCII and RIP; vt
whether terminals are asked what they are: Terminal identification.
The sections
| section | what | page |
|---|---|---|
[general] |
the system: name, sysop, database, log, banner, message of the day, logo, new users, limits, timeouts, file areas' directory and limits | here, Security |
[listen NAME] |
a port or socket callers come in on | here, Modem callers, TN3270 |
[ftp] |
the FTP server for the file areas | Files and FTP |
[news], [nntp], [peer NAME] |
newsgroups, the NNTP server, news peers | Newsgroups and NNTP |
[fido], [binkp], [link NAME] |
FidoNet: our address, the binkp mailer, links | FidoNet |
qwk_id (in [general]), [qwknet NAME] |
QWK packets' name; QWK networks this is a node of | Offline mail |
[door NAME] |
a door program | Doors |
screens_dir (in [general]), [menu NAME], [strings] |
the sysop's screens, menus and prompts | Customization |
scripts_dir (in [general]) |
the sysop's JavaScript | Scripting |
[security] |
deny lists, bans, the hack log | Security |
[event NAME] |
scheduled programs | Sysop tools |
[finger], [gopher] |
the finger and gopher servers | Finger and gopher |
[irc] |
the IRC server for the chat rooms | IRC |
[mrc] |
Multi Relay Chat | MRC |
database (in [general]) |
SQLite's file, or a PostgreSQL, MySQL or MariaDB server | Databases |
[level N], new_user_level, validated_level (in [general]) |
access levels | Access levels |
[http] |
the HTTP API, its WebSockets, the web forum, the web terminal and metrics | HTTP API, Web forum |
[chan], chan (in [http]) |
the image boards | Image boards |
page_command (in [general]) |
telling the sysop of a page when they are not on | Chat and paging |
bbs check reads the file and says what it found, with a warning for
anything risky (a password that may cross in the clear, a socket that
trusts whoever connects, a link without a password).
See also: Modem callers, TN3270, Security