Commit graph

195 commits

Author SHA1 Message Date
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
emanuele-f
a91781f66c Add hide findHostsByIP to enforce purge lock on hosts hash 2017-04-21 16:57:34 +02:00
Simone Mainardi
9fb24219e4 Passes host detected anomalies to lua 2017-04-20 18:50:05 +02:00
Simone Mainardi
a43636bdb0 Fixes AS stats in the GUI 2017-04-20 11:56:33 +02:00
Simone Mainardi
5014669d12 Implements Autonomous Systems hash table 2017-04-19 23:19:16 +02:00
emanuele-f
aa7bab5fee Add sent/received ARP stats for NetworkInterfaces and add a sent/recv pie chart for hosts 2017-04-04 13:24:04 +02:00
Luca Deri
1854b884a2 Improved ICMP stats, added last peer, made them available interface wide 2017-03-30 12:37:03 +02:00
emanuele-f
42904dd034 Implement HostPool time and bytes quota limit in inline mode 2017-03-29 19:42:31 +02:00
Simone Mainardi
bde6330550 Compilation fix 2017-03-28 00:26:23 +02:00
Simone Mainardi
13613fc2da Implements Flow Devices statistics collection and storage
Flows sent via nProbe (proxy mode) carry information on the exporter
address (EXPORTER_IPV4_ADDRESS) and on the exporter interfaces
(INPUT_SNMP and OUTPUT_SNMP). This implementation attempts at saving
this information to allow comparisons with raw SNMP data.
2017-03-27 23:58:50 +02:00
emanuele-f
1e22994828 Fix invalid hosts count when application protocol filter is in use 2017-03-27 15:11:30 +02:00
Bogdan Perian
f23e1a0878 Merge branch 'dev' of github.com:ntop/ntopng into dev
sync
2017-03-25 21:28:15 +02:00
Bogdan Perian
90743b953a Logstash flow export extension 2017-03-25 21:09:07 +02:00
Luca Deri
9a95fc9511 Implemented per nDPI-protocol time duration 2017-03-25 19:58:22 +01:00
Luca Deri
3729abf635 Added TCP flags distribution in interface stats (/lua/if_stats.lua) 2017-03-25 09:06:02 +01:00
Luca Deri
d358712f59 Optimized purging
Minor lua code cleanup
2017-03-13 22:47:30 +01:00
Simone Mainardi
80f8190c97 Layout improvements for L2 devices
Implements #1040
2017-03-13 13:01:48 +01:00
Simone Mainardi
50fcbbe129 Adds SNMP statistics 2017-03-10 18:32:19 +01:00
Josh Soref
2d4c69da4a spelling: interface 2017-03-07 05:09:27 +00:00
Josh Soref
78e78c018c Fixes spellings and typos
Thank goes to
Josh Soref <jsoref@users.noreply.github.com>
2017-03-06 17:54:48 +01:00
emanuele-f
0b29b4b7ed Fixes empty hosts list with Dynamic Flow Collection Interfaces 2017-03-06 12:05:41 +01:00
Luca Deri
e5e6ff6cd8 Fix for invalid host retrieval (no hosts returned while hosts were present)
Fixed invalid host first/last seen in colelctor interfaces
Enhanced usage of interface Ids in collected flows
2017-03-04 11:23:57 +01:00
Emanuele Faranda
a624cda58d More flows and hosts filters (#1007)
* Add active flows hosts filter

* Add hosts and flows filter by IP version

* Highlight active items

* Fix Unknown protocol filter
2017-03-02 19:21:43 +01:00
Emanuele Faranda
c39901bde9 Add manufacturer filter to Layer 2 devices (#1011) 2017-03-02 15:29:28 +01:00
Emanuele Faranda
4ff3b2dba0 Add application filter dropdown to the host page flows (#957) 2017-01-31 17:09:25 +01:00
Simone Mainardi
be922767d1 Lua getter for host pools volatile members 2017-01-30 19:46:42 +01:00