Commit graph

693 commits

Author SHA1 Message Date
Simone Mainardi
9d82df748f Implements ERSPAN Type 2 detunneling 2018-03-02 21:18:33 +01:00
Simone Mainardi
99a812eca9 Fixes wrapping netfilter flows 2018-02-22 18:55:18 +01:00
Luca Deri
9f0458561a Replaced nDB with nIndex experimental support 2018-02-13 20:57:19 +01:00
Luca
a7a074a0a8 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2018-02-09 16:22:55 +01:00
Luca
f4ea4491c0 When flows are idle form more than 5 sec with a unknown L7 protocol, we guess the DPI protocol without further delaying it
When enabling under interfaces -> dump packets to disk + unknown flows, individual unknown flows are saved under /var/tmp/ntopng/X/pcap/ndpi_unknown
2018-02-09 16:10:49 +01:00
emanuele-f
99b67b16ad Remove old nedge define and move to new one 2018-02-09 13:01:08 +01:00
emanuele-f
51b3bdba3f Implement blacklisted hosts filter.
Implements #1639
2018-01-30 16:35:17 +01:00
emanuele-f
9afdf806fe Fix host filter by mac 2018-01-26 17:45:29 +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
Luca Deri
d7c8fbeff1 SNMP protocol version is now set in preferences 2018-01-21 08:14:28 +01:00
emanuele-f
2943249f2f Prevent critical protocols policing 2018-01-17 14:39:26 +01:00
Simone Mainardi
e22c6ab0e4 Periodic dump of hosts pools stats 2018-01-16 15:17:13 +01:00
emanuele-f
a5337ea7df Fix hosts vlan filter.
Use 65535 to indicate no vlan filter rather than 0. So vlan_filter semantic is now the following:

	0: filter hosts with no vlan
	1 - 4095: filter host with specified vlan
	65535: all hosts

https://it.wikipedia.org/wiki/VLAN
2018-01-12 10:44:47 +01:00
emanuele-f
77c4625845 nedge policy improvements 2018-01-11 18:36:48 +01:00
emanuele-f
8ad7b4ce08 Quotas fixes and improvements
- Fix concurrency issue while resetting quotas
  - Fix quota serialization issues
  - Add missing total stats serialization
  - Add per-pool quotas reset
  - Fix missing string cast on cross application quotas
  - Fix quota reset after midnight when ntopng is restarted
2018-01-05 10:16:50 +01:00
Emanuele Faranda
8a264cf559 Fix flows block for exceeded quota on nedge 2018-01-03 18:52:19 +01:00
Simone Mainardi
79cb1eefd4 Prevents possible crash on dynamic interfaces 2018-01-02 23:18:33 +01:00
Emanuele Faranda
36c77163e7 nedge block of active flows 2018-01-02 18:24:54 +01:00
Simone Mainardi
e6877cb644 Fixes VLAN retrieval logic 2018-01-02 17:52:08 +01:00
Luca Deri
c9ecd931d9 Code cleanup 2017-12-16 08:23:56 +01:00
emanuele-f
d271072d69 Compilation fix 2017-12-15 18:34:07 +01:00
emanuele-f
acac84a6b3 Fix flow pass verdict report with quotas 2017-12-15 18:00:04 +01:00
Simone Mainardi
45e2de0108 Hosts and pools sctive counts for flows and dropped flows 2017-12-14 18:19:48 +01:00
Simone Mainardi
2e6fa7cf27 Per-category flow filtering capabilities 2017-12-11 20:18:55 +01:00
emanuele-f
2513540b5b Avoid network prefix collision while sorting hosts 2017-12-11 16:11:04 +01:00
Luca Deri
6aa7808c72 nDPI compilation fix 2017-12-08 18:18:12 +01:00
emanuele-f
5f627b254f Compliation fix 2017-12-06 18:15:43 +01:00
emanuele-f
b574ecd025 Avoid unnecessary copy of l7 policy 2017-12-06 16:11:43 +01:00
Luca Deri
b33c55856e Discovery fixes 2017-12-03 12:18:39 +01:00
Luca Deri
4505bb7509 Win changes 2017-12-03 12:06:29 +01:00
Luca Deri
67aab07180 Reworked discovery code 2017-12-03 11:56:09 +01:00
emanuele-f
d350a3131f Remove json from hosts checkpoint and fix host iterator bug 2017-11-30 16:26:22 +01:00
emanuele-f
fccb00515f Fix top countries and top networks support in report 2017-11-29 12:48:30 +01:00
Simone Mainardi
9b4e1060e6 Saves 16 bytes for each host 2017-11-29 10:45:31 +01:00
emanuele-f
a51706ca98 Add missing interface stats initialization on virtual interfaces
Fixes #1580
2017-11-27 17:31:06 +01:00
emanuele-f
6661c6ef53 add checkpoint details level 2017-11-27 12:00:56 +01:00
Luca Deri
d9e855d664 Removed warning 2017-11-24 08:17:03 +01:00
Luca
caaf27d5a6 Implemented batched hosts and l2-devices walk 2017-11-22 19:38:08 +01:00
Luca Deri
9ff7e3121c Compilation fix 2017-11-22 08:11:25 +01:00
Luca Deri
a10e1000ef Compilation fix 2017-11-21 22:25:38 +01:00
Luca Deri
fde22d6c3c Reworked interface initialization 2017-11-21 22:19:30 +01:00
Luca Deri
535e514670 Added fix for using aggregations with dummy interface 2017-11-21 17:36:29 +01:00
Luca Deri
06e1183302 Added IoT discovery (Nest/Netatmo) initial support 2017-11-18 18:04:56 +01:00
Luca Deri
29ede6ff67 Added support for sFlow sample packet drops 2017-11-18 13:34:36 +01:00
Luca
43ff9ac181 Fixed device discovery 2017-11-17 18:41:04 +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
25bf6e66c3 Rework Checkpointable compression 2017-11-16 19:10:50 +01:00
emanuele-f
fa85749fe8 Selectively compress checkpoints json data
Compression is currently enabled only on hosts
2017-11-16 17:42:29 +01:00
emanuele-f
d85fc2b06b Migrate interface alerts to in-memory alerts 2017-11-16 16:05:49 +01:00
emanuele-f
346627eb74 Migrate network alerts to in-memory alerts 2017-11-16 15:23:43 +01:00