The problem happens for bidirectional flows. The sequence of events is as follows when you start Tx on Ports p1, p2 with the current code - 1. Clear stream stats on p1 2. Start tx on p1 3. Clear stream stats on p2 4. Start tx on p2 By the time #3 is executed, it may have already rx packets from p1 which are being incorrectly cleared, this will cause these number of packets to show up as dropped instead - incorrectly. The fix is to change the order like this - 1. Clear stream stats on p1 2. Clear stream stats on p2 3. Start tx on p1 4. Start tx on p2 Unidirectional flows will not see this problem - as long as startTx is done only on the Tx port and not the Rx port. This bug is a regression caused due to the code changes introduced for the stream stats rates feature implemented in 1.2.0 |
||
---|---|---|
.github | ||
client | ||
common | ||
extra | ||
rpc | ||
server | ||
test | ||
.gitignore | ||
.travis.yml | ||
.vimrc | ||
COPYING | ||
install.pri | ||
options.pri | ||
ost.pro | ||
protobuf.pri | ||
README.md | ||
shared.pri | ||
version.pri |
Ostinato
This is the code repository for the Ostinato network packet crafter and traffic generator
Visit https://ostinato.org for demo video and details
Source License: GPLv3+ (see COPYING)
Author's note
I have been developing and maintaining Ostinato single-handedly for more than 12 years. And during this time I have grudgingly come around to the view that open source cannot survive and thrive without money. Mixing money with open-source is messy, but I don't see a way forward unless we as a community become open to the idea of talking about it and changing our culture so that money is no longer a bad word.
I sell binary licenses on ostinato.org to try and cover the costs of development. Please consider buying those - they are priced low enough that you can afford it or you could just as easily expense them to your organisation.
If you build Ostinato from source and find it useful, please donate to keep the lights on and sustain the project.
Read the Ostinato origin story.
Srivats P
Author, Ostinato