Acess2 Network Test Suite

This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
Post Reply
User avatar
thepowersgang
Member
Member
Posts: 734
Joined: Tue Dec 25, 2007 6:03 am
Libera.chat IRC: thePowersGang
Location: Perth, Western Australia
Contact:

Acess2 Network Test Suite

Post by thepowersgang »

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:
  • 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.
This code is (currently) pretty rough, and does some evil tricks in places, but shouldn't be too hard to modify for other OSes.

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).
Kernel Development, It's the brain surgery of programming.
Acess2 OS (c) | Tifflin OS (rust) | mrustc - Rust compiler
Currently Working on: mrustc
Post Reply