GithubHelp home page GithubHelp logo

Comments (4)

qdeslandes avatar qdeslandes commented on April 28, 2024 1

Thanks for raising this issue!

I haven't tested all the various kernel versions, but my expectations are the following:

  • Kernel 5.19+
  • libbpf 1.0+

I use Fedora 38 with Linux 6.4.10 and libbpf 1.1 without any issue. For Ubuntu:

I won't do much about Ubuntu 22.04 due to the old userspace headers, but 23.10 should work fine. For 22.10, even though it doesn't meet the libbpf 1.0 requirements, it might work, but I probably won't dedicate development time to support it.

I will update the readme with more details about my configuration. Hopefully, I'll be able to investigate the Ubuntu runtime issue soon and list supported Ubuntu versions in the readme.

from bpfilter.

kevinworth avatar kevinworth commented on April 28, 2024 1

This is great info, thank you! Will close this issue since there's at least some base information for folks who are getting started.

from bpfilter.

kevinworth avatar kevinworth commented on April 28, 2024

A little more digging into the in-tree versions of libbpf:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/lib/bpf/libbpf_version.h?h=v5.18 has libbpf version 0.8
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/lib/bpf/libbpf_version.h?h=v5.19 has libbpf version 1.0

So if the kernel needs to be in-sync with at least libbpf 1.0 level of support, perhaps the minimum linux kernel version for bpfilter is 5.19. However, I'm unsure how much of libbpf's "transparent handling of older kernel versions" should be helping reduce dependency here.

from bpfilter.

qdeslandes avatar qdeslandes commented on April 28, 2024

Also, with support for BPF_PROG_TYPE_NETFILTER in progress, the minimal kernel version will soon be bumped.

from bpfilter.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.