The official Google release of packetdrill
Switch branches/tags
Nothing to show
Clone or download
Wei Wang Neal Cardwell
Wei Wang and Neal Cardwell net-test: packetdrill: fix error msg in loose segment check path
Fix the following misleading error msg introduced in commit:
  net-test: packetdrill: loose segmentation checks (non-strict by default now)
which implements loose segment check:
1. Subtract isn from tcp_seq/ack_seq for all segments so error msg
displays those sequence number correctly
2. when segment length is not expected, print expected and actual total
length seen apart from the expected and actual length of this segment.

Change-Id: I4138c357d5b69ac6025156ee7e91fa2bb128707a
Latest commit 98f2e73 Jul 2, 2018

README.md

packetdrill

This is the official Google release of packetdrill.

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. packetdrill currently works on Linux, FreeBSD, OpenBSD, and NetBSD. It can test network stack behavior over physical NICs on a LAN, or on a single machine using a tun virtual network device.

The code is GPLv2. Currently the source for the testing tool and a number of test scripts is in the git repository. We will continue to post more tests from our team's Linux TCP test suite (described in our USENIX paper), as time permits.

Links: