The poor man's WAF

188 · knrdl · Jan. 26, 2025, 1:08 p.m.
Summary
This blog post discusses how to create a simple Web Application Firewall (WAF) using the Caddy reverse proxy to mitigate automated scans, scraping, and unwanted traffic by blocking IPs from major corporations and utilizing specific filters for user agents, paths, and HTTP methods. The author shares practical Python scripts and filtering techniques to enhance security for small, personal web servers.