Commit graph

1544 commits

Author SHA1 Message Date
Alfredo Cardigliano
bec67745cf tracking n2n/n2disk service stop/start 2018-12-04 23:22:08 +01:00
Alfredo Cardigliano
aab9e384ed Logging user login via alerts, added 'user activity' alerts type 2018-12-04 20:55:21 +01:00
Alfredo Cardigliano
51af9ea40c Initial tracker module 2018-12-04 19:28:49 +01:00
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
Emanuele Faranda
b4ca9d368f Fix mark: trailing garbage after value for option "--mark" 2018-11-29 13:17: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
emanuele-f
2ef887195b Check for ntopctl existance 2018-11-28 19:11:46 +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
f875c13271 Fixes attempt to compare string with number 2018-11-27 16:56:29 +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
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
Simone Mainardi
32fda89b64 Handles nDPI protocol names with dots in http lint
Fixes #2165
2018-11-19 17:52:29 +01:00
Alfredo Cardigliano
aca57418c3 checking available disk space for extractions (avoid using disk space required for recording), delaying extractions in case there is no space 2018-11-16 10:53:27 +01:00
Alfredo Cardigliano
6f029bb74c added extraction limit (optional) 2018-11-16 10:05:59 +01:00
Alfredo Cardigliano
036aa69206 updated math in case of low memory 2018-11-16 09:33:38 +01:00
Alfredo Cardigliano
c9f3004e16 reduced n2disk buffer size on slow networks 2018-11-16 09:32:13 +01:00
emanuele-f
4daf95ba2d Handle no recorded data 2018-11-15 18:35:35 +01:00
emanuele-f
d50a895f36 Traffic recording gui improvements 2018-11-14 19:29:58 +01:00
emanuele-f
c812d570f4 Improve traffic extraction dialog 2018-11-14 17:47:32 +01:00
Alfredo Cardigliano
519065a248 check_recording_data.lua now returns also the available window 2018-11-14 15:51:23 +01:00