Commit graph

920 commits

Author SHA1 Message Date
Luca Deri
e2dc8f8c19 Implemented support of MAC-less NetFilter packets with L2 visibility via source MAC reported by NetFilter
Added numeric interface type to enhance interface comparison speed
2017-09-11 01:25:52 +02:00
emanuele-f
06b33d1a6d Expose API to map MAC addresses to IP addresses 2017-09-10 16:27:41 +02:00
emanuele-f
c97304a9e1 Filter by mac location 2017-09-10 13:28:57 +02:00
Luca Deri
e302c4fcff Implemented Mac location (LAN, WAN, unknown) 2017-09-09 00:06:47 +02:00
Luca Deri
94cbfece87 Changed logic for storing bridge interface id on MACs 2017-09-08 17:58:01 +00:00
Simone Mainardi
ef70bcb2a5 Removes unused interface second traffic counters 2017-09-06 16:00:22 +02:00
emanuele-f
29a5a7e013 Add device filter by device type dropdown 2017-08-16 18:18:02 +02:00
Luca Deri
2405449029 Removed the concept of secondary mac: one mac fits all
Removed activity heatmap: it will be soon replaces with host timeseries
2017-08-16 11:06:15 +02:00
Luca Deri
c74abf4eb0 Network discovery:
- Removed redundancies between C and Lua
- Discovery is now enabled at interface creation (if supported by the device).
2017-08-16 09:07:28 +02:00
Luca Deri
8fa9b5a839 Enhanced NetworkInterface::setMacDeviceType 2017-08-13 10:47:28 +02:00
Luca Deri
6ab41bee36 Device discovery now sets the device type in the Mac class
Mac devices are now serialized/deserialized
2017-08-13 10:26:14 +02:00
Simone Mainardi
a86f3dd36e Implements DB interoperability b/w ntopng and nProbe 2017-08-11 16:51:10 +02:00
Luca Deri
df41e83925 Added detection of ghost hosts in discovery 2017-08-11 14:24:05 +02:00
Luca Deri
175a1568a5 Menu discovery is now contextual only fpr interafaces that can support it 2017-08-11 12:48:56 +02:00
Luca Deri
71991b06ee Implemented MDNS OSX discovery 2017-08-09 14:17:07 +02:00
Luca Deri
af74f3b041 Added Lua batch SNMP API 2017-08-09 10:26:25 +02:00
Luca Deri
7b15221414 Cleaned up SNMP code and moved onto a new class 2017-08-09 09:23:08 +02:00
emanuele-f
9040dd56ae Enable top protocols computation on the periodic housekeeping thread 2017-08-08 12:01:46 +02:00
emanuele-f
9661c38a4b Initial frequent items support 2017-08-08 01:29:12 +02:00
Luca Deri
7d72bcf20d Improved MDNS resolution 2017-08-07 23:00:34 +02:00
Luca Deri
7226199819 Implemented async MDNS address resolution 2017-08-07 15:26:57 +02:00
Luca Deri
bfd35989b7 Implemented MDNS resolver 2017-08-07 12:12:17 +02:00
Simone Mainardi
d172cafce3 Reworks CollectorInterfaces and adds remote nProbe stats
Fixes #572
2017-08-05 21:37:18 +02:00
Simone Mainardi
5aa94c05ab Adjusts ZMQ event parser to the new format 2017-08-02 14:59:26 +02:00
Simone Mainardi
fd8ee25641 Code refactoring to simplify stats reset 2017-08-01 15:39:00 +02:00
Luca Deri
f22807f0be Implemented L2 support for netfilter interfaces
Fixed warnings
2017-07-31 00:08:40 +02:00
Simone Mainardi
285a7c5d97 Handles MAC Addresses on dynamic interfaces 2017-07-24 23:08:14 +02:00
Luca Deri
9833cea6b5 Implemented fix for #1371
Fixed shutdown crash with virtual interfaces (more checks are necessary)
2017-07-24 19:53:43 +02:00
Simone Mainardi
eaa7a0d313 Separates L3 IPs from L2 MACs
Before this commit, multiple L3 hosts were allocated if the same ip
address was seen with multiple mac addresses. We have decided to keep
ip and macs logically sepatated. For this reason, after this commit,
the L3 ip always remains the same even if there are changes in the
mac. A user who wants to monitor mac addresses can use the L2 section
as well as the host pools.

