Concepts / Detection

Detection

Fail open and fail closed

Also called fail-open, fail-closed, fail safe, fail secure, bypass, inline vs passive

What an inline security device does to traffic when it stops: let it all through, or let none through.

The device stops: pass everything or nothing
The device stops: pass everything or nothing

Fail open keeps the network working with nobody checking the traffic. Fail closed keeps it protected by turning the failure into an outage.

Fail open and fail closed are what an inline security device (an IPS, a firewall, a proxy) does to traffic when it stops working. Fail open lets everything pass unchecked: the network works, unprotected (NFQUEUE's --queue-bypass, a hardware bypass switch). Fail closed passes nothing: protected, and an outage. The choice is policy, availability against security. When a passive sensor on a mirror port stops, only visibility is lost.

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