prototype-kernel
prototype-kernel copied to clipboard
Prototyping kernel development work outside mainline
The BPF [samples/bpf/](https://github.com/netoptimizer/prototype-kernel/tree/master/kernel/samples/bpf) in this repo does NOT compile against newer kernel (according to Yoel: kernels >= 4.19). This is caused by the kernel source changed, and added more use-cases...
The documentation about `AF_XDP` on [kernel.org](https://www.kernel.org/doc/html/v4.18/networking/af_xdp.html) seems also to be focused on end users instead of kernel developers, shouldn't it be better to merge the documentation in this repository into...
I'm trying to build the `bpf` modules. Inside the `kernel/samples/bpf` directory I'm running `make kbuilddir=/home/kernel/linux-5.3/` The first time, `autoconf.h` was missing, which I fixed by running `make prepare` in the...
Hi, I am using your DDoS ebpf program with Intel 10G dual-port. it works great with first port, I am wondering how I can add second port to this program?...
As far as I can tell, when using the SEC("maps") convention, there is no definition of bpf_map_def in a header file accessible outside the kernel. So it's necessary for the...
First of all thank you for this project. I had a hard time building the bpf/XDP samples in the kernel tree and this project worked much more smoothly. This PR...
``` ./xdp_ddos01_blacklist_cmdline --list { "172.20.0.1" : 0, "198.18.50.3" : 0, "80" : { "UDP" : 0 } } Segmentation fault (core dumped) ```
The following short option reports invalid option ``` # ./xdp_ddos01_blacklist_cmdline -l ./xdp_ddos01_blacklist_cmdline: invalid option -- 'l' ```
Some programs need to have descriptive details on what each of the arguments do and how to use them.