// the take
A single-file Lua script for OpenResty/Nginx that puts visitors through a JavaScript challenge page before allowing access, similar to Cloudflare's 'I'm Under Attack Mode'. It's for self-hosters who want bot/DDoS mitigation without routing traffic through a third-party CDN. The entire implementation lives in one ~2500-line Lua file.
The core mechanism is sound: running the challenge at the Nginx access phase means blocked requests never hit your application. Support for multiple backend stores (redis, memcached, shared dict, lrucache) is a real design choice that lets you match your existing stack. The WAF feature set — inspecting POST bodies, query strings, headers, and cookies for injection patterns — is broader than most self-hosted alternatives. Active maintenance (last push June 2026) with proper DEB/RPM packaging via CI means it's not abandonware.
The JavaScript challenge is trivially bypassed by any headless browser, which is the majority of serious DDoS tooling today — this stops script-kiddies, not determined attackers. The README is a SEO-keyword dumping ground masquerading as documentation; actual configuration guidance is sparse and you'll need to read the source to understand the 200+ settings. Claims like 'protects against zero-day exploits, Rainbow Tables, and John the Ripper' are marketing nonsense — a challenge page doesn't stop offline password cracking. The entire logic in one 2500-line file with configuration hardcoded at the top makes upgrading painful and audit surface large.
We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →