Commit Graph

717 Commits

Author SHA1 Message Date
Srivats P
95f00f2673 Add documentation to python binding
Also some minor documentation for some .proto that goes into the API
guide
2017-08-14 10:43:11 +05:30
Srivats P
a8ec2f1bda Fix IPv4/IPv6 PDML import with Tshark 2.x
Fixes #219
2017-07-06 20:05:15 +05:30
Srivats P
97c7d79695 Merge pull request #214 from cartr/patch-1
Update .travis.yml to reflect qt->qt@4 change
2017-04-10 22:09:16 +05:30
Carter Sande
33e756656d Update .travis.yml to reflect qt->qt@4 change 2017-04-10 09:10:16 -07:00
Srivats P
8b2541fbaf Fix incorrect extension id for STP
There was a discrepancy between Protocol::kStpFieldNumber (209) and the
one defined in stp.proto (210) which caused protobuf reflection to fail
when queried for a descriptor corresponding to 209. Referencing the null
descriptor further in the code caused a crash.
2017-04-10 20:59:17 +05:30
Srivats P
64bf7ec981 Merge branch 'master' of https://github.com/pstavirs/ostinato 2017-03-13 20:18:19 +05:30
Srivats P
5c1aa6f1c3 Updated QHexEdit to version 0.8.4
Fixes #103
Fixes #202
2017-03-13 20:12:14 +05:30
Srivats P
055d12d3d4 Merge pull request #208 from malvidin/master
Fix minor stream UI issues - fixes #207
2017-02-24 18:30:37 +05:30
Steven
6e0676881a Changed range of printable characters
Made matches inclusive and increased range to match more printable characters. This better matches the Hex Dump payload view, which displays all 0x20 to 0x7D.
2017-02-23 11:41:59 -05:00
Steven
a27634ab66 Corrected spelling of Destination 2017-02-23 11:33:01 -05:00
Srivats P
d58b614e67 sign: Exclude ICMP packets from Rx Stream Stats 2017-02-16 21:32:01 +05:30
Srivats P
954a931717 sign: Add totals to dict returned from getStreamStatsDict() 2017-01-28 13:08:17 +05:30
Srivats P
756197a69c Squashed commit of the following:
commit 33ad1abb1e
Author: Srivats P <pstavirs@users.noreply.github.com>
Date:   Wed Jan 4 18:21:07 2017 +0530

    Make osx_image global

commit d90a99f052
Author: Srivats P <pstavirs@users.noreply.github.com>
Date:   Tue Jan 3 22:21:02 2017 +0530

    include not exclude the osx image

commit 4038ca84bd
Author: Srivats P <pstavirs@users.noreply.github.com>
Date:   Tue Jan 3 21:36:46 2017 +0530

    Fix osx_image location again

commit 232dfdb0bc
Author: Srivats P <pstavirs@users.noreply.github.com>
Date:   Tue Jan 3 21:16:15 2017 +0530

    Fix incorrect location of overriding osx_image

commit 00a487cb6f
Author: Srivats P <pstavirs@users.noreply.github.com>
Date:   Tue Jan 3 20:58:09 2017 +0530

    Force sierra instead of el-capitan

    See https://github.com/cartr/homebrew-qt4/issues/7

commit 33c39b8e24
Author: Srivats P <pstavirs@users.noreply.github.com>
Date:   Tue Jan 3 20:37:26 2017 +0530

    Troubleshoot osx build break changeset #4

commit 8d168099fb
Author: Srivats P <pstavirs@users.noreply.github.com>
Date:   Tue Jan 3 19:03:56 2017 +0530

    Troubleshoot Travis OSX build break changeset #3

commit ae149d0263
Author: Srivats P <pstavirs@users.noreply.github.com>
Date:   Tue Jan 3 18:24:51 2017 +0530

    troubleshoot osx build break - changeset #2

commit 2626339679
Author: Srivats P <pstavirs@users.noreply.github.com>
Date:   Tue Jan 3 18:11:46 2017 +0530

    debug changes to troubleshoot osx build break

commit f3423b7d84
Author: Srivats P <pstavirs@users.noreply.github.com>
Date:   Sun Jan 1 12:49:57 2017 +0530

    Use latest protobuf version in HomeBrew

    We had reverted to using protobuf 2.6 when protobuf 3.0 had a regression
    issue with respect to RPCs - this has been fixed in v3.1.0
