Stateless & Stateful Firewall
Stateless and Stateful Firewalls are 2 commonly referred to as Firewall types. In Stateless vs Stateful firewall, Stateless Firewall works by treating each packet as an isolated unit, Stateful firewalls work by maintaining context about active sessions and use “state information” to speed packet processing.
In fact, Stateful Firewalls use the concept of a state table where it Stores the state of legitimate connections. Stateless Firewall filters based on header information in a packet like Source IP, Destination IP, port number etc. On the contrary, Stateful Firewalls filter packets by matching to valid states in the state table.
Some of the benefits that can be reaped from Stateless Firewalls include faster performance and low memory utilization. Stateful Firewalls benefits include higher security and performing application layer filtering to a certain level.
Stateless vs Stateful Firewalls –
|PARAMETER||STATELESS FIREWALL||STATEFUL FIREWALL|
|Philosophy||Treats each packet in isolation and does not relates to connection state||Stateful firewalls maintain context about active sessions and use “state information” to speed packet processing
|Filtering decision||Based on information in packet headers||Based on flows
|Memory and CPU intensive||Low||High
|Related terms||Header info, IP address, port no etc.||State information, pattern matching etc.
Download the difference table here.
Hope through the above comparison table you would have understood the difference between stateless and stateful firewall. Read these differences as well –