x86taka / xdp-etherip

Implementation of EtherIP with XDP

Repository from Github https://github.comx86taka/xdp-etheripRepository from Github https://github.comx86taka/xdp-etherip

XDP-EtherIP

Implementation of EtherIP with XDP

Supported Features

  • Ether over IPv6
  • 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.

./gen_bpf_helper.sh

Install development packages

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

make

Run

./bin/xdp-etherip

# Use options
./bin/xdp-etherip --device eth2 --device eth3

Test

make test

About

Implementation of EtherIP with XDP

License:MIT License


Languages

Language:Go 50.5%Language:C 42.0%Language:Makefile 4.2%Language:Shell 3.3%