Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/x86taka/xdp-etherip
Implementation of EtherIP with XDP
https://github.com/x86taka/xdp-etherip
ebpf ebpf-programs etherip xdp
Last synced: 2 months ago
JSON representation
Implementation of EtherIP with XDP
- Host: GitHub
- URL: https://github.com/x86taka/xdp-etherip
- Owner: x86taka
- License: mit
- Created: 2023-11-12T12:44:44.000Z (about 1 year ago)
- Default Branch: dev
- Last Pushed: 2024-11-20T07:37:14.000Z (2 months ago)
- Last Synced: 2024-11-20T08:29:02.143Z (2 months ago)
- Topics: ebpf, ebpf-programs, etherip, xdp
- Language: Go
- Homepage:
- Size: 67.4 KB
- Stars: 11
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# XDP-EtherIP
Implementation of EtherIP with XDP
Supported Features
- [x] Ether over IPv6
- [x] TCP MSS Clamping## Build
In modern Linux systems, `bpf_helper_defs.h` is expected to be built. By running the following script, it will fetch the necessary kernel code. Please ensure you use the script according to your kernel version.
```shell
./gen_bpf_helper.sh
```Install development packages
```shell
sudo apt install clang llvm libelf-dev build-essential linux-headers-$(uname -r) linux-libc-dev libbpf-dev gcc-multilib clang-format
```Let's build Go & eBPF
```shell
make
```## Run
```shell
./bin/xdp-etherip# Use options
./bin/xdp-etherip --device eth2 --device eth3
```## Test
```shell
make test
```