Commit graph

3564 commits

Author SHA1 Message Date
emanuele-f
b2082b7788 Generate alert when interface drops exceed a given threshold and fix alerts invalid cache 2018-03-07 15:13:23 +01:00
Simone Mainardi
705425eb0c Fixes for Redis socket connections 2018-03-07 14:38:55 +01:00
emanuele-f
d09454d0d1 Complete VLAN id MAC addresses removal 2018-03-06 15:40:09 +01:00
emanuele-f
1ad9aade87 Remove VLAN id from MAC addresses
Fixes #1626
2018-03-06 14:48:22 +01:00
emanuele-f
86ac46abd4 Hide top hidden hosts 2018-03-05 16:01:33 +01:00
emanuele-f
4c84f1da2f Implement "hide from top" preference 2018-03-05 16:01:33 +01:00
Simone Mainardi
9d82df748f Implements ERSPAN Type 2 detunneling 2018-03-02 21:18:33 +01:00
Simone Mainardi
bef7e7bf2e Fixes MySQL flow idx for nprobe databases 2018-03-02 11:00:22 +01:00
Simone Mainardi
99a812eca9 Fixes wrapping netfilter flows 2018-02-22 18:55:18 +01:00
emanuele-f
0f198dd638 Trigger an informative alert when an host pool is activated/deactivated
Closes #1363
2018-02-22 15:26:30 +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
emanuele-f
8ff93579aa Implement informative alert when a new MAC address is observed/re-seen/disappears
Implements #1659
2018-02-21 12:42:01 +01:00
Luca Deri
9f0458561a Replaced nDB with nIndex experimental support 2018-02-13 20:57:19 +01:00
Simone Mainardi
802dabfb32 Implements AS RTT calc. 2018-02-13 11:15:29 +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
53d2505edc Fix ElasticSearch bulk requests to boost performance.
- Allow to batch more than 8 requests in one http POST
- Extend the requests buffer size to 1 megabyte
- Use a timeout to prevent eccessive buffering
2018-02-06 16:52:35 +01:00
Simone Mainardi
3ef543fecd Implements per-AS nw latency stats rrds 2018-02-05 18:32:13 +01:00
emanuele-f
6ebdcc33d6 Fix crashes on network discovery when capabilities are not available 2018-01-31 14:09:53 +00:00
emanuele-f
51b3bdba3f Implement blacklisted hosts filter.
Implements #1639
2018-01-30 16:35:17 +01:00
Simone Mainardi
377abf1242 Implements AS latency estim. with EWMA 2018-01-27 19:03:23 +01:00
emanuele-f
5e9e3f0f08 Routing policy fixes 2018-01-26 14:11:15 +01:00
emanuele-f
f4e4559917 Change nedge default routing id 2018-01-26 12:42:35 +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
Luca Deri
94df4af211 SNMP-discovered devices are not automatically added to SNMP 2018-01-20 21:22:41 +01:00
emanuele-f
140005907a Fix redis replace of existing keys 2018-01-18 22:50:09 +01:00
emanuele-f
2943249f2f Prevent critical protocols policing 2018-01-17 14:39:26 +01:00
Simone Mainardi
43265da8b0 Makes all ntopng.pref keys persistent to file 2018-01-16 18:47:50 +01:00
Simone Mainardi
e22c6ab0e4 Periodic dump of hosts pools stats 2018-01-16 15:17:13 +01:00
emanuele-f
77c4625845 nedge policy improvements 2018-01-11 18:36:48 +01:00
emanuele-f
9f556d18b5 Add global preference to forge DNS 2018-01-10 11:58:12 +01:00
Luca Deri
2655d422e4 The default SNMP community used in discovery is now read from preferences and "public" is used only as fallback 2018-01-07 16:29:13 +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
36c77163e7 nedge block of active flows 2018-01-02 18:24:54 +01:00
emanuele-f
42ab649693 Add dynamic local network api 2017-12-21 17:20:16 +01:00
emanuele-f
5d22c6fbd2 Fix crash on zmq when source ip is zero and destination ip is ipv4
The source ip is sometimes set as ipv6, and this tricks code thinking the flow is ipv6.
This caused a crash in FlowProfiles, where get_ipv6 was called on an ipv4 address
2017-12-19 11:48:29 +01:00
emanuele-f
4305731106 Add routing mode flag 2017-12-18 12:50:17 +01:00
Simone Mainardi
04627745ae nEdge packaging 2017-12-17 23:14:47 +01:00
Luca Deri
c9ecd931d9 Code cleanup 2017-12-16 08:23:56 +01:00
emanuele-f
acac84a6b3 Fix flow pass verdict report with quotas 2017-12-15 18:00:04 +01:00
Simone Mainardi
fe9c592e14 Changes flows dropped to flows blocked 2017-12-15 15:01:34 +01:00
Luca Deri
41b2fe440b Added check for redis version 2017-12-14 23:29:37 +01:00
emanuele-f
d84bc95d3f Add ping script support 2017-12-14 19:46:59 +01:00
Simone Mainardi
f25c6b6724 Makes informative dropped flows alerts configurable 2017-12-14 19:11:18 +01:00
Simone Mainardi
503e367864 Implements dropped flow informative alerts 2017-12-14 18:47:52 +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
aeeb0fa261 Reworks flow alerts with JSON and extra info 2017-12-13 20:18:39 +01:00
Simone Mainardi
236af04194 Improves accuracy of hosts active flows counters 2017-12-13 13:00:55 +01:00