Stateful inspection is a type of packet filtering that helps to control how data packets move through a firewall. Stateful firewall first inspects session table instead of security policy.