Run some old-school services like Telnet, QOTD or Finger
| bbs | ||
| bin | ||
| doc | ||
| finger-smallweb | ||
| .editorconfig | ||
| .gitignore | ||
| docker_build_qotd.sh | ||
| fingerinfo.db | ||
| LICENSE | ||
| logo.txt | ||
| Makefile | ||
| mfingerd.service | ||
| qotd.Dockerfile | ||
| README.md | ||
| requirements.txt | ||
Malte's BBS
Installation
Although not necessary, you should copy all files to a directory.
The default is /opt/bbs (following the Filesystem Hierarchy Standard).
Start by downloading required 3rd party files using the Makefile:
make all
Install the BBS itself (Telnet)
- Configure inetd in
/etc/inetd.conf:
telnet stream tcp4 nowait nobody /usr/sbin/tcpd /usr/sbin/telnetd --no-hostinfo --exec-login=/opt/bbs/bin/minishell-telnet
Quote of the Day
Add the following line to /etc/inetd.conf:
#qotd dgram udp4 wait nobody /opt/bbs/bin/qotd
qotd stream tcp4 nowait nobody /opt/bbs/bin/qotd
mFingerd
mFingerd is started using it's own systemd unit file, and not by inetd.
You can install the .service unit using make:
make install_systemd
Currently you need to manually change the install location in
mfingerd.serviceif it differs from/opt/bbs(optionWorkingDirectory in the section[Service]`)
Launch mFingerd using inetd
You can also launch mFingerd using inetd, instead of running it's own systemd service:
finger stream tcp4 nowait nobody /opt/bbs/bin/finger-inetd
Files
- Common files
README.mdLICENSEMakefileexcuses(Downloaded by Makefile target)
- mFingerd
mfingerd.servicemfingerd.pybofh.pylogo.txt
- QOTD
qotd(Just a wrapper for fortune)
- BBS
minishell- `bbs_env.py
bofh.py