mirror of
https://github.com/D-Modem/bbs.git
synced 2026-11-28 17:38:04 -08:00
One telnet port serves both kinds of terminal: a client that says it is a 3270 (IBM-327x, IBM-DYNAMIC) is handed to go3270 and gets full 3270 screens with PF keys; any other gets a text BBS with ANSI color where the terminal has it. Modem callers come through the D-Modem suite: app_dmodem's mode = tcp on a raw port, or modemmenu by rlogin, telnet, or a unix socket whose session header (MODEM_*/DMODEM_*) gives the call's details and, trusted, the user modemmenu logged in. Message areas, private mail, who's online, the user list, profiles and self-service sign-up, in SQLite. User text is cleaned of escape sequences and control characters before it is stored and shown; passwords are bcrypt; logins are delayed, limited and throttled per address or caller ID; every step has a size limit and a timeout. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
27 lines
823 B
AMPL
27 lines
823 B
AMPL
module github.com/Neo-Desktop/bbs-sec
|
|
|
|
go 1.22
|
|
|
|
require (
|
|
github.com/racingmars/go3270 v0.9.13
|
|
golang.org/x/crypto v0.31.0
|
|
golang.org/x/term v0.27.0
|
|
modernc.org/sqlite v1.33.1
|
|
)
|
|
|
|
require (
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
github.com/google/uuid v1.6.0 // indirect
|
|
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/ncruces/go-strftime v0.1.9 // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
golang.org/x/sys v0.28.0 // indirect
|
|
modernc.org/gc/v3 v3.0.0-20240107210532-573471604cb6 // indirect
|
|
modernc.org/libc v1.55.3 // indirect
|
|
modernc.org/mathutil v1.6.0 // indirect
|
|
modernc.org/memory v1.8.0 // indirect
|
|
modernc.org/strutil v1.2.0 // indirect
|
|
modernc.org/token v1.1.0 // indirect
|
|
)
|