Commit graph

4936 commits

Author SHA1 Message Date
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
4905dab38d Fixes attempt to index a nil value (local 'device') 2020-06-10 16:00:19 +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
Luca Deri
acd8d33ca8 Removed unused code 2020-06-09 18:00:59 +02:00
Simone Mainardi
2f48152a97 Minor fixes for pruning unresponsive SNMP devices 2020-06-09 16:05:48 +02:00
Alfredo Cardigliano
d5453fe972 Fix rest/v1/get/host/l7/stats content type 2020-06-09 13:07:55 +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
andpp
87d77d12d6 Fixing redirection issue after changing interface (#4022)
Simplifies interface switch send redirect code

Addresses https://github.com/ntop/ntopng/pull/4022
2020-06-08 10:31:16 +02:00
Simone Mainardi
4fabaf3c26 Uses the new snmp_cached_dev API in host_details.lua 2020-06-04 19:40:47 +02:00
Simone Mainardi
7cf28ead05 Updates host_details.lua with the new snmp lua interface 2020-06-04 10:38:41 +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
Simone Mainardi
6126b588c1 Always shows full info as part of the tooltip
Fixes #4009
2020-06-01 20:09:29 +02:00
Simone Mainardi
7b995070a2 Removes redundant host_name in page host_details.lua 2020-06-01 12:04: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
Simone Mainardi
19da0a665a Fixes host pool export conf 2020-06-01 11:02:23 +02:00
Simone Mainardi
9c09d1c315 Migrates admin/host_pools.lua to REST API v1 2020-06-01 10:59:42 +02:00
Simone Mainardi
6b4b5751bc Migrates host_details.lua to REST API v1 2020-06-01 10:46:55 +02:00
Simone Mainardi
0df00d2de3 Migrates footer.lua to REST API v1 2020-06-01 10:44:55 +02:00
Simone Mainardi
7067bb3725 Migrates if_stats.lua to REST API v1 2020-06-01 10:34:26 +02:00
Simone Mainardi
1d22c3c232 Adjusts naming conventions for rest/v1/get/alert/type/counters.lua 2020-05-29 18:05:35 +02:00
Simone Mainardi
f780152f89 Adjusts naming conventions for rest/v1/get/alert/severity/counters.lua 2020-05-29 18:02:29 +02:00
Simone Mainardi
6ea0531be0 Adjusts types and severities returned by rest/v1/get/alert/data.lua 2020-05-29 17:52:55 +02:00
Simone Mainardi
0d8012d9ec Adjusts naming convention for rest/v1/get/flow/l7/counters.lua 2020-05-29 17:42:31 +02:00
emanuele-f
3fe13a245b Remove unused references related to the timeseries ring 2020-05-29 14:54:21 +02:00
Alfredo Cardigliano
6eec119083 Return a standard json format for arrays 2020-05-29 12:47:22 +02:00
Luca Deri
da44b8fb65 Added missing parameter 2020-05-29 12:46:03 +02:00
Alfredo Cardigliano
b56b14b534 Alert ts endpoint fixes 2020-05-29 11:20:45 +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
49ac0c498a Comment 2020-05-29 09:14:53 +02:00
Alfredo Cardigliano
522fc65b55 Add rest/v1/get/host/active.lua REST API (#3954) 2020-05-28 19:02:19 +02:00
Simone Mainardi
e2d5497d52 Implement endpoint to list all interfaces of an host
Implements #3955
2020-05-28 18:57:08 +02:00
Alfredo Cardigliano
1b2c5274e5 Fix continuous recording toggle 2020-05-28 17:21:19 +02:00
Simone Mainardi
fba483b869 Implement getter for protocol constants
Implements ##3945
2020-05-28 17:13:19 +02:00
Simone Mainardi
3afb189336 Shortens category_id to cat_id in a rest json response 2020-05-28 17:01:04 +02:00
Simone Mainardi
38067e4ef8 Adds category id to the rest application consts getter
Implements #3944
2020-05-28 16:58:19 +02:00
Simone Mainardi
04945cc72f Implement getter for categories constants
Implements #3944
2020-05-28 16:51:57 +02:00
Simone Mainardi
8b85f0dd9e Implement getter for application constants
Implements #3944
2020-05-28 16:44:59 +02:00