/tcp-testsuite

TCP Testsuite for FreeBSD based on Packetdrill

Primary LanguageShellBSD 2-Clause "Simplified" LicenseBSD-2-Clause

TCP Testsuite for FreeBSD based on Packetdrill

This TCP testsuite focuses on testing FreeBSD's TCP stack.

Requirements

It it based on the packetdrill testtool. The original version is available from Google's repository. However, this version does not really run on FreeBSD. An extended version is available from NPLab's respository overcoming this limitation and adding support for SCTP and UDPLite.

Installation

You can get the testsuite by running

git clone https://github.com/freebsd-net/tcp-testsuite.git

Usage

To run all test scripts, execute

sudo tcp-testsuite/run-all-tests

which runs the tcsh script tcp-testsuite/run-all-tests with root priviledges.

Structure of the Testsuite

Test Group Number of Test Scripts Status
Sending of SYN-Segments 30 Done
State Event Engine 392 In Progress
ICMP Handling 12 In Progress
Socket API 10 In Progress

FreeBSD Fixes

Acknowledgement

This work is sponsored by Netflix, Inc.

References