Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 43866 Build 40754: arc lint + arc unit
Event Timeline
It's great we'll get DSCP tests!
Nit: maybe it's worth trying to have it encoded with python-scapy? It has both sending and receiving support for all kind of packets.
Happy to chat more on that.
This script was written as a troubleshooting tool (without any other dependency than the base system) and later re-used to be included in the regression tests suite: This is why it currently doesn't use python-scapy.
So, does it mean that using python-scapy could simplify the complex tcpdump output parsing ?
I could add support for TOS and TTL (and its cousins for IPv6) to packetdrill. Then you could use a simple packetdrill scripts. I think this was added to the upstream version after I forked it. So it is a matter of picking the right lines of code...
Yes indeed: packetdrill is the tool used for TCP regression test, and this regression test could belong to the tcp regression test.
I have added support for TOS/traffic class and TTL/hop limit testing to packetdrill and also added 8 tests to the TCP test suite. Please let me know, if additional things should be tested. You need the latest version of packetdrill from freebsd-net.