Commit graph

2603 commits

Author SHA1 Message Date
emanuele-f
cb514ef9e1 Hide user authentication if login is disabled 2018-12-04 10:49:37 +01:00
emanuele-f
9dd33409df Implement sort by IP in network discovery page
Fixes #2197
2018-12-03 23:22:58 +01:00
emanuele-f
6574acde53 Handle protocol and category tags while zooming community charts
Possibly addresses #2194
2018-12-03 22:25:33 +01:00
Simone Mainardi
ea5c70da73 Adds lua function calls tracking code 2018-12-03 09:34:36 -08:00
emanuele-f
4dc3d52731 Implement remote assistance supernode configuration
Implements #2192
2018-12-01 16:32:23 +01:00
emanuele-f
1df7ebfed8 Hide radius auth if radius support is not available 2018-12-01 15:17:16 +01:00
emanuele-f
b85403fbfa Fix error when ntopctl is missing 2018-12-01 14:59:16 +01:00
emanuele-f
c9c672da7c Merge branch 'jerome-42-authenticator' into dev 2018-11-30 21:28:46 +01:00
emanuele-f
0bd433c5c5 Rework authentication preference to support RADIUS and HTTP auths 2018-11-30 21:22:11 +01:00
Luca
ec84abba08 Introduced SkypeCall 2018-11-30 18:55:22 +01:00
Luca
05a01abc17 Hardening fix 2018-11-30 18:53:50 +01:00
Alfredo Cardigliano
1691a1dd57 Lua round() fix (tonumber returning nil), removed duplicated round() definition 2018-11-30 12:00:00 +01:00
Alfredo Cardigliano
0850d8f70c Added more room in n2disk memory computation to avoid exhausting all sys memory 2018-11-30 09:57:46 +01:00
Alfredo Cardigliano
7f24a3b821 check user used by ntopctl (only 'ntopng' and root are supported) 2018-11-30 09:43:43 +01:00
Alfredo Cardigliano
bce7c25dc6 check user used by ntopctl (only 'ntopng' and root are supported) 2018-11-30 09:42:40 +01:00
Alfredo Cardigliano
6d7de7bd57 Moved header for all pages to page_utils 2018-11-29 18:10:18 +01:00
Alfredo Cardigliano
539dcd322c Using header-minimal from page_utils, removed header-minimal.inc 2018-11-29 17:25:32 +01:00
Alfredo Cardigliano
c4d4fb1dd9 More page titles 2018-11-29 17:19:42 +01:00
Emanuele Faranda
b4ca9d368f Fix mark: trailing garbage after value for option "--mark" 2018-11-29 13:17:19 +01:00
Alfredo Cardigliano
308f6cd804 Page titles 2018-11-29 12:37:01 +01:00
emanuele-f
c1c472a40d Fix missing parameters while performing referer redirection
The referer must be url-encoded in order to avoid mangling it during parameters validation
2018-11-29 12:00:19 +01:00
Alfredo Cardigliano
9eeae77e8b New page_utils module for printing header (it will be also used for menu, footer, etc) 2018-11-29 11:48:21 +01:00
Alfredo Cardigliano
01f5bcac1a Support for custom page titles 2018-11-29 11:26:29 +01:00
Alfredo Cardigliano
947dfdceac Sum of flows from grouped hosts can contain duplicates providing wrong a information, hiding this column, cleanup (#2178) 2018-11-29 10:31:59 +01:00
emanuele-f
7e759ec3bc Little localization fixes 2018-11-29 10:15:50 +01:00
Luca Deri
f05d0e603a Minor GUi fixes 2018-11-28 23:02:12 +01:00
emanuele-f
2ef887195b Check for ntopctl existance 2018-11-28 19:11:46 +01:00
emanuele-f
260f46d68d Update remote assitance docs 2018-11-28 18:38:10 +01:00
Simone Mainardi
bccb06d33f Fixes special characters in LDAP bind password
Fixes #2185
2018-11-28 18:06:09 +01:00
emanuele-f
de5a58ecf3 Remote assistance improvements
- Add status page with service log
- Use a different service name to avoid conflicts with other n2n instances
- Split key into community and key, alphanumeric
- Add connection script download
2018-11-28 17:56:45 +01:00
emanuele-f
d1f353a4c5 Migrate to Lua 5.3 bitwise operations
https://www.lua.org/manual/5.3/manual.html#3.4.2
2018-11-28 11:55:24 +01:00
Simone Mainardi
a188054536 Adds dashboards when reading from stdin 2018-11-28 11:02:20 +01:00
Simone Mainardi
f875c13271 Fixes attempt to compare string with number 2018-11-27 16:56:29 +01:00
emanuele-f
b40258c2fe Move remote assistance TOS accept to dialog 2018-11-26 16:26:13 +01:00
Simone Mainardi
e72fdc79fe Lua 5.3 loadstring compat fix 2018-11-26 15:03:42 +01:00
Simone Mainardi
12d4f54c9e Lua 5.3+ compat fixes 2018-11-26 14:57:58 +01:00
emanuele-f
5a9f75dd0a Fix tostring on float number 2018-11-26 14:12:56 +01:00
emanuele-f
6ca5e38587 Move services check at startup 2018-11-26 12:04:45 +01:00
emanuele-f
b7fe20f555 Fix remote assistance check 2018-11-26 11:09:05 +01:00
emanuele-f
2414538a2a Avoid too many forks by caching hasService result 2018-11-23 19:18:50 +01:00
emanuele-f
d6e78848ed Handle slow InfluxDB queries 2018-11-23 19:08:19 +01:00
emanuele-f
b62433e165 Fix service detection 2018-11-23 16:31:57 +01:00
emanuele-f
fdede22c7e Remove remote assistance debug 2018-11-23 14:45:54 +01:00
emanuele-f
eac278a28d Implement remote assistance
- It enables a VPN via n2n
- Remote assistance will be automatically disabled after 1 day
- Optionally it's possible to give admin access to the support
2018-11-23 13:03:11 +01:00
Alfredo Cardigliano
578e1362da computing MemAvailable on systems with no MemAvailable in /proc/meminfo 2018-11-22 22:29:28 +01:00
emanuele-f
695f674257 Fix SNMP step when high resolution timeseries are enabled
Fixes #2154
2018-11-22 18:49:04 +01:00
Simone Mainardi
a8402fa1dc Fixes SNMP devices permissions to prevent non-admins to delete or add devices
Fixes #2019

This commit is a companion of pro commit edc2b7f1f96740217244e3430147980c6c72b5a2
2018-11-22 12:51:04 +01:00
Alfredo Cardigliano
e082b2bacb computing used and reserved disk space from all interfaces when configuring the max disk space or checking the extraction limit 2018-11-20 15:34:09 +01:00
Alfredo Cardigliano
ad62aa3071 improved n2disk memory allocation based on memory actually available (free+reclaimable) 2018-11-20 13:25:06 +01:00
Simone Mainardi
5f9d979d58 Fixes network discovery page selection
Fixes #2155
2018-11-20 11:51:26 +01:00