Commit graph

43 commits

Author SHA1 Message Date
Luca Deri
e55854aaff Initial work on host bins 2020-01-27 11:55:00 +01:00
Luca Deri
57e6a93065 Improved scheduling algorithm to guarantee minimum service time when number of entries allow
Updated (C)
2020-01-06 23:36:36 +01:00
Simone Mainardi
a65b6efc7c Implements icmp hosts stats for view interfaces 2019-12-13 13:06:26 +01:00
Simone Mainardi
4a9ac03cb4 Implements dns hosts stats for view interfaces 2019-12-13 09:58:09 +01:00
Simone Mainardi
4bac6dfd85 DNS queries pie chart fix 2019-12-05 17:14:02 +01:00
Simone Mainardi
e80dc962f4 Optimizes host.getFullInfo with smaller functions in periodic scripts 2019-10-21 16:21:03 +02:00
Simone Mainardi
b81592e49f nEdge compilation fixes 2019-09-30 20:04:42 +02:00
emanuele-f
c3fa094e99 Improve MUD prefs handling
Also implement a non-inline reloadPrefs Host method to avoid slowing down packet capture
2019-09-10 11:10:33 +02:00
Simone Mainardi
e1bdb8887c Performs local hosts serialization in set_hash_entry_state_idle 2019-08-12 14:40:54 +02:00
Emanuele Faranda
c829c4c3c3
Unify os (#2755)
* Unify OS information.

Now OS information is only stored into the Host. The lua uses numeric IDs to handle OS.

* Fix network discovery OS

* Show OS detail into the host details page
2019-08-08 12:09:51 +00:00
Luca Deri
e0563d28bc Improved host port stats 2019-07-22 15:49:39 +02:00
Luca Deri
3b3af9bb9f Implemented local hosts services hashes 2019-07-15 23:36:45 +02:00
Luca Deri
6a547616e2 Implemented local hosts ports stats 2019-07-15 18:55:11 +02:00
emanuele-f
e74f6ee3b7 Fix host timeseries first point problem.
An additional point is now stored on the ts database to address the issue.

Fixes #2184
2019-05-28 17:17:21 +02:00
emanuele-f
8fcce457c9 Implement countries serialization
Countries now show the cumulative traffic since ntopng restart as this is consistent with the other views
2019-05-27 13:07:30 +02:00
Emanuele Faranda
c09199690f
Unify serialization to redis and implement VLAN/AS serialization (#2610) 2019-05-27 08:11:20 +00:00
Salvatore Costantino
76dded229a Added ICMP ECHO time series (#2518)
* Added ICMP ECHO time series

* added icmp echo time series
2019-04-08 16:10:30 +02:00
Salvatore Costantino
3bb830d23e Fix active contacts time series (#2506)
* Fix active contacts time series

* Fix active contacts time series
2019-04-04 09:33:09 +02:00
SalvatoreCostantino
27fcedf9ff Added TCP time series 2019-04-02 16:22:39 +02:00
Salvatore Costantino
c8a95d9476 Added dns time series (#2487) 2019-03-28 19:14:51 +01:00
emanuele-f
347bc2062e Simplify host serialization keys by using the isDhcpHost info 2019-02-26 18:45:29 +01:00
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
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
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
d187b82560 Properly handles Host os without shadows 2019-01-25 14:28:15 +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
Luca Deri
e3e82c6dce Fixed OS implementation for local hosts
Tiny change on the pcap interface due to Windows issues
2018-12-20 18:59:09 +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
Simone Mainardi
ddf49ef106 Implements remote-to-remote host alerts
Implements #2057
2018-10-10 12:16:59 +02:00
Luca Deri
b3fec44897 Code cleanup 2018-09-26 08:42:47 +02:00
emanuele-f
7c49514ba0 Fix wrong number of active flows per host 2018-09-07 12:18:02 +02:00
emanuele-f
c87a02d012 Implement active host contacts metrics 2018-09-07 11:58:06 +02:00
emanuele-f
cfc345709d Implement high resolution interface timeseries 2018-09-04 12:57:18 +02:00
emanuele-f
a594e648c4 Generalize high resolution timeseries
In InfluxDB, 5 minutes timeseries are now written with a minimum of 1 minute resolution
2018-09-03 14:43:52 +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
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