3 ms·
If you're wondering what BPF is: https://linux-audit.com/bpfilter-next-generation-linux-firewall/ https://linux-audit.com/bpfilter-next-generation-linux-firew..
by nailer 7y ago
If you're wondering what BPF is: https://linux-audit.com/bpfilter-next-generation-linux-firewall/ https://linux-audit.com/bpfilter-next-generation-linux-firew... and https://en.wikipedia.org/wiki/Berkeley_Packet_Filter https://en.wikipedia.org/wiki/Berkeley_Packet_Filter
- cgh 7y agoMany people are surprised to learn that Linux (and I guess some of the BSDs?) have a virtual machine that runs in the kernel and executes its own specific bytecode. LLVM has a BPF backend, as mentioned in this article.
- bifrost 7y agoPretty sure BPF originated in BSD land :) Prior to BPF there was "Enet Packet Filter", then Ultrix Packet Filter then something under SunOS before it became BPF. BPF was created in 1990 (at Berkeley) which was widely BSD oriented.
- lelf 7y ago> and I guess some of the BSDs? BPF, BSD — notice the first letter is the same ;-) Also, many systems (some BSDs, SmartOS, macOS, Windows10, …) have an in-kernel VM for running dtrace bytecode.