L4 mechanics

Looks at TCP headers only. Preserves connection. Fast — millions of connections. Blind to HTTP.

Advertisement

L4 mechanics

Looks at TCP headers only. Preserves connection. Fast — millions of connections. Blind to HTTP.

Advertisement

L7 mechanics

Terminates TCP + parses HTTP. Routes by path/header/cookie. Can rewrite. Costs CPU but enables logic.