unixhot/waf
使用Nginx+Lua实现的WAF(版本v1.0) observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4007
- days_rel: n/a
- days_push: 1122
- n_releases_24m: 0
Adoption not part of the score
1450 stars · 510 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A lightweight Web Application Firewall (WAF) implemented with Nginx + Lua (OpenResty). It provides IP black/white lists, URL and User-Agent filtering, CC attack protection, and JSON-format attack logging.
Use cases
- protect nginx-hosted sites from common web attacks
- block malicious IPs with a blacklist
- rate-limit requests to mitigate CC attacks
- filter suspicious URLs and query parameters
- log blocked requests in JSON for ELK analysis
When to choose
- you already run Nginx or OpenResty and want simple built-in WAF protection
- you need lightweight, rule-based filtering without a separate appliance
- you want JSON attack logs for centralized analysis
When to avoid
- you need advanced WAF features like full OWASP CRS coverage or machine-learning detection
- you want a managed or actively developed commercial-grade firewall
- you don't control your Nginx/OpenResty configuration
Facets
library · maturity maintenance
security middleware logging security web-development backend waf web-application-firewall nginx-lua rate-limiting ip-blacklist cc-attack-protection -logging nginx openresty linux
1 source
- readme: https://github.com/unixhot/waf · fetched 2026-08-28 · 5f8b5ec71a20
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| unixhot/waf | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem