stateful firewall
termnetworkingsecurity
A firewall that tracks connections, allowing return traffic automatically for sessions it saw begin - judging flows, not lone packets.
The contrast is the stateless packet filter, which evaluates every packet as a stranger.