Network Tutorial, Fifth Edition

When your network is connected to a public network, it is exposed to spies, thieves, hackers, thrill seekers, and various other threats. As the public Internet has come to play a critical role in most everyone's networking strategy, protection from undesirable Internet inhabitants is a necessity. One of the key elements of safe networking is a properly designed and configured firewall system.
There are three basic designs for firewall operation. The first, and simplest, is the packet filter. Most routers can be configured to filter packets based on straightforward comparison of packet contents with filter specifications. For instance, particular IP addresses or subnets, particular TCP or UDP port numbers, or combinations of these properties can always be denied passage.
In most modern routers, adding a security-based filter step to the packet forwarding process will add little or no overhead, so packet-filtering firewalls can have very high performance. Unfortunately, would-be intruders have a number of options for defeating simple filtering. For instance, they can spoof packets to appear as if they come from an acceptable source.
The second basic firewall design enhances packet filtering so that it can't be circumvented by these measures. This process, developed and patented by Check Point Software Technologies (www.checkpoint.com), is known as stateful inspection. Stateful inspection extends the packet-by-packet filtering process to include multipacket flows. A connection table tracks individual flows, enabling policy checks that extend across series of packets. For example, TCP ACK packets not preceded by a TCP SYN packet with a correct...