Comments (5)
Hey!
It appears you're using a newer version of LibBPF that breaks the build process. I'll have to look into this further, but for now I'd recommend going back to LibBPF 7fc4d50 by either doing cd libbpf && git checkout 7fc4d50
or re-cloning the repository (or deleting the libbpf
clone) and performing git submodule update --init
which should automatically checkout the commit that works with the firewall.
You may also use the following to clone the repository and its submodules (e.g. LibBPF using the correct commit).
git clone --recursive https://github.com/gamemann/XDP-Firewall
I'm going to keep this issue open since I want to get the tool working with the latest version of LibBPF or the newer XDP loader (libxdp) in the future once I have the time. The last time I used libxdp
, it was pretty unorganized, but that was months ago. So it has probably changed since.
from xdp-firewall.
Thanks for the hint! Yea, it would be great if newest libxdp worked of course.
I'm pretty happy this runs on stock Debian 11, thank you for your work! :)
from xdp-firewall.
No problem and thank you! I agree it's awesome things can work on vanilla Linux OS's for XDP compared to other network libraries such as the DPDK which usually require additional changes ๐
from xdp-firewall.
Thanks for the hint! Yea, it would be great if newest libxdp worked of course. I'm pretty happy this runs on stock Debian 11, thank you for your work! :)
This workaround also works with Ubuntu 20 / 22. Thanks.
from xdp-firewall.
I finally got around to implementing support for LibXDP today! You can read more about this here.
GitHub's workflow builds and runs everything successfully along with a vanilla Ubuntu 23.04 VM I tried it on today.
I am going to close this issue for now.
from xdp-firewall.
Related Issues (20)
- not drop
- [Feature Request] New settings/things HOT 3
- can u take a look into this? HOT 1
- thx for the mit license HOT 3
- How to check for stats HOT 3
- Cidr/Subnet support & Some small things HOT 1
- Add Feature detect Hex and String? HOT 1
- Build error HOT 5
- LibBPF fails to load xdp_prog HOT 3
- Improve the TCP flags checking process HOT 3
- New Update can't make HOT 14
- successful compilation, but xdpfw output errors then starting HOT 6
- Ubuntu 22 and Ubuntu 20 failed to load dispatcher and xdp_pass
- this project have problem botnet attack 50-100Mpps HOT 3
- not support native๏ผ HOT 1
- Add feature to block invalid arps ? HOT 2
- libbpf ERRO HOT 1
- Milehigh.world HOT 1
- Blocking (All Protocols, not just TCP) Traffic Problem performing Deep Packet Inspection with eBPF
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xdp-firewall.