~/talk

Dirty Tricks: Using nginx and Lua to thwart bots and skript kiddies

Talkat foss-north 2026 · 2026-04-27..04-28· [security, networking]
links:none on file
slides:none on file

Implements a working Telnet CAPTCHA: an nginx stream module TCP proxy plus Lua generates simple math challenges, tracks attempts, allows two concurrent virtual modems, and drops connections that fail so Nmap and scanners cannot reach the 386 BBS; it successfully protects a retro BBS and a public site. Also demonstrates putting session IDs in DNS hostnames via TLS SNI host-based session IDs to avoid expensive TLS handshakes and reduce CPU under spikes (seen survival at ~90,000 hits).

AI-written summary · about

  1. 0:00Introduction
  2. 1:44Retrocomputing meets work
  3. 3:28Old BBS on the internet
  4. 10:29Rediscovering computers
  5. 13:40Nginx and Lua for telnet BBS
  6. 17:33Lua and Nginx for web protection
  7. 21:06TLS handshake tricks
  8. 25:19Resource-saving techniques
  9. 27:06Resources and closing
  10. 28:39Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.