A firewall generally operates in two modes, namely:
- Stateful packet inspection
- Stateless packet inspection
Fun factGenerally, during an interview for the post of a security engineer, there are a lot of questions related to this specific topic, as there can be confusion regarding how the stateful and stateless filters work.