GithubHelp home page GithubHelp logo

Comments (7)

qdeslandes avatar qdeslandes commented on April 28, 2024 5

This is a great idea! I'm currently working on BPF_NETFILTER program type support for iptables, which slightly will change bpfilter's behaviour when used with iptables. I'll be able to provide up-to-date usage examples after that! :)

from bpfilter.

tengliu0929 avatar tengliu0929 commented on April 28, 2024

Could you please list the python subversion this project used, I tried python3.12, but got some python libs had been deprecated for python3.12.

from bpfilter.

qdeslandes avatar qdeslandes commented on April 28, 2024

@tengliu0929 Could you provide more details about the error? The README lists the required packages for Fedora 38+, are you using a different distribution? Did you install the packages using pip or your package manager?

from bpfilter.

tengliu0929 avatar tengliu0929 commented on April 28, 2024

But I use ubuntu21.04, does this make a difference? I suppose it is the version of python3.12 that does matters, not the pip version

from bpfilter.

tengliu0929 avatar tengliu0929 commented on April 28, 2024

Build error, I tried on ubuntu22.04 and ubuntu23.04, but get the same error, does you not define the macro BPF_NETFILTER?
Uploading BPFILTER.png…

from bpfilter.

qdeslandes avatar qdeslandes commented on April 28, 2024

That's the reason then: BPF_NETFILTER has been added to Linux in version 6.4.

On Ubuntu, their are two ways to build and use bpfilter:

  • Use Ubuntu 23.10 or more recent (e.g. 24.04 when it comes out).
  • Use Ubuntu 22.04 and enable the hadware enablement (HWE) stack.

Both solutions would provide Linux 6.5, which is recent enable to support BPF_NETFILTER.

from bpfilter.

tengliu0929 avatar tengliu0929 commented on April 28, 2024

ok, got it , try later, thank you for your reply.

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.