Concepts / Firewalls

Firewalls

Web application firewall

Also called WAF, reverse proxy, ModSecurity, rate limit, 429, 413, X-Forwarded-For

A reverse proxy in front of a web application that refuses requests matching its rules before they reach it.

It reads each request (path, query string, headers, body size, rate per client) and answers 403, 413 or 429 itself, logging the rule that fired; everything else is passed on with X-Forwarded-For. Its rules catch known patterns, such as SQL injection or a scanner's user agent, not every way of writing them: a WAF is a filter in front of an application that must still be safe on its own, and its log is where false positives show first.

See it on real machines

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Start with a free account: Google or email, no card.

Open this lab