Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Is the pf-kernel maintained by a kernel engineer?


Asked by Taylor Ware on Dec 06, 2021 FAQ



pf-kernel — Provides a handful of awesome features which are not merged into a kernel mainline. Maintained by a kernel engineer. If the port for the included patch for new kernels was not released officially, the patchset provides and supports patch ports to new kernels.
In addition,
What is this? pf-kernel is a desktop-oriented Linux kernel fork. Its name is by no means related to BSD Packet Filter. "pf" stands for "post-factum", the author's nickname. Join #pfkernel @ Libera.Chat IRC.
And, Its name is by no means related to BSD Packet Filter. "pf" stands for "post-factum", the author's nickname. Join official #pfkernel channel @ Libera.Chat IRC.
Accordingly,
Yes, see the handbook on compiling a custom kernel. You can load pf as a module (it will be loaded automatically) but the module doesn't have ALTQ enabled. To get both pf and ALTQ you really need to compile a custom kernel. Keep the sources updated, and use them to build a custom kernel.
Keeping this in consideration,
Although we were only speaking about sockets here, BPF in Linux is used in many more places. There’s xt_bpf for netfilter, cls_bpf in the kernel qdisc layer, SECCOMP-BPF (SECure COMPuting 1 ), and lots of other places such as team driver, PTP code, etc where BPF is being used.