Srivats P
329469dd6e
Calculate port tx duration and send to controller
...
This commit only includes server side changes plus the .proto changes.
Client side UI changes are still pending.
2022-02-21 22:20:59 +05:30
Srivats P
64d1525f50
Fix infinite loop when stopping capture etc.
...
On some platforms and/or some libpcap verisons, libpcap doesn't support a
timeout which makes interactive stop not possible. So we now use a UNIX
signal to break out. Obviously this works only on *nix platforms - which
includes MacOS. For now the problem is not seen on Windows with WinPCAP,
so we should be fine. May need to revisit when we add Npcap support.
Fixes #215 , #234
2019-08-10 13:26:04 +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
e9bdfa04ea
sign: implemented rx stream stats - loopback problem to be fixed
2016-11-17 21:44:34 +05:30
Srivats P
1986845bae
sign: remove streamsType and associated code
2016-11-05 19:41:02 +05:30
Srivats P
a79bbb1fcd
sign: signed tx stats infra; actual tx signing pending
2016-10-23 17:24:23 +05:30
Srivats P
12351d6304
sign: Refactored PortTransmitter into PcapTransmitter and PcapTxThread classes. Also broke out PacketSequence and Timestamp stuff into their own files. No change in functionality.
2016-09-13 19:05:24 +05:30
Srivats P
20fa1dcb69
sign: refactor (Pcap)PortTransmitter into a separate file
2016-09-06 18:50:08 +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
3a5396c865
Feature (contd.): Device Emulation - Got rid of a bunch of FIXMEs and all trailing whitespace (in the code added for this feature)
2015-11-14 17:06:43 +05:30
Srivats P
01e8524491
Regression Fix: Fix compilation issue on Windows introduced by the RateAccuracy feature
2015-11-06 18:53:27 +05:30
Srivats P
06182a435c
Bugfix: Introduced RateAccuracy setting for Drone to conserve CPU at the cost of accuracy
...
Fixes #151
2015-10-12 18:11:30 +05:30
Srivats P
ab433dc22b
Feature: Device Emulation - first cut working code
2015-09-14 18:19:52 +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