Acess2 Network Test Suite
Posted: Sun Mar 16, 2014 4:00 am
I felt I should share the networking test suite I've spent the last weekend writing. Currently, coverage is a little sparse, but I plan on adding enough tests to cover almost every part of the TCP/IP RFCs.
Link: https://github.com/thepowersgang/acess2 ... st_Runner/
How it works:
Feel free to copy the code and bastardise it to do you bidding, but I would appreciate it if people sent me any extra tests they write (preferably commented/annotated with what section of the RFC they cover).
Link: https://github.com/thepowersgang/acess2 ... st_Runner/
How it works:
- Communicates with the tcp stack through a unix datagram socket that simulates an ethernet cable/segment.
- Starts a child process with redirected stdout/stderr, giving it the path of the above socket (the process started is semi-abstracted so could be replaced with qemu instead of my userland IPStack wrapper)
- Sends commands to the child on stdin to tell it to open servers, clients, and make requests.
Feel free to copy the code and bastardise it to do you bidding, but I would appreciate it if people sent me any extra tests they write (preferably commented/annotated with what section of the RFC they cover).