Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate user-defined BPF (sub)programs #187

Open
qdeslandes opened this issue Jan 21, 2025 · 0 comments
Open

Integrate user-defined BPF (sub)programs #187

qdeslandes opened this issue Jan 21, 2025 · 0 comments
Labels
area: codegen BPF bytecode generation

Comments

@qdeslandes
Copy link
Contributor

Allow users to provide pre-compiled BPF programs to perform filtering in-place of a rule in the generated BPF program.

For example:

chain ...
    rule
        ip6.addr ::1
        ACCEPT
    rule
        meta.program ~/bpf/test.o
        counter
        DROP

The custom BPF program would be called when the rule is processed and returned whether it matches the packet's data, the program would apply (or not) the verdict.

@qdeslandes qdeslandes added this to the 2025 H1 Roadmap milestone Jan 21, 2025
@qdeslandes qdeslandes added the area: codegen BPF bytecode generation label Jan 21, 2025
@qdeslandes qdeslandes moved this to To do in bpfilter's roadmap Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: codegen BPF bytecode generation
Projects
Status: To do
Development

No branches or pull requests

1 participant