Commit graph

509 commits

Author SHA1 Message Date
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
emanuele-f
b574ecd025 Avoid unnecessary copy of l7 policy 2017-12-06 16:11:43 +01:00
emanuele-f
d350a3131f Remove json from hosts checkpoint and fix host iterator bug 2017-11-30 16:26:22 +01:00
Simone Mainardi
9b4e1060e6 Saves 16 bytes for each host 2017-11-29 10:45:31 +01:00
emanuele-f
6661c6ef53 add checkpoint details level 2017-11-27 12:00:56 +01:00
emanuele-f
6b37ee2820 Optimize alerts handling
Avoid checkpointing on entities with no configured threshold
2017-11-17 14:00:53 +01:00
emanuele-f
c29d5eb808 Move checkpoint logic to separate Checkpointable class 2017-11-16 11:40:20 +01:00
emanuele-f
7281fd0d5d Implement per protocol schedule 2017-11-02 12:49:22 +01:00
Simone Mainardi
a22022bb30 Reworks alerts to prevent local hosts I/O 2017-11-01 23:04:33 +01:00
Simone Mainardi
4bbe36c957 Removes unused DNS-based categorization 2017-10-31 13:53:17 +01:00
Simone Mainardi
a67205af77 Implements per-host traffic shapers 2017-10-23 15:01:34 +02:00
Simone Mainardi
5c2353eb0a Adds host pool flag to enforce cross application quotas 2017-10-18 18:57:56 +02:00
Simone Mainardi
686fe178ab Host pools members count fixes 2017-10-12 12:14:42 +02:00
Luca Deri
0623d2fc7d Changed the way host pool inc/dec are implemented to avoid race conditions 2017-10-11 17:29:23 +02:00
Simone Mainardi
bf0df0be7c Prevents zero-divisions in GenericTrafficElement throughput calc.
Attempts to fix #1446
2017-09-26 14:44:53 +02:00
Luca Deri
6704c1ef9e Implemented initial device detection based on OS 2017-09-15 15:56:11 +02:00
Luca Deri
43cca84ebe Fix for #1401 2017-08-16 11:55:35 +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
df41e83925 Added detection of ghost hosts in discovery 2017-08-11 14:24:05 +02:00
Simone Mainardi
fd8ee25641 Code refactoring to simplify stats reset 2017-08-01 15:39:00 +02:00
Simone Mainardi
a7b41075e4 Implements broadcast addresses per local network
Implements #571
2017-07-31 18:45:49 +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
Luca
bf0f7f68b1 Implemented initia; Lua discovery call
Dissected SSDP location header and reported in host info page
2017-06-18 15:25:18 -04: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
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
emanuele-f
9c973ca439 Move host activity detection code to attic 2017-05-17 22:19:37 +02:00