I am doing some research to figure out what distro's of linux contain kernel packet filtering and are compatible with BPF. http://kernelnewbies.org/Linux_3.0http://lwn.net/Articles/437981/These two articles lead me to believe there is a package somewhere taht includes the libraries, and binaries?I am specifically looking for the pfctl command like I have in FreeBSDThanks
Is berkeley packet filter ported to linux?
linux;networking;firewall;pf
I think you have mixed two different things:The OpenBSD packet filter facilities (sometimes called pf, and mostly controlled by pfctl).  These are the basis of OpenBSD firewalling, the Linux equivalent is netfilter, mostly controlled by the iptables command.  Comparable, but not compatible (and most say that OpenBSD is superior to Linux in this aspect).The (Berkeley) packet filter (mostly controlled by the libpcap library). This is a feature of the kernel that allows an application to be notified of packets flowing through a network interface.  Since usually any client is only interested in a subset of all packets, most of the library is about filtering which packets should be forwarded to the application and which shouldn't.  It's used for network analyzers like tcpdump and Wireshark.The articles you link are not about a port of the OpenBSD pf, instead they describe a new JIT that optimizes the kernel-resident filters used by libpcap.