A method is provided for implementing a firewall in a firewall
architecture. The firewall architecture includes a plurality of network
layers and a first firewall engine. The layers send packets and packet
information to the first firewall engine, maintain and pass packet
context to subsequent layers, and process the packets. The first firewall
engine compares the packet information to one or more installed filters
and returns an action to the layers indicating how to treat the packet.