GithubHelp home page GithubHelp logo

Comments (5)

qdeslandes avatar qdeslandes commented on April 16, 2024

Hi!

I tried bpfilter on latest bpf-next changes, and everything is fine on my side:

[  935.679528] bpfilter: Loaded bpfilter_umh pid 10526
[  935.680291] bpfilter: log file opened and ready to use
[  935.680393] bpfilter: generate forward packet assessment
[  935.680422] bpfilter: fixup counter for rule 0
[  935.680451] bpfilter: generate forward packet assessment
[  935.680473] bpfilter: fixup counter for rule 1
[  935.680502] bpfilter: fixup counter for rule 2
[  935.680921] bpfilter: opened BPF map with FD 3
[  935.682306] libbpf: Kernel error message: Exclusivity flag on, cannot modify
[  935.683390] libbpf: Kernel error message: Exclusivity flag on, cannot modify
[  935.684148] libbpf: Kernel error message: Exclusivity flag on, cannot modify
[  935.684190] bpfilter: installed filter table

My guess is that this error is commit from a missing configuration. Could you share your .config file?

Also, I've pushed a few new commits to fix a couple of issues I found out, although I don't expect those to solve your problem.

from bpfilter.

Haxverse avatar Haxverse commented on April 16, 2024

Hello,

That's weird, alright. I personally think the ifindex is part of the problem, anyway, here's my current .config file: https://pastebin.com/raw/RKN6RgPJ

Thanks a lot,
Mr. Hax

from bpfilter.

qdeslandes avatar qdeslandes commented on April 16, 2024

I personally think the ifindex is part of the problem

Seems like it. I added a comment to README.md to explain how to modify the interface index. Feel free to try it! :)

from bpfilter.

qdeslandes avatar qdeslandes commented on April 16, 2024

@Haxverse did changing the ifindex solved it?

from bpfilter.

qdeslandes avatar qdeslandes commented on April 16, 2024

Closing this issue as it is most likely fixed now.

from bpfilter.

Related Issues (3)

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.