Packet Filtering

Updated: April 19, 2023

In principle, the pseudo-devices involved with packet filtering are as follows:

The pf pseudo-device is implemented using pfil hooks; bpf is implemented as a tap in all the network drivers. We'll discuss them briefly from the point of view of their attachment to the rest of the stack.