Concepts / Proxies and smarter firewalls

Proxies and smarter 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.

The WAF answers bad requests itself
The WAF answers bad requests itself

A request that matches a rule gets 403 or 429 from the WAF and never reaches the application. Rules catch known patterns only, so the application must still be safe on its own.

A web application firewall (WAF) is a reverse proxy in front of a web application that refuses requests matching its rules. It reads each request (path, query, headers, body size, rate per client) and answers 403, 413 or 429 itself; the rest is passed on with X-Forwarded-For. Rules catch known patterns such as [[sql-injection]], not every way of writing them: the application must still be safe on its own.

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab