A network security administrator is configuring a stateful perimeter firewall and documenting how the device inspects incoming network traffic. When an initial TCP SYN packet initiating a new session arrives at the untrusted external interface destined for an internal server, the firewall executes specific operational phases to process the request. In what chronological order, from first to last, does the stateful firewall process this new incoming connection attempt?
- 1The firewall inspects its active connection state table to check if the packet belongs to an already established session.
- 2The firewall evaluates the packet header attributes against the configured access control policy rules sequentially from top to bottom.
- 3The firewall creates a new dynamic session entry in its state table recording the 5-tuple connection parameters.
- 4The firewall performs a routing table lookup and forwards the packet out the destination interface toward the target server.
Answer
The correct sequence of stateful firewall operations is: 1) Inspect the active connection state table for an existing session match, 2) Evaluate the packet against static ACL security rules sequentially from top to bottom upon a state table miss, 3) Create a new session entry in the state table using the 5-tuple details after matching a permit rule, and 4) Perform routing table lookup and forward the packet to the destination interface.
Stateful firewalls operate by maintaining session state across network connections. When an inbound packet arrives, the firewall first checks its active connection state table (Item 1). Because an initial TCP SYN packet represents a new session, it results in a state table lookup miss. Next, the firewall evaluates the packet against the configured security policy / ACL rules sequentially from top to bottom (Item 2). If an explicit permit rule matches the packet, the firewall instantiates a new dynamic session entry in the state table capturing the 5-tuple connection metrics (Item 3). Finally, the firewall determines the outbound interface via a routing lookup and forwards the packet to its destination (Item 4).
Step-by-Step Solution
Key Concept
Stateful Inspection Workflow and State Table Dynamics
Estimated Time:2m 0s