DEV Community

Yannick Loth
Yannick Loth

Posted on

Stressnet

This is a post from my personal blog, more than a decade ago.
Though it contains the source code retrieved from that time, I have not tried to build and run it. I publish it for informational and archival purposes only.


The Development of an application framework to test intrusion detection systems was the subject of my internship (3rd year Industrial Engineering in Applied Computer Sciences, University of Luxembourg) from February 2005 to June 2005 at the Royal Military Academy (RMA) in Brussels, Belgium.

The main goal was to develop an application (called stressnet) and the scripts that go with it, on a x86-compatible computer with Linux 2.6. The application has be able to read packets from tcpdump-formatted files and to send them with a reliable bitrate over the network.

stressnet is a general purpose packet generator, which should achieve to reach high bitrates reliably (this means if a user asks to send packets with 150Mbit/s, it should be close to this value, not for example 100Mbit/s or 200 Mbit/s). Actually, the relative bitrate error rises till 0.001 for bitrates to 100Mbit/s and till 0.01 for bitrates around 150Mbit/s, which is a quite good result and sufficiently precise for the expected use of Stressnet.

Once this application was developed, some tests were done to show how to use this framework and to show how to interpret the results.

The IDS which we tested was the Open Source software IDS Snort. Of course one can test other intrusion detection systems, Snort has only been chosen because it is popular and because there was another research concerning Snort at the RMA.

Files

Top comments (0)