- ncurses
- libpcap
So before you compile the source code, you should install them.
In ubuntu
, you can install the dependencies by the following commands:
sudo apt install libncurses-dev
sudo apt-get install libpcap-dev
git clone https://github.com/RileyWen/arp-net-speed-controller.git
cd arp-net-speed-controller
cmake -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" .
make -j 4
- Since
TCP Segmentation
has yet to implement, you should useethtool
to turn off all receive offload on the network interface. e.gsudo ethtool -K wlan0 gro off
- Since the forwarding part is based on
libpcap
, you should turn off system kernel forwarding. e.g.sudo sysctl -w net.ipv4.ip_forward=0
-T --target-ip=<target IP> 'Target' is the device you want to attack
-t --target-mac=<target MAC>
-G --gateway-ip=<gateway IP> 'Gateway' is often the router in your subnet
-g --gateway-mac=<gateway MAC>
-S --self-ip=<IP of this device> 'Self' means the device running this program
-s --self-mac=<MAC of this device>
-h --help Print this help info