-
You need to have libhwloc installed on your system:
sudo apt install libhwloc-dev
-
You need to have rust installed on your system:
curl https://sh.rustup.rs -sSf | sh
-
Get the code
git clone https://github.com/gz/netlat.git
-
Build the project
cargo build --release
cd rserver
RUST_LOG='netlat=debug' cargo run --release --bin rserver -- --iface enp94s0f0 --output test --pin 2 --scheduler default --sockets 1 --threads 1 --timestamp hardware --transport udp single
Use cargo run --release -- --help
for more information.
cd client
RUST_LOG='netlat=debug' cargo run --release -- --iface enp94s0f0 --output test --pin 2 --scheduler default --timestamp hardware --transport udp 10000 192.168.100.117:3400
Use cargo run --release -- --help
for more information.