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

libbpf ERRO #48

Open
mraniyah opened this issue Mar 6, 2024 · 1 comment
Open

libbpf ERRO #48

mraniyah opened this issue Mar 6, 2024 · 1 comment

Comments

@mraniyah
Copy link

mraniyah commented Mar 6, 2024

ubuntu@ubunu2004:~/Desktop/XDP-Firewall$ sudo xdpfw -s
libbpf: elf: skipping unrecognized data section(8) .xdp_run_config
libbpf: elf: skipping unrecognized data section(9) xdp_metadata
libbpf: elf: skipping unrecognized data section(20) .eh_frame
libbpf: elf: skipping relo section(21) .rel.eh_frame for section(20) .eh_frame
libbpf: elf: skipping unrecognized data section(7) xdp_metadata
libbpf: prog 'xdp_pass': BPF program load failed: Invalid argument
libbpf: prog 'xdp_pass': failed to load: -22
libbpf: failed to load object '/usr/local/lib/bpf/xdp-dispatcher.o'
libbpf: elf: skipping unrecognized data section(7) xdp_metadata
libbpf: elf: skipping unrecognized data section(7) xdp_metadata
libbpf: elf: skipping unrecognized data section(7) xdp_metadata
Loaded XDP program on mode SKB/generic.
Packets Allowed: 0 | Packets Dropped: 0

Is that correctly working? should I ignore these above?

@gamemann
Copy link
Owner

Hey, I apologize for the long delay (I've been really busy recently)! The warnings/errors above can be ignored, it just has to do with the XDP Dispatcher from xdp-tools trying to load a xdp_pass XDP test program.

When I have the time, I will look into skipping this test in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants