Commit graph

5516 commits

Author SHA1 Message Date
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
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
876fcfefcf Fixes attempt to index a nil value (global 'snmp_utils') 2020-06-10 14:37:36 +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
54dd2e5c8a Adds a safety check on cached_device 2020-06-09 19:05:13 +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
Luca Deri
6d58f22cb4 Fixes #3888 2020-06-09 17:12:57 +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
c2847398c2 Adjusts SNMP device interface scripts to use snmp_cached_dev.lua 2020-06-09 10:57:54 +02:00
Simone Mainardi
f33b46842a Avoids adding URLs for SNMP devices no longer existing 2020-06-09 10:24:53 +02:00
Simone Mainardi
220359981f Adjusts SNMP device scripts to use snmp_cached_dev.lua 2020-06-09 09:47:33 +02:00
Luca Deri
89500955a0 Reworked SNMP get/getnext options 2020-06-08 19:49:45 +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
Luca Deri
80e5400c36 Addded SNMP poll duration 2020-06-08 09:29:02 +02:00
Luca Deri
f9510cbd94 Added SNMP error message string 2020-06-07 12:11:36 +02:00
Luca Deri
a7732fe72a Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2020-06-05 11:57:05 +02:00
Luca Deri
c0b8f6bf49 Added SNMP localization strings 2020-06-05 11:56:43 +02:00
Simone Mainardi
2dbc577f0d Addidtional SNMP ifOperStatus locales 2020-06-05 11:18:37 +02:00
Yoshihiro
17b80d35db
modified jp language (#4020) 2020-06-05 09:10:37 +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
01b7339092 Minor localization fix
Fixes #4015
2020-06-03 10:40:19 +02:00
Alfredo Cardigliano
d56122c900 Fix computation of interface throughput (alert) (fix #4000) 2020-06-03 09:13: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
Alfredo Cardigliano
b8fdee7fa9 Fix value computation in Throughput Alert (#fix #4000) 2020-06-01 12:33:15 +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