Run make
in this directory.
Run build/aes/aes-test
.
Some automated tests can be executed by running
sudo test/test.py
Manual testing:
- Run
test/setup.sh
to create a test network namespace and veth interface pair. - Load the AES-XDP program:
sudo build/aes/xdp-loader build/aes/xdp_aes.o veth0
- Start receiver:
test/receiver.py 10.1.0.1 6500
- Send packets:
sudo ip netns exec xdp_test test/sender.py 10.1.0.1 6500
- Capture packets with tcpdump:
sudo tcpdump -nn -vv -i veth0
- When done, delete the network namespace with
sudo ip netns delete xdp_test
.