Srivats P
49cb7c40e0
Check and warn about stream stats for ICMP streams
...
Stream stats are not supportedd for ICMP packets
2023-10-03 11:39:46 +05:30
Srivats P
06ad12777f
Warn if sign proto may be followed by padding
...
For now, we check and tell the user. The actual fix should be for
sign proto to add padding before it's content, if required
Updates #313
2022-06-30 18:24:48 +05:30
Srivats P
dc7ac89c30
Verify find/replace mask works for all field types
2021-12-09 08:26:35 +05:30
Srivats P
4c6d8f35d6
Verify and fix Ip6Address type field edit
2021-12-08 21:36:39 +05:30
Srivats P
b60aad45d1
Implement find-replace logic for fields <= 64 bits
2021-12-03 19:01:32 +05:30
Srivats P
e19083ed3f
Fleshed out some of the find-replace code
2021-11-27 22:13:55 +05:30
Srivats P
5180f57202
Fix comparison of different enum types
2021-09-23 09:34:09 +05:30
Srivats P
a3f0281c30
Fix comparison of difference enum types
2021-09-23 08:31:52 +05:30
Srivats P
d5365a25d4
Add IMIX as a Frame Length mode
...
Use Simple IMIX as defined in Wikipedia - Frame lengths 64, 594, 1518 in
a 7:4:1 ratio
2021-09-23 08:11:22 +05:30
Srivats P
226b6cf35c
Fix comparison between different length mode enum types
2021-08-15 18:16:09 +05:30
Srivats P
a352ff3ed1
Fix frame variable count when varying frame lengths
...
The frame variable count should be minimum of frame count and frame
length range size.
Unrelated, in case of random payload pattern, reuse
StreamBase::frameCount() which does the same calculation.
Fixes #325
2020-10-22 20:28:26 +05:30
Srivats P
64fe90e5b7
Fix jumbo error being reported multiple times
...
Also found and fixed another related bug where the loop to check pkt
size for trunc/jumbo ran for frameCount instead of
frameSizeVariableCount() - this change will reduce preflight check time
when frameSizeVariableCount is less than frameCount
Fixes #290
2019-12-29 20:38:08 +05:30
Srivats P
64d4b38f41
Add protocol error checks to preflight check
...
Also commented out stream transmit duration check that was causing false
positives
2019-06-05 11:39:09 +05:30
Srivats P
88b3c287d0
Track smac/dmac resolve failures when building packet list
2019-02-05 18:31:43 +05:30
Srivats P
b6c46e27e9
Warn when tx time < 1s not <=1s in preflight check
2018-02-22 20:49:14 +05:30
Srivats P
cd6948b18c
Add preflight check for variableCount > frameCount
2018-02-08 22:39:22 +05:30
Srivats P
6dd6511269
Merge branch 'master' into sign
2017-12-03 12:59:26 +05:30
Srivats P
c53a1866b8
UX: Show stream check results as a bulleted list
2017-09-30 22:17:06 +05:30
Srivats P
a757b9e353
UX: Warn for very short duration stream transmits
...
Changed the default num_packets from 1 to 10, because otherwise the
default stream values will trigger this warning, which is not a good
experience for the user
2017-09-30 19:32:27 +05:30
Srivats P
cca2e94bb3
Detect when port config has changed and needs to APPLY'd
...
For now we prompt user to click Apply, in future we can use this to do a
"Auto Apply"
2017-09-14 20:38:13 +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
24fd176802
Merge pull request #184 from pstavirs/emul
...
Device Emulation
2016-05-25 18:57:08 +05:30
Srivats P
476bcd850a
Bugfix: Preflight check failure strings should not be repeated for each frame in the stream that fails
2016-03-17 20:53:48 +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
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
c022290da1
Merge branch 'master' of https://github.com/pstavirs/ostinato into emul
...
Conflicts:
server/pcapport.cpp
2015-12-01 21:00:41 +05:30
Srivats P
f8d5cbd252
Bugfix: Fixed frameVariableCount() for the stream when it doesn't contain the payload protocol and is configured to generate increment/decrement/random length packets
...
Fixes #168
2015-11-22 20:03:24 +05:30
Srivats P
280d4bedaa
Feature (contd.): Device Emulation - Mac protocol can now 'resolve' src/dst mac corresponding to the packet from the Device Emulation infra
2015-11-10 19:40:32 +05:30
Srivats P.
df24cf8b15
Feature: Variable Fields - any field of any protocol can now be varied by specifying it as a generic 8/16/32 bit field at a specified offset (relative to the protocol frame value) with a certain mask and a (initial) value alongwith count and step; this is working code - but incomplete. Bunch of FIXME/TODOs and testing pending
2015-05-26 21:43:37 +05:30
Srivats P.
a9da643fb2
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!
...
Fixes issue 144
2015-04-16 22:20:07 +05:30