10.5.4.2. Packet filters
The first line of defense is a packet filter, which can
look inside IP packets and make decisions based on the content.
Most common is the Netfilter
package, providing the iptables command, a
next generation packet filter for Linux.
One of the most noteworthy enhancements in the newer kernels is
the stateful inspection feature, which not only tells what
is inside a packet, but also detects if a packet belongs or is
related to a new or existing connection.
The Shoreline Firewall or
Shorewall for short is a front-end
for the standard firewall functionality in Linux.
More information can be found at
the Netfilter/iptables project page.