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
- Host: GitHub
- URL: https://github.com/tbarbette/kforward
- Owner: tbarbette
- Created: 2015-03-26T15:46:54.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-07-27T22:41:35.000Z (almost 8 years ago)
- Last Synced: 2025-02-14T05:29:46.147Z (4 months ago)
- Language: C
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README
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