2017-01-28 11:23:59 +05:30
Srivats P
81bb5f54ba Bugfix: Fix failure parsing Ostinato file format 2017-01-28 10:55:07 +05:30
Srivats P
5f82912f91 sign: Rename Aggr to Total in Stream Stats Window 2017-01-23 18:26:35 +05:30
Srivats P
287316b473 sign: Show streamStats byte stats only if user wants
By default stream stats window only shows packet counters, user can
toggle display of byte counters using context menu
2017-01-13 19:02:25 +05:30
Srivats P
5e30d8672f sign: Change colors of Stream Stats Window 2017-01-11 20:36:38 +05:30
Srivats P
2bad2f3384 sign: Add AggrGUID row in Stream Stats Window 2017-01-10 21:43:58 +05:30
Srivats P
c702d7692b sign: Rename aggrStreamStats as aggrGuidStats
New name reflects actual usage; aggrPortStats can be added later.
2017-01-10 18:50:22 +05:30
Srivats P
5120f6c525 sign: Highlight non-zero aggr pkt loss in red 2017-01-10 18:13:14 +05:30
Srivats P
0bf2e99931 Fix travis for OSX builds 2017-01-09 20:02:03 +05:30
Srivats P
13e28cff68 sign: Fix Tx stream stats counted as Rx on some platforms
On platforms that don't support filtering IN/OUT using
pcap_setdirection() - e.g. Windows, adjust Rx stats appropriately
2017-01-09 18:57:38 +05:30
Srivats P
063c607847 sign: Expand getStreamStatsDict() documentation 2017-01-05 20:26:21 +05:30
Srivats P
33ad1abb1e Make osx_image global 2017-01-04 18:21:07 +05:30
Srivats P
d90a99f052 include not exclude the osx image 2017-01-03 22:21:02 +05:30
Srivats P
4038ca84bd Fix osx_image location again 2017-01-03 21:36:46 +05:30
Srivats P
232dfdb0bc Fix incorrect location of overriding osx_image 2017-01-03 21:16:15 +05:30
Srivats P
00a487cb6f Force sierra instead of el-capitan
See https://github.com/cartr/homebrew-qt4/issues/7
2017-01-03 20:58:09 +05:30
Srivats P
33c39b8e24 Troubleshoot osx build break changeset #4 2017-01-03 20:37:26 +05:30
Srivats P
8d168099fb Troubleshoot Travis OSX build break changeset #3 2017-01-03 19:03:56 +05:30
Srivats P
ae149d0263 troubleshoot osx build break - changeset #2 2017-01-03 18:24:51 +05:30
Srivats P
2626339679 debug changes to troubleshoot osx build break 2017-01-03 18:11:46 +05:30
Srivats P
f3423b7d84 Use latest protobuf version in HomeBrew
We had reverted to using protobuf 2.6 when protobuf 3.0 had a regression
issue with respect to RPCs - this has been fixed in v3.1.0
2017-01-01 12:49:57 +05:30
Srivats P
416292e42b sign: Improve StreamStatsWindow UX with colors 2017-01-01 12:12:10 +05:30
Srivats P
ff01ef9682 sign: Add Aggregate Stats to Stream Stats Model 2016-12-27 20:20:36 +05:30
Srivats P
cfa7d80f7b Convert stream preflight checks to bullet points 2016-12-10 13:50:52 +05:30
Srivats P
a838d09fbd sign: Inform user when stream stats is not enabled
If Sign protocol is configured without enabling stream statistics on
port, inform user that stream statistics will not be available till
it is enabled on port
2016-12-10 13:40:28 +05:30
Srivats P
ac1356ed53 Optimize stream preflight check for performance
Loop only once for all packets of the stream
2016-12-09 18:48:08 +05:30
Srivats P
ba06b88329 sign: Reorder Tx/Rx columns in StreamStats Window 2016-12-09 18:12:06 +05:30
Srivats P
9cd26567cd sign: Fix filter in test script for GUID > 255 2016-12-08 21:26:09 +05:30
Srivats P
72521f782e sign: Clear ARP/NDP cache & ping before tx in test script
This helps setting ARP/NDP such that they do not expire during tx for
unidirectional flows
2016-12-08 20:59:51 +05:30
Srivats P
58a16a253e sign: Filter out ICMP packets with sign in test script
A limitation of the current design where the sign protocol appears at
the end of frame is that such a data packet could potentially trigger a
ICMP error containing this packet as payload and for small size packets
this ICMP packet itself will appear as a 'sign' packet - so filter out
ICMP from the captured packets when verifying against stream stats
2016-12-08 20:54:38 +05:30
Srivats P
8f97a69220 sign: Refactor StreamStatsTracking methods
Start/StopStreamStatsTracking() methods made private helper functions
specific to PcapPort. AbstractPort::setStreamStatsTracking() virtual
function should be implemented by subclasses as required
2016-12-07 18:19:09 +05:30
Srivats P
35c56b9181 sign: Calculate stream stats only if configured
Stream Stats Rx and Tx both are calculated only if 'Track Stream Stats'
is configured on the port
2016-12-06 21:41:47 +05:30
Srivats P
028843c55a sign: Refactor AbstractPort::setStreamSatsTracking
Move start/stop stream stats tracking inside setStreamStatsTracking. In
future, maybe convert setStreamStatsTracking to virtual function?
2016-12-06 18:30:26 +05:30
Srivats P
387e6700cd sign: Add Sign to Stream Protocol Selection Widget
Added a Special Group (for sign), a Trailer Group and reorganized the
layout of the widget to fit these new groups. Added supporting code for
the Sign Protocol and the Trailer group
2016-12-03 14:00:47 +05:30
Srivats P
de6a139cd7 Set L5 Proto as Other, if L4 Proto is Other
This should have been done when L5 was introduced but got missed out I
guess.
2016-12-02 18:49:25 +05:30
Srivats P
de503d8d96 sign: Fix crash when doing TX on a streamless port
Ensure packetListSize_ is non zero to avoid division by zero. Also reset
packetListSize_ to 0 in the constructor - call clearPacketList() to do
this
2016-11-29 18:20:00 +05:30
Srivats P
eed4f8eb1d sign: Clear Port+Stream Stats on Clear(All) click
Although the RPC API provides separate APIs for clearing Port and Stream
Stats, typical use case would be to clear both together
2016-11-28 20:19:17 +05:30
Srivats P
b622cc8e72 sign: add #define and #include for PRIu64 2016-11-27 13:35:59 +05:30