Commit Graph

395 Commits

Author SHA1 Message Date
Srivats P.
ac7e378939 Names of capture files on the client now include the interface name so that it is easy to identify which capture belongs to which port when multiple captures are open in multiple Wireshark windows. 2015-01-16 20:29:11 +05:30
Srivats P.
02e442a6bf Check for updates (newer version) at startup - for now only Ostinato does this check, not drone. 2015-01-15 20:22:24 +05:30
Srivats P.
f4f5214b7a If no L4 protocol follows IPv6, set the IPv6 Next-Header field to 0x3B (IPv6-No-Next-Header) instead of leaving it at 0 which is interpreted as IPv6-Hop-By-Hop by the recipient and subsequent failure in parsing the frame 2015-01-13 18:51:21 +05:30
Srivats P.
e2a4431418 Invoking Port Filter Dialog will now always show selected list in the same order as in the port stats window before invocation 2015-01-09 20:48:58 +05:30
Srivats P.
37711fdd5c Fixed typo that was causing "Clear All Stats" to clear only the first portgroup and not the rest
Fixes issue 89
2015-01-01 21:00:23 +05:30
Srivats P.
5d7e6fe66c Removed debug print of drone settings filename - QSettings::fileName() is the file where the settings will be written to, not the file from which settings were read (when fallbacks are enabled) and hence not useful for us. 2014-12-31 21:41:12 +05:30
Srivats P.
8369c18b35 Implemented drone application settings - .ini format on all platforms; settings read at startup, not saved back. In other words, user needs to hand write settings in the .ini file. Currently, the only setting implemented is a portlist filter as include/exclude lists of patterns 2014-12-31 20:16:30 +05:30
John Paul Spiro-Colwell
1bc4efe48b Correct names of ports in Port Stats Window. The problem is seen only with 2 (or more) portgroups where the number of ports in the subsequent portgroup is more than the number of ports in the previous portgroup
Fixes issue 88
2014-12-27 12:16:42 +05:30
Srivats P.
42f716e693 When reading PDML files, skip all XML tokens at the start of the file till you reach the first element and then check whether it is 'pdml'
Fixes issue 132
2014-11-08 10:17:57 +05:30
Srivats P.
50f20a5452 During stream configuration - when deleting a protocol, delete its associated widget also, otherwise if a newly allocated protocol gets the same heap address as the old protocol, the old protocol's widget gets associated with the new protocol.
Fixes issue 131
2014-11-07 20:21:02 +05:30
Srivats P.
943eb49b66 Fix scrolling issue in packet view protocol/field tree
Fixes issue 140
2014-11-03 21:22:45 +05:30
Srivats P.
48215ae93a Make Items in "All Protocols" and "Selected Protocols List" read-only 2014-11-03 20:49:42 +05:30
Srivats P.
ad11bf8cbd Bumping version to 0.6 2014-07-07 17:57:22 +05:30
Srivats P.
09a79a010d Fixing compiler warning 2014-07-06 19:28:30 +05:30
Srivats P.
63ea66fa4f Fix sys.path in rpctest.py to prepend instead of append the binding directory 2014-07-06 18:59:59 +05:30
Srivats P.
470d390658 fix gcc warnings 2014-07-06 18:36:01 +05:30
Srivats P.
347fc02dcf Drone prints version/revision information at startup 2014-07-06 13:02:59 +05:30
Srivats P.
57be4f3ada Drone now disconnects only if version is incompatible or if any other RPC is received before versionCheck() - for all other errors/failures, drone does not disconnect the connection with client 2014-07-06 11:26:26 +05:30
Srivats P.
9955d31b77 Added RPC for version compatibility check between client and server; both GUI and DroneProxy call this as the first RPC before proceeding ahead; if client is inompatible, drone additionally closes the connection; drone won't handle any RPCs untiil version check is performed and client is found compatible; fixed DroneProxy bug which did not allow to connect again after disconnect; fixed RPC bug which failed to detect unsupported method id; RPC-server now returns RPC error in case of failure; added a bunch of RPC tests for version compat 2014-07-06 11:19:22 +05:30
Srivats P.
048777c064 IGMPv3/MLDv2 Query widget now displays the Group Address field
Fixes issue 107
2014-06-30 20:25:39 +05:30
Srivats P.
1ea635bcfb Renamed RPCs start/stopTx as start/stopTransmit 2014-06-30 19:49:17 +05:30
Srivats P.
3b546637e4 Updated About Dialog with copyright date and web URLs 2014-06-29 21:04:19 +05:30
Srivats P.
7bfb146284 Fixed StreamConfigDialog Tab Order 2014-06-29 20:31:34 +05:30
Srivats P.
42a23b12ed Added a Error Msg Type to underlying RPC infra; RPC service now returns error for add/modify/delete stream if transmit is running; added prints for start/stop transmit/capture NOP cases; added a rpctest.py script 2014-06-29 20:07:01 +05:30
Srivats P.
584362406e Fixed a nasty drone crash caused by incorrect usage of qPrintable() in a QtMsgHandler 2014-06-22 10:43:54 +05:30
Srivats P.
4b19d8e1e7 start/stop Transmit/Capture return only after transmit/capture has been started/stopped. Removed sleep between startCapture and startTx from example.py 2014-06-21 19:55:55 +05:30
Srivats P.
ebab0e62af CLI: Updated example.py to exit if drone has no ports 2014-06-18 19:02:46 +05:30
Srivats P.
3770e4bcc3 CLI: Added topology information to example.py 2014-06-17 18:08:53 +05:30
Srivats P.
0d3b36b943 CLI: minor changes to python binding code 2014-06-16 19:53:03 +05:30
Srivats P.
a6bfb0d393 CLI: fixed extra space in description 2014-06-14 17:20:01 +05:30
Srivats P.
d11e82cc33 CLI: Changed python package long_description to match description 2014-06-14 17:18:39 +05:30
Srivats P.
ace1a3694d CLI: changed python package description to match long_description 2014-06-14 17:16:41 +05:30
Srivats P.
278a85d606 CLI: renamed the python sdist as 'python-ostinato'; marked development status as Beta; classified it for use with python 2.7 only 2014-06-14 17:02:40 +05:30
Srivats P.
288380227e Minor changes to ease porting to Python 3 in the future 2014-06-14 15:31:02 +05:30
Srivats P.
3406d68697 CLI: Added logging to the ostinato modules for debugging; -d option to example.py skips user input and uses default values instead 2014-06-13 20:55:15 +05:30
Srivats P.
2a83b1a61b CLI: cleaned up exceptions to make code more readable 2014-06-12 07:11:32 +05:30
Srivats P.
30e9496270 CLI: Added exception handling to python RPC 2014-06-11 20:39:55 +05:30
Srivats P.
02ac4e7dff CLI: Added LICENSE.txt to python packaging; explicitly identified example.py as a script for packaging 2014-06-10 19:20:45 +05:30
Srivats P.
f75a99c834 CLI: modified python binding example script to take user input; enhanced DroneProxy to assume a default request type of Void if none is provided by user to make it intuitive for end users 2014-06-10 18:24:39 +05:30
Srivats P.
3b4b5a19b9 Moved generation of pkg_info from setup.py to qmake/make - version.pri refactored suitably. Reimplemented sdist_clean as a new setuptools command 2014-06-08 19:10:49 +05:30
Srivats P.
8f51e6f07a Added classifiers to the python packaging 2014-06-07 20:58:50 +05:30
Srivats P.
d3b9d9be83 Updated python packaging 2014-06-07 20:12:51 +05:30
Srivats P.
13ff09f421 CLI: Added BLOB RPC support to python binding; updated the binding example to use the RPC; added a convenience method - saveCaptureBuffer() to DroneProxy 2014-06-04 07:35:43 +05:30
Srivats P.
35472a6ac7 CLI: Initial Commit for Python Bindings 2014-06-03 07:14:54 +05:30
Srivats P.
2e8e7c0440 Merge with TOT 2014-05-22 20:38:25 +05:30
Srivats P.
8336d77dfa Added ReadWriteLock to protect RPC service methods in a multi-threaded environment 2014-05-22 20:37:53 +05:30
Srivats P.
0ebff976d8 Fixed build warnings 2014-05-22 20:24:04 +05:30
Srivats P.
8e14e0c15b Prepended qDebug output with connection id for easier debugging 2014-05-22 06:20:55 +05:30
Srivats P.
87982a4227 RpcConnection now uses the common idiom of peekHdr-getMsgLen-waitForLenBytes-readMsg for reading RPC messages from client 2014-05-21 05:35:04 +05:30
Srivats P.
f7c3c06845 Converted some static vars in RpcConnection:on_clientSock_dataAvail() into member vars to avoid contention across connections; fixed condition which causes a portgroup to never query for stats (it assumes a GetStats is already outstanding) caused by a timing condition (repeated connect/disconnect); improved debug output for RPCs on both client and server side 2014-05-19 18:26:20 +05:30