stateful inspection Flashcards
(4 cards)
What is stateful inspection in a firewall?
- Stateful inspection is a firewall technology that monitors the state of active connections and tracks the context of network traffic.
- It inspects the entire connection rather than just individual packets, allowing for better security by ensuring that traffic is part of a valid, established connection.
How does stateful inspection differ from traditional packet filtering?
- Traditional packet filtering only examines individual packets in isolation based on pre-configured rules (e.g., IP address, port number).
- In contrast, stateful inspection tracks the state and context of the connection, allowing the firewall to differentiate between valid and invalid packets even if they are part of the same session
What are the benefits of stateful inspection over basic packet filtering?
The benefits include better security because stateful inspection can recognize and track ongoing communication, ensuring that packets are part of a legitimate session. It also prevents certain types of attacks, like spoofing, by verifying that packets correspond to a valid session.
In stateful inspection, what happens when a new packet arrives?
When a new packet arrives, the firewall checks if it matches the state of an established connection. If it does, the packet is allowed; if not, it is rejected. The firewall tracks the state of each connection and the packet’s sequence to ensure it is part of a valid communication