This commit also reverts:
"Add MAC address to the serialized hosts key to fix bad MAC address association and stats"

This reverts commit 89a756fb9a.
2017-07-04 01:41:31 +02:00
emanuele-f
12d0e8a0bb Quota gui improvements
- Filter flows with blocked traffic
- Filter hosts with blocked traffic
- Improve flow_details quota report
2017-06-05 18:09:56 +02:00
emanuele-f
4f0debccd5 Rework special macs into source macs and use them into the footer 2017-05-26 17:28:53 +02:00
emanuele-f
9d0773f40b Add Unknown Devices view 2017-05-23 23:02:06 +02:00
Simone Mainardi
802f760fb9 Implements Active Local Hosts counter and display 2017-05-23 22:15:52 +02:00
Luca
cb4b0c002b Added the concept of bridgeInterface Id in MACs 2017-05-21 15:30:17 +02:00
Luca Deri
f85edc852f Device description is now displayed in device information 2017-05-21 10:12:51 +02:00
emanuele-f
ef10ba3540 Add current zmq header version in ExportInterface 2017-05-20 12:36:19 +02:00
emanuele-f
19d04ff8fa Fix crash on user scripts reload 2017-05-19 12:17:50 +02:00
emanuele-f
52d2051d4c Rework flow scripts into user scripts 2017-05-19 11:45:41 +02:00
emanuele-f
9c973ca439 Move host activity detection code to attic 2017-05-17 22:19:37 +02:00
Simone Mainardi
1b313d2932 Implements periodic flow aggregation 2017-05-09 15:07:20 +02:00
emanuele-f
3496fb51c0 Add button to flush all alerts data 2017-05-08 23:31:46 +02:00
Simone Mainardi
a36e59a1e3 Implements first/last switched calculation for aggregated flows
First switched is chosen as the earliest first switched time among
flows of the same group. Similarly, last switched in chosen as the
latest last switched among flows of the same group.
2017-05-07 23:08:08 +02:00
Simone Mainardi
b238191bd7 Implements flows pre-aggregation 2017-05-06 22:10:56 +02:00
Luca Deri
412d4afe64 Implemented in-memory flow aggregation 2017-05-02 15:48:43 +02:00
Emanuele Faranda
8b8974e56c Alerts improvements (#1204)
* Implement flow flood alert

* Remove alerts general settings

* Implement global threshold alerts for hosts, networks and interfaces

* Implement global anomaly alert configuration, lua side

* Make the global thresholds not bound to the interface

* Implement global anomaly alert configuration, C side

* Make the engaged alerts cache per interface to avoid conflics
2017-04-29 12:19:49 +02:00
emanuele-f
8b72607c38 Migrate interface alerts to lua logic 2017-04-27 11:07:04 +02:00
Emanuele Faranda
7d8d26efdc Merge pull request #1182 from emanuele-f/alerts_with_cache
Alerts with cache
2017-04-26 20:32:46 +02:00
Simone Mainardi
7b13e2e6a1 Adds an engine id to the engaged alerts 2017-04-24 12:22:47 +02:00
Simone Mainardi
2873438712 Handles VLAN statistics in both UI and backend
VLAN statistics are now properly accounted both in the front and
in the backend.

It is now required to add a toggle preference to save their
statistics (presently statistics are always saved) and it is
also requested to browse their historical protocols.
2017-04-23 12:58:10 +02:00
Simone Mainardi
0c40af5863 Implements VLANs hash table 2017-04-21 18:44:48 +02:00