Commit graph

3085 commits

Author SHA1 Message Date
Simone Mainardi
e0b19c73bb Extends rest_utils to handle SNMP devices errors 2020-06-17 15:15:15 +02:00
Simone Mainardi
7979468f5b Exposes http_lint methods to the outside 2020-06-16 22:38:48 +02:00
Luca Deri
94076c9976 SNMP improvements 2020-06-16 20:05:08 +02:00
gabryon99
c2c763c2c1 moved overview.js import handler to enterprise 2020-06-16 11:00:03 +02:00
gabryon99
35caecdaea add dark map on dark mode 2020-06-15 12:16:03 +02:00
gabryon99
5b4b55872f fix geomap host 2020-06-15 10:25:47 +02:00
Luca Deri
1f5ead2457 Typo 2020-06-12 08:10:20 +02:00
Luca Deri
b1a17d990f Added check to avoid copying non .lua files when plugin directories are created 2020-06-12 08:09:41 +02:00
Simone Mainardi
d30c945ad7 Allows loading of pro html templates 2020-06-11 18:56:57 +02:00
Alfredo Cardigliano
5caac80fcb Alt name cleanup 2020-06-11 10:20:53 +02:00
Simone Mainardi
30cbf26684 Fixes flow_details SNMP information 2020-06-10 17:29:38 +02:00
Simone Mainardi
4ffa3e2ca7 Adds SNMP information in flow_details.lua 2020-06-10 17:10:30 +02:00
Simone Mainardi
cfe6ff86b7 Fixes failing flows_stats.lua with the new SNMP 2020-06-10 16:49:43 +02:00
Simone Mainardi
cd4a513b0f Implements snmp_consts.lua with SNMP consts 2020-06-10 15:40:47 +02:00
Simone Mainardi
0bbb30e13e Refactors snmp_utils global methods into module functions 2020-06-10 13:09:30 +02:00
Simone Mainardi
8a3e65ac50 Requires snmp_utils as local module 2020-06-10 12:17:25 +02:00
Simone Mainardi
a3d7365888 Implements netsnmp charts for cpu states and memory 2020-06-09 22:56:21 +02:00
Simone Mainardi
eab51e54d6 Adds validation for SNMP devices responsiveness 2020-06-09 18:41:35 +02:00
Simone Mainardi
2f48152a97 Minor fixes for pruning unresponsive SNMP devices 2020-06-09 16:05:48 +02:00
Simone Mainardi
d714528fa0 Minor cleanup 2020-06-09 11:50:07 +02:00
Simone Mainardi
8609e0bc2e Avoids adding URLs for SNMP device interfaces no longer existing 2020-06-09 11:48:28 +02:00
Simone Mainardi
f33b46842a Avoids adding URLs for SNMP devices no longer existing 2020-06-09 10:24:53 +02:00
Simone Mainardi
47e855a75b Returns empty string in safe_html when input is nil 2020-06-03 19:08:37 +02:00
Simone Mainardi
17bfc850b1 Fixes XSS in dissected HTTP URLs, TLS certs, and DNS names
Fixes possible XSS due to forged HTTP urls such as

curl -u admin:admin1 "http://devel:3000/</a><script>alert(1);</script><a>"

Similar attacks could have been performed with TLS certs and DNS names
2020-06-03 19:03:55 +02:00
Luca Deri
4ba2904386 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2020-06-01 11:55:10 +02:00
Luca Deri
a041bb52c0 Reworked port drill down support 2020-06-01 11:52:41 +02:00
Simone Mainardi
5d8d748cdf Fixes flows filter in host details page
Fixes #4010
2020-06-01 11:47:46 +02:00
Simone Mainardi
2010890af9 Migrates other lua to REST API v1 2020-06-01 11:03:12 +02:00
emanuele-f
3fe13a245b Remove unused references related to the timeseries ring 2020-05-29 14:54:21 +02:00
Luca Deri
da44b8fb65 Added missing parameter 2020-05-29 12:46:03 +02:00
emanuele-f
c55aaa4391 Fix error while adding a custom proto in non-existing protos.txt 2020-05-29 09:21:54 +02:00
Alfredo Cardigliano
9348e51924 Add rest/v1/get/host/l7/stats.lua REST API (#3953) 2020-05-28 10:44:07 +02:00
emanuele-f
532225f1bc Fix custom protocol IDs not preserved
Addresses #3991
2020-05-27 15:36:07 +02:00
Simone Mainardi
db43a57c3b Implements better JSON comparison in tests and allows for custom dir and redis 2020-05-27 15:25:38 +02:00
emanuele-f
aedf348534 Move interface timeseries prefs to the global config
Addresses #3979
2020-05-27 13:48:27 +02:00
emanuele-f
d83df2821b Add note for the side effects of lowering the timeseries resolution
Also fix hardcoded urls in the localization file.

Addresses #3958
2020-05-27 11:18:39 +02:00
Alfredo Cardigliano
97046a8a97 Add rest/v1/get/alert/severity/counters.lua REST API 2020-05-27 11:05:59 +02:00
Alfredo Cardigliano
9814c91bfb Add filters to rest/v1/get/alert/type/counters.lua REST API 2020-05-27 10:53:07 +02:00
Alfredo Cardigliano
7c977a3ebc Add rest/v1/get/alert/type/counters.lua API REST (implement #3948) 2020-05-27 10:47:33 +02:00
Simone Mainardi
9ba746bd78 Adds the default host:traffic when checking host ts existance 2020-05-26 18:45:22 +02:00
Simone Mainardi
661d942f22 Refines ts existance checks when generating host_details.lua urls 2020-05-26 17:59:08 +02:00
Simone Mainardi
bd0c594433 Check host_details.lua link existance in alerts 2020-05-26 17:36:35 +02:00
Simone Mainardi
48726c0f37 Adds a flag to check for host_details.lua links existance 2020-05-26 17:35:55 +02:00
Simone Mainardi
d487199a19 Unifies host_details.lua link gen in host_details.lua flows page 2020-05-26 15:12:44 +02:00
Simone Mainardi
05e55530f5 Fixes missing VLANs in hostinfo2url 2020-05-26 13:06:19 +02:00
Simone Mainardi
49e49e0ed6 Unifies host_details.lua generation
Addresses #3977
2020-05-26 12:50:47 +02:00
Alfredo Cardigliano
21fe9aa490 Add v1/get/alert/ts.lua REST API (implement #3943 2020-05-26 12:28:33 +02:00
Alfredo Cardigliano
09ea665c9b Improve v1/get/alert/data.lua endpoint 2020-05-26 11:11:20 +02:00
gabryon99
42ebb418f1 removed debug from blog_utils 2020-05-25 09:27:59 +02:00
gabryon99
5c1664a56f fix blog utils ordering 2020-05-25 08:57:42 +02:00