Nginx and Lua-based math-challenge for proxied telnet connections
Find a file
2025-04-20 13:33:19 +00:00
.gitignore Flip .gitignore around 2024-08-11 16:12:18 +00:00
bbs_math.lua Fix detecting of end-of-line on input 2025-04-20 13:32:21 +00:00
LICENSE Create LICENSE 2024-08-11 18:06:21 +02:00
museum_math.lua Add telnet captcha for floppy museum guestbook 2025-04-20 13:33:19 +00:00
nginx.conf Add telnet captcha for floppy museum guestbook 2025-04-20 13:33:19 +00:00
README.md Update README.md 2024-08-11 18:31:16 +02:00

Challenging Telnet-proxy

In order to protect my BBS nodes - which run on rather old hardware - from abuse, I created this Nginx-and-Lua-based stream proxy for Telnet connections. It will present the user with a (very) simple mathematical challenge.

My BBS

Take a look at http://floppy.museum/bbs.htm for details. At the moment, it's running on Synchronet for OS/2 and DOS; other nodes and different flavors may be added in the future.

Pictures:

Assumptions

This configuration assumes that the nginx package is installed on FreeBSD, and that it is compiled with stream support, Lua and Lua Stream modules.

More information about the required 3rd party modules can be found at

Running on other platforms

I've made every attempt to make sure the nginx.conf itself and the Lua code in bbs_math.lua are reasonably well documented. Making this work on other platforms than FreeBSD should be a simple matter of modifying some paths here and there - as long as the required nginx modules are installed.

Running in docker

No, I have no idea how you can run this in docker or whatnot. I'm happy to take PRs though. :)