Commit graph

37 commits

Author SHA1 Message Date
Simone Mainardi
dd87bdb246 Uses hash entries finite states machine on view interfaces 2019-07-22 16:13:27 +02:00
Simone Mainardi
5f95d0727b Adds is_view flag to the NetworkInterface 2019-07-19 19:24:54 +02:00
Simone Mainardi
d9275ac166 Allows an extra runHousekeepingTasks before shutting down to do proper cleanup 2019-07-19 19:11:29 +02:00
Simone Mainardi
3cd6a92efd Implements nDPI stats counters for views 2019-07-19 10:30:59 +02:00
Simone Mainardi
6e8d0caca7 Implements host flows counters in View interfaces 2019-07-19 09:37:33 +02:00
Simone Mainardi
f289ab4ddc Cleanups old ViewInterface unused functions 2019-07-17 20:01:55 +02:00
Simone Mainardi
5fcc4986bc Implements interface view hosts updates 2019-07-17 18:31:25 +02:00
Simone Mainardi
6b6c0843be Groups base flow stats in a structure to allow easy snapshotting 2019-07-17 17:42:20 +02:00
Simone Mainardi
22211af8c2 Performs a ViewInterface purgeIdle after visiting each flow 2019-07-17 16:29:25 +02:00
Simone Mainardi
34f91bfd9f Implements new algorithm to allow flows purging control from interface views 2019-07-17 16:15:56 +02:00
Simone Mainardi
0c31d9a57e Implements interface view flows pool thread skeleton 2019-07-17 14:06:20 +02:00
Simone Mainardi
c984d33034 Prevents HTs allocation in viewed interfaces 2019-07-17 12:16:46 +02:00
Simone Mainardi
7680627842 Cleanups view interfaces code 2019-07-17 11:08:46 +02:00
Simone Mainardi
c13dc628de Moves view subinterfaces to class ViewInterface 2019-07-17 11:01:05 +02:00
Simone Mainardi
54eb6bfe1f Adds flag is_inline_call to the getHost method 2019-07-05 11:44:41 +02:00
Simone Mainardi
5c3c2ae30c Removes unnecessary locks when accessing the mac addresses hash 2019-07-05 11:31:15 +02:00
Simone Mainardi
62a0a11c25 Removes unnecessary locks when accessing the HostsHash 2019-07-05 09:08:14 +02:00
Simone Mainardi
2fd5a75b6a Implements interface.findFlowByTuple to fix issues with ICMP
Fixes #2415
2019-02-27 11:39:02 +01:00
Simone Mainardi
ae23ebcd1c Implements visibility of ICMP port-unreachable flows IPv4 2019-02-15 18:59:01 +01:00
Simone Mainardi
92b722e6f3 Uses ARP do determine hosts in the same bcast domain 2019-01-29 18:07:43 +01:00
Luca Deri
bedff2c8e2 Updated (C) 2019-01-07 19:28:49 +01:00
Simone Mainardi
b8edabeb6f Improves handling of redis interface ids and maximum number of interfaces
Fixes #1952
2018-08-29 15:47:57 +02:00
Simone Mainardi
dfb2401789 Reverts allowed interfaces fixes to make room for simplified code 2018-08-20 22:51:51 +02:00
Simone Mainardi
28b19afd8a Fixes security issues with interfaces selection
Fixes #1918
2018-08-20 13:37:32 +02:00
Luca Deri
f0c936c368 Updated (C) to 2018 2018-03-22 21:59:42 +01:00
emanuele-f
4767789b1a Implement country charts for inner, egress and ingress traffic 2018-03-15 18:35:51 +01:00
emanuele-f
1ad9aade87 Remove VLAN id from MAC addresses
Fixes #1626
2018-03-06 14:48:22 +01:00
Luca
caaf27d5a6 Implemented batched hosts and l2-devices walk 2017-11-22 19:38:08 +01:00
Simone Mainardi
7abdbcd56a Fixes getMac on view interfaces 2017-09-26 11:18:05 +02:00
Simone Mainardi
85098c864a Sub-interfaces and interface view fixes
Fixes #1461
2017-09-25 16:21:46 +02:00
Simone Mainardi
baa9d01dbb Implements counts for hashed view interfaces VLANS, ASes and Macs 2017-09-22 20:42:36 +02:00
Simone Mainardi
f10104c6a3 Implements recursive getters for hased view interfaces
Implements #1461

TODO: Implements changes also for VLANs, ASESs and MACs
2017-09-22 20:27:37 +02:00
Simone Mainardi
4a5f83e1a4 Defers interface vies initialization after normal interfaces
Fixes #1426
2017-09-06 12:28:22 +02:00
Luca
30e1a75f98 (C) update 2017-01-10 15:03:16 -08:00
Luca Deri
f09e58b191 Code cleanup (strtok replacement) 2016-12-27 23:14:39 +01:00
Luca Deri
bed000ca3e Fix for invalid interface view selection 2016-08-24 19:08:09 +02:00
Luca
274921ee5c Reimplemented view: interface, and Paginator code.
Minor code cleanup
2016-08-18 13:44:24 +02:00