The packetdrill scripting tool enables quick, precise tests for entire TCP/UDP/IPv4/IPv6 network stacks, from the system call layer down to the NIC hardware. This repository contains about 1.5k testcases for packetdrill.
- TCP
RFC 675, RFC 761, RFC 793, RFC 1180, RFC 4413 - UDP RFC 768
- UDPLite RFC 3828
- SCTP RFC 4960, RFC 4820, RFC 6458, RFC 7053, RFC 3286, RFC 4960
- IPv4
RFC 760, RFC 790, RFC 791 - IPv6 RFC 2460, RFC 4291,
RFC 1883,RFC 2460, RFC 8200
sudo scripts/install-packetdrill.sh
python3 -m venv venv
source venv/bin/activate
pip install -r scripts/requirements.txt
python3 scripts/run-tests.py --discovery
python3 scripts/run-tests.py --report_file junit.xml
python3 scripts/run-tests.py --testplan testplans/testplan-freebsd.json
python3 scripts/run-tests.py --testplan testplans/testplan-linux.json --report_file junit.xml
TODO
- Google, Inc.: https://github.com/google/packetdrill/gtests/net/packetdrill/tests
- FreeBSD Community:
- Michael Tüxen and Netflix, Inc.
- NPLab (Network Programming Laboratory of Münster University of Applied Sciences):