Commit graph

435 commits

Author SHA1 Message Date
emanuele-f
4d1c777940 Improve device deserialization logic 2019-02-25 15:41:58 +01:00
emanuele-f
905700d4e2 Reuse get_mac_based_tskey to avoid format differences 2019-02-22 16:28:31 +01:00
emanuele-f
4a97017f35 Fix mac-based serialization key and add a preference to enabled it (disabled by default) 2019-02-22 16:01:58 +01:00
emanuele-f
dd37cafa12 Store and restore local broadcast domain hosts from their mac key
Charts now display the mac based data when browsing a local broadcast domain host.
This is an important change to avoid mixing historical information of different hosts in a dynamic network.

More changes will follow to migrate other historical elements, like flows, alerts and top stats.
2019-02-21 18:42:57 +01:00
emanuele-f
a486d2c19f Implement host counter of total triggered alerts
Closes #2391
2019-02-20 20:12:44 +01:00
Simone Mainardi
2b2b37e624 Adds anomalous flows to the looking glass 2019-02-13 13:01:31 +01:00
emanuele-f
a09e8efed0 Add hosts anomalous flows counter 2019-02-12 12:05:30 +01:00
Simone Mainardi
b4f1660b0a Implements monitored gauges and metrics 2019-02-05 17:13:22 +01:00
Luca
509df6a1fc Improved counter monitoring algorithm 2019-02-03 23:30:07 +01:00
Luca
1638a36ec7 Initial experiments on counters monitoring 2019-02-03 15:32:32 +01:00
Simone Mainardi
0ee599d052 Adds MDNS/MDNS TXT/resolved names to the host details page 2019-01-30 14:36:33 +01:00
Simone Mainardi
92b722e6f3 Uses ARP do determine hosts in the same bcast domain 2019-01-29 18:07:43 +01:00
Simone Mainardi
5110b1cadf Prevents certain races when no heap mem is avaiable 2019-01-29 12:31:06 +01:00
Simone Mainardi
9b336937df Properly handles host names with concurrency 2019-01-28 17:56:40 +01:00
Simone Mainardi
88e63e0428 Handles inline MDNS names dissection 2019-01-28 11:44:48 +01:00
Simone Mainardi
ab76439ec6 Preliminary work to handle host names from multiple sources 2019-01-28 10:37:30 +01:00
Simone Mainardi
f81ebcf16d Host name handling cleanup 2019-01-25 15:33:56 +01:00
Simone Mainardi
d187b82560 Properly handles Host os without shadows 2019-01-25 14:28:15 +01:00
Simone Mainardi
50e32be5a7 Properly handles Host ssdp and mdns without shadows 2019-01-25 12:39:43 +01:00
Emanuele Faranda
1bf7da7ef7 Implements Mac stats/data reset and reset at midnight (#2326)
* Host data/stats delete improvements

* Rework mac counters and implemtent mac stats/data reset

* Implement stats reset at midnight

* Add missing files
2019-01-21 17:27:12 +01:00
emanuele-f
2dbf1e9cb8 Rework host counters and implemtent host stats/data reset 2019-01-18 19:31:16 +01:00
emanuele-f
8cdf051d77 Initial work for host data reset 2019-01-08 12:43:54 +01:00
Luca Deri
bedff2c8e2 Updated (C) 2019-01-07 19:28:49 +01:00
emanuele-f
af02c76c8b Implement scan detection alerts for remote hosts
Closes #2068
2018-12-14 12:28:23 +01:00
Alfredo Cardigliano
610cb69b9c builtin packet dump code cleanup (moving to continuous recording) 2018-10-25 09:56:52 +02:00
emanuele-f
6717e3850b Rework l7 policies to properly handle nDPI categories 2018-10-15 17:18:27 +02:00
Simone Mainardi
57e035ed2f Implements One-Way traffic filter for hosts
Implements #2091
2018-10-12 12:56:52 +02:00
emanuele-f
658e30a586 Improve category stats calculation 2018-10-11 16:08:45 +02:00
Simone Mainardi
ddf49ef106 Implements remote-to-remote host alerts
Implements #2057
2018-10-10 12:16:59 +02:00
emanuele-f
a8967a910a Fix forbidden device protocols reporting 2018-10-05 17:22:55 +02:00
Simone Mainardi
e49e2be46c Implements a leaky bucket to rate-limit flow alerts on a per-host basis
Implements #2070
2018-10-05 14:34:19 +02:00
emanuele-f
3abf49451d Rework device protocols with L7PolicySource_t support 2018-10-05 12:22:13 +02:00
Simone Mainardi
889729495e Implements support for collected custom applications 2018-10-01 00:22:49 +02:00
emanuele-f
a5483bd0cf Reload active hosts blacklist when lists change at runtime 2018-09-27 18:28:55 +02:00
emanuele-f
e98d66c4f8 Fix blacklisted host alert not being generated for local hosts 2018-09-27 16:19:49 +02:00
emanuele-f
4370df81e3 Remove unused HTTPBL 2018-09-27 16:14:46 +02:00
emanuele-f
c87a02d012 Implement active host contacts metrics 2018-09-07 11:58:06 +02:00
Alfredo Cardigliano
0e95cff729 do not count AS sent/recvd traffic for hosts talking within the same AS 2018-08-30 19:10:18 +02:00
emanuele-f
0004e08191 Add experimental support for 5sec granularity for host timeseries
To enable it (only on *InfluxDB* right now):

- uncomment HOST_NUM_TIMESERIES_POINTS in ntop_defines.h
- run `redis-cli set ntopng.prefs.30_sec_dump 1` and restart ntopng
2018-08-23 18:10:46 +02:00
Simone Mainardi
4f3f3f428a Fixes missing top visited websites
Fixes #1883
2018-07-25 15:42:39 +02:00
Simone Mainardi
2c641cf286 Refactors class Host in LocalHost and RemoteHost
Adds class RemoteHost

Moves alert fields to LocalHost

Adds initialize() function to LocalHost

Differentiates local/remote hosts in restore

Uses isLocalHost for lua host print

Removes debug prints
2018-07-18 14:25:31 +02:00
Simone Mainardi
3d6af7a740 Implements TCP KeepAlive Stats
Implements #1711
2018-03-30 18:17:20 +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
4c84f1da2f Implement "hide from top" preference 2018-03-05 16:01:33 +01:00
emanuele-f
f8d7677710 Add per-user default policy and change policy application order.
The order is now the following

1) User protocol policy
2) User category policy
3) User default policy

The "not assigned" user policies are not a fallback any more.
They are only applied on not assigned devices.
2018-02-21 17:05:46 +01:00
Simone Mainardi
802dabfb32 Implements AS RTT calc. 2018-02-13 11:15:29 +01:00
Simone Mainardi
377abf1242 Implements AS latency estim. with EWMA 2018-01-27 19:03:23 +01:00
emanuele-f
92b9991d92 Fix realtime top asn and hosts senders view
The view was broken after changes in commits:
	- 9b4e1060e6
	- 6635d1a716
2018-01-23 19:28:52 +01:00
Simone Mainardi
43265da8b0 Makes all ntopng.pref keys persistent to file 2018-01-16 18:47:50 +01:00