Commit Graph

73 Commits

Author SHA1 Message Date
Srivats P
469e0b054e Simplify .pro file by removing some duplication 2023-11-16 11:53:52 +05:30
Srivats P
23ee0e6f00 Extract libostfilegui out of libostfile
libostfile now has no GUI dependencies
2023-11-16 11:53:52 +05:30
Srivats P
c285e91d4a Extract libostfile from libprotogui
All .pro file changes only

libostfile still has GUI dependency due to PCAP import options UI.
Need to see if we can remove that - maybe extract into a separate
libostfilegui.
2023-11-16 11:53:52 +05:30
Srivats P
f1a962a6c4 Fix compilation error with importpcap test 2020-04-03 20:27:42 +05:30
Srivats P
8ea2e91b47 Add Qt widgets lib for PCAP import tests build
QtWidgets is required since we have ported the code to Qt5
2019-09-06 21:18:05 +05:30
Srivats P
db231054da Fix Qt4 to Qt5 porting issues with debug build
Also update modeltest to Qt5
2018-03-27 20:02:36 +05:30
Srivats P
ed007cacf2 Remove Python API from main repo 2017-12-05 20:56:59 +05:30
Srivats P
6dd6511269 Merge branch 'master' into sign 2017-12-03 12:59:26 +05:30
Srivats P
81e7e735bc sign: Resolve a few FIXMEs
* Rename track_stream_stats to is_tracking_stream_stats for consistency
with other bool params
* Change signature magic value to CODA
* Resolve notify memory leak
2017-12-03 11:26:09 +05:30
Srivats P
ee4bcb5b80 Identify vbox host adaptor using 'oracle' not 'sun' 2017-12-03 10:12:50 +05:30
Srivats P
954a931717 sign: Add totals to dict returned from getStreamStatsDict() 2017-01-28 13:08:17 +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
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
b1e960b858 sign: refactored the stream stats test; new problem discovered if the data stream is appended to an ICMP error packet sent by the DUT we will count the ICMP packet as a signed packet as well 2016-11-20 22:03:30 +05:30
Srivats P
e9bdfa04ea sign: implemented rx stream stats - loopback problem to be fixed 2016-11-17 21:44:34 +05:30
Srivats P
defdc218bd sign: fix the tx stream stats calculation and update associated test case 2016-11-15 22:23:55 +05:30
Srivats P
f8575ef101 sign: post tx stream stats collection; testing pending 2016-11-13 19:11:24 +05:30
Srivats P
cffada4c07 sign: server rpc implementation of stream stats; actual collection of stream stats pending 2016-11-10 18:18:27 +05:30
Srivats P
783db4e832 sign: add stream GUID to sign protocol 2016-11-07 20:09:17 +05:30
Srivats P
bf92ea09df sign: TDD test script for stream stats 2016-11-06 21:28:31 +05:30
Srivats P
f86ce2603d Bugfix: use default gateway for off subnet destinations in all cases - fixes #196 2016-09-17 12:16:53 +05:30
Srivats P
c5487067e5 Fix build of pcap import test code 2016-06-26 17:26:06 +05:30
Srivats P
8f08fc92c9 Update TODO Test cases for Session Save/Open 2016-05-19 20:02:32 +05:30
Srivats P
bcb5376f9d Save/Open Session - added UI and related infra to invoke OssnFileFormat; code to build sessionContent incomplete 2016-04-14 07:44:07 +05:30
Srivats P
fbb56720ba Device Emulation (contd.): Renamed Device List and Device Neighbor List fields so that the names are better reflective of what they contain 2016-03-22 20:18:53 +05:30
Srivats P
0e32a1942d Device Emulation (contd.): Verify ARP/NDP cache is cleared after clearNeighbors(); also rename dev_cfg var to devcfg to avoid clash with the test param dev_cfg 2016-03-21 18:19:15 +05:30
Srivats P
259dafa3e9 Device Emulation (contd.): Fixed bug where DeviceNeighborList.device_index did not match the correct device in PortDeviceList 2016-03-15 18:15:35 +05:30
Srivats P
f6c852495d Device Emulation (contd.): resolveNeighbors() now resolves the device gateway also in addition to looking at transmit packet content to figure out which IPs to resolve 2016-01-28 20:01:19 +05:30
Srivats P
e3a3a0cf1f Device Emulation (contd.): Fix frames not being truncated (introduced by recent changes in StreamBase::frameValue()); add test case for the same and add checksum/error check to pktlentest(s) 2016-01-27 20:39:54 +05:30
Srivats P
754a9ac20e Merge branch 'master' into emul 2016-01-27 18:46:07 +05:30
Srivats P
ad866e3025 Bugfix: Fix incorrect IPv4 pseudo-header checksum calculation for a stream with incrementing/decrementing packet length (regression bug caused by variable fields feature introduced in 0.7) 2016-01-27 18:26:49 +05:30
Srivats P
d309bc9362 Device Emulation(contd.): Specify minimum tshark version that supports the filters we need for verification 2016-01-26 14:05:26 +05:30
Srivats P
83e4aeb992 Device Emulation: Remove path for windows' tshark - expect it to be part of user env $PATH 2016-01-24 13:45:13 +05:30
Srivats P
8efdb44e6a Device Emulation (contd.): Enhanced the VLAN Devices test case to include IPv6 (and dual stack) scenario(s) 2016-01-23 21:01:47 +05:30
Srivats P
efe22149e1 Device Emulation (contd.): Minor refactoring in test case 2016-01-21 18:41:21 +05:30
Srivats P
6b772bfabe Device Emulation (contd.): Fix IPv6 test case to work with non-zero step value and vary IPv6 dst-addr correctly 2016-01-15 18:47:02 +05:30
Srivats P
f1ff9e2616 Device Emulation (contd.) - StreamBase::frameValue() now returns truncated packet content and length instead of bailing out if the passed in buffer size is less than the packet length. This is useful for some of the device emulation code which needs packet content only uptil the IP header but not beyond, so we don't need to unnecessarily create the entire packet with payload for these cases 2016-01-15 09:37:43 +05:30
Srivats P
07dd945f50 Device Emulation (contd.): Lookup NDP Cache for IPv6 neighbor mac 2016-01-13 21:15:47 +05:30
Srivats P
04147076c4 Device Emulation (contd.): Implemented responding IPv6 NS with NA 2016-01-08 20:01:42 +05:30
Srivats P
eff603304e Device Emulation (contd.): Receive, parse IPv6 Neigh Advt and update NDP Table 2016-01-06 18:10:28 +05:30
Srivats P
d9be523827 Device Emulation (contd.) - Implemented sending of IPv6 Neighbor Solicitation packets for IPv6 resolution 2016-01-01 20:17:54 +05:30
Srivats P
aaf6dbcbf2 Device Emulation (contd.) - Implemented IPv6 device creation and deletion 2015-12-31 20:17:56 +05:30
Srivats P
ea68b42059 Feature (contd.): Device Emulation - added test case for IPv6 - currently failing pending IPv6 implementation 2015-12-30 18:25:13 +05:30
Srivats P
e0f9e6a703 Feature (contd.): Device Emulation - minor cleanup of emultest.py 2015-12-24 18:28:47 +05:30
Srivats P
414d89860d Pull cleanup: minor changes after merging pull request #172 2015-12-24 14:16:35 +05:30
Srivats P
ea44e55e78 Feature (contd.): Device Emulation - Test case and code to support sending ping echo reply in response to received ping echo request 2015-12-23 21:18:25 +05:30
Raja Krishnamoorthy
1e268080c2 fixed the testcases in rpctest.py
fixed the testcases in rpctest.py
2015-12-22 21:18:58 +05:30
Srivats P
b135cb8df7 Feature (contd.): Device Emulation - add test case for non-default VLAN step value 2015-12-21 18:41:46 +05:30