Movies and books, as well as video games will make us further believe that firewalls are some advanced technology, but again the truth is much simpler. Most firewalls are just software and these are actually very simple products that come in a variety of forms.
The first type is the hardware firewall, which is actually an application that is built into your DSL, cable or wireless router. In this case the firewall is the first line of defense, and works by a technique called packet filter, examining the header of a packet, and thus determining its source and destination address. This information is then compared to a set of predefined or user-created rules that determine whether the packet is to be forwarded or dropped. An advanced system called Stateful Packet Inspection (SPI) even looks for other characteristics, including the origin and whether incoming traffic is actually a response to outgoing connections, such as a Web page request. The downside of hardware firewalls is that they can inadvertently treat any local network traffic as safe, which certainly won’t halt the spread of viruses or other threats if even one computer on the network is contaminated.