gobpf
Go bindings for creating BPF programs. (by iovisor)
xdp-firewall-tutorial
Drop packets with XDP & Golang tutorial repo (by xenbyte)
gobpf | xdp-firewall-tutorial | |
---|---|---|
2 | 2 | |
2,163 | 22 | |
0.6% | - | |
0.0 | 2.9 | |
over 1 year ago | over 1 year ago | |
C | C | |
Apache License 2.0 | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gobpf
Posts with mentions or reviews of gobpf.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-03-10.
-
eBPF Documentary
This [1] makes me think gobpf uses C bindings to bcc, so golang does not compile to eBPF, bcc does.
[1] - https://github.com/iovisor/gobpf/tree/master/bcc
-
Simple XDP Firwall with Golang
gobpf by iovisor which provides go bindings for the bcc framework as well as low-level routines to load and use eBPF programs from .elf files.
xdp-firewall-tutorial
Posts with mentions or reviews of xdp-firewall-tutorial.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-01.
-
Simple XDP Firewall with Golang
If you're having issues compiling, check out the source code and check if there's anything missing, or comment down below.
-
Simple XDP Firwall with Golang
The Kernel side is written in C or Rust (We'll be using C), and is compiled into the eBPF byte code format that is verified and JIT-compiled in the kernel. I'll be writing the XDP application with a User-Space controller written in Go. I should mention that writing complex eBPF programs requires much more context than what we'll be doing today. There is a lot to know about eBPF and XDP. We will barely scratch the surface. All the code for this project can be found in here.
What are some alternatives?
When comparing gobpf and xdp-firewall-tutorial you can also consider the following projects:
goebpf - Library to work with eBPF programs from Go
ebpf - ebpf-go is a pure-Go library to read, modify and load eBPF programs and attach them to various hooks in the Linux kernel.
libbpfgo - eBPF library for Go. Powered by libbpf.