TCP Regression Testing Suite

(blog) Last year, another GSoC'er worked on a project called Packet Construction Set (PCS, PCS is a set of Python libraries that allows developers to rapidly craft individual packets, or chains of packets, with a very fine level of detail. The framework will be extended to allow the testing of various TCP/IP stack states and corner cases. This will effectively result in the re-implementation of TCP stack fragments in user-space, and testing the test fragments against the actual TCP stack. Code coverage tools will be used to show the percentage of the TCP stack that is actually being tested. The resulting suite will be used to prevent regression errors in the TCP\IP stack. Robert Watson suggested that the framework should both deliver immediate results, and allow for long-term scope expansion and continued development. It was suggested that by the end of the summer, ARP, TCP setup, and a couple of TCP tear-down cases, and some aspects of the steady state are have functional tests written for them. Additionally, the framework should also allow for longer-term goals such as testing window expansion, congestion control, etc.


Documentation for the TCP Regression Testing Suite is in progress and will be included in the distribution. P4 Link

TODOs and Milestones


Tracked in local software on my dev box. There's too many of them, and they fluctuate too rapidly to upload them here!

Early May

Late May / June



SOC2009ZachRiggle (last edited 2009-08-17 20:50:36 by ZachRiggle)