Question

Difficulty: MediumFirewalls and Access Control Lists (ACLs)

A network engineer is configuring traffic filtering between a web application cluster in a DMZ (192.168.100.0/24192.168.100.0/24) and a backend database subnet (172.16.50.0/24172.16.50.0/24). Web application servers must initiate queries to a database server listening on TCP port 54325432. The security architecture incorporates both a stateful inspection firewall and stateless router Access Control Lists (ACLs). Which TWO of the following statements correctly describe the filtering requirements and expected packet behavior for this deployment?

  1. The stateful firewall automatically permits return database response traffic to the DMZ web servers once the outbound connection on TCP port 54325432 is established, without needing an explicit inbound return rule.Answer
  2. The stateless router ACL requires an explicit rule permitting return traffic from TCP port 54325432 back to the DMZ ephemeral port range to allow full bidirectional communication.Answer
  3. C
    PostgreSQL database communication operates exclusively over connectionless UDP port 54325432, requiring ACL rules to specify UDP rather than TCP for state tracking to function.
  4. D
    An extended ACL created with only a single permit rule for port 54325432 will forward all unspecified network traffic because explicit deny statements are required to drop packets.

Answer

The stateful firewall automatically permits return response traffic for established TCP connections without separate return rules, whereas the stateless router ACL requires an explicit permit entry for return traffic targeting ephemeral ports.
Stateful firewalls track TCP connection state, automatically allowing legitimate return packets without needing reverse rules. In contrast, stateless ACLs evaluate each packet in isolation, requiring explicit return rules for response traffic originating from the server back to client ephemeral ports.

Step-by-Step Solution

1
Analyze stateful firewall inspection behavior for TCP traffic.
Stateful firewalls track connection states (such as TCP SYN, ESTABLISHED). Outbound connection permits create state table entries allowing valid reply packets automatically.
Stateful devices dynamically permit return traffic matching active session entries.
2
Evaluate stateless ACL rule requirements for bidirectional packet flows.
Stateless ACLs inspect individual header fields independently for every packet and do not maintain state tables. Return traffic must be explicitly permitted.
Without state tracking, return packets matching database responses will hit the default implicit deny unless permitted explicitly.

Key Concept

Difference between stateful firewall session tracking and stateless ACL per-packet filtering
Rate this question