Skip to content
 
 

Repository files navigation

BPF-based packet filtering framework

bpfilter is a daemon and shared library aiming to translate packets filtering rules into BPF programs.

Build from sources

bpfilter requires an up-to-date system running Linux 6.4+ and libbpf 1.2+. Build dependencies are the following on Fedora 38:

sudo dnf install -y \
    cmake libbpf-devel \
    libcmocka-devel clang-tools-extra lcov \
    doxygen python3-sphinx python3-breathe python3-furo

To build bpfilter (from the source directory):

cmake -S . -B build
make -C build -j

bpfilter daemon will be in $BUILD/src/bpfilter, and libbpfilter.so will be in $BUILD/lib/libbpfilter.so.

License

bpfilter is GPLv2 licensed, as found in the COPYING file.

bpfilter was originally developed by Dmitrii Banshchikov as a Linux kernel usermode helper.

About

BPF-based packet filtering framework

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages