Skip to content

packet-doubler: double the outgoing traffic according to BPF rule

License

Notifications You must be signed in to change notification settings

simonchen24601/packet-doubler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

packet-doubler

runtime

runtime dependants

  • glibc

static build, no longer require 3rd lib

ldd PacketDoubler 
        linux-vdso.so.1 (0x00007ffdbc1ce000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f102aa5e000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f102acbc000)

build

build dependants

  • libpcap.a
  • libnet.a

build release

  • mkdir -p build && cd build
  • cmake ../ -DCMAKE_BUILD_TYPE=Release
  • make

etc:

  • use -DCOOKED macro to enable cooked package filter
  • use ethtool -K $ETH_NAME tso off to disable TSO

About

packet-doubler: double the outgoing traffic according to BPF rule

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 90.8%
  • CMake 9.2%