Ostinato - Packet/Traffic Generator and Analyzer
Go to file
Srivats P c70811eaa4 Fix spurious stream stats drops
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
2023-02-08 16:34:03 +05:30
.github Add FUNDING.yml for GitHub sponsors 2022-06-24 15:46:51 +05:30
client Reset port widget current on portgroup disconnect 2022-12-08 17:00:15 +05:30
common Fix value for str/bytes field when save as Python 2022-12-28 19:30:50 +05:30
extra Rename qhexedit2 VERSION file to VERSION.txt 2022-08-31 18:38:21 +05:30
rpc Add startup/shutdown console prints 2022-06-27 13:43:47 +05:30
server Fix spurious stream stats drops 2023-02-08 16:34:03 +05:30
test Fix compilation error with importpcap test 2020-04-03 20:27:42 +05:30
.gitignore Update .gitignore for Qt5 2018-05-18 22:19:20 +05:30
.travis.yml Fix "" in travis command 2021-08-14 20:35:10 +05:30
.vimrc Feature: Reserve Ports for cooperative use of shared drone. If a port is reserved the GUI will display the username of the owner but others can still view and control the port; in other words, we just potentially prevent unintentional usage of other people's ports, users still need to play nice with each other! 2015-04-16 22:20:07 +05:30
COPYING Feature: Reserve Ports for cooperative use of shared drone. If a port is reserved the GUI will display the username of the owner but others can still view and control the port; in other words, we just potentially prevent unintentional usage of other people's ports, users still need to play nice with each other! 2015-04-16 22:20:07 +05:30
install.pri Feature: Reserve Ports for cooperative use of shared drone. If a port is reserved the GUI will display the username of the owner but others can still view and control the port; in other words, we just potentially prevent unintentional usage of other people's ports, users still need to play nice with each other! 2015-04-16 22:20:07 +05:30
options.pri Use -Werror for all code except protobuf generated 2022-06-27 13:43:46 +05:30
ost.pro Remove Python API from main repo 2017-12-05 20:56:59 +05:30
protobuf.pri Use -Werror for all code except protobuf generated 2022-06-27 13:43:46 +05:30
README.md Remove extra travis-ci URL from README 2021-09-04 18:59:50 +05:30
shared.pri Use /usr/share/ostinato-controller/themes on Linux 2022-07-29 20:54:14 +05:30
version.pri Change version from 1.3.0-alpha to 1.3.0-dev 2022-09-27 11:40:22 +05:30

Ostinato

Build Status

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.

Donate

Srivats P
Author, Ostinato