An open API service indexing awesome lists of open source software.

https://github.com/tbarbette/kforward

Very simple linux module to send back all packets received on an interface to the same interface
https://github.com/tbarbette/kforward

Last synced: about 2 months ago
JSON representation

Very simple linux module to send back all packets received on an interface to the same interface

Awesome Lists containing this project

README

        

# Counting or Forwarding module

kforward use the rx\_handler facility while xdp\_forward hijacks XDP to receive
the packets using a normal functions (and not BPF). Works only with driver implementing XDP (i40e, ixgbe, but probably a lot of others too).

The XDP version only supports counting.

KERNEL_DIR=/mnt/traces/linux-any ./build.sh
KERNEL_DIR=/mnt/traces/linux-4.13-rc1 ./build.sh XDP=m