Commit graph

1559 commits

Author SHA1 Message Date
emanuele-f
bca561341e Fix setPref called for unchanged preferences 2018-12-06 16:37:01 +01:00
Alfredo Cardigliano
2ea6a5a3bc Tracking SNMP device add/remove 2018-12-06 15:58:22 +01:00
emanuele-f
9bae8e234a Implement InfluxDB alerts when export fails
Fixes #2193
2018-12-06 14:32:37 +01:00
Alfredo Cardigliano
f2e5f0b30d Added details for unhandled activities 2018-12-06 12:35:13 +01:00
Alfredo Cardigliano
f249f0bbb9 restricted nIndexSelect logging to live_flows_extraction 2018-12-06 12:23:34 +01:00
Alfredo Cardigliano
48c20ec844 Tracking flows data download 2018-12-06 10:58:19 +01:00
emanuele-f
151bd5177b Fix missing supernode in remote assistance configuration
Fixes #2199
2018-12-06 10:45:37 +01:00
Alfredo Cardigliano
7a508b84e9 Comments for the tracker api 2018-12-05 07:14:45 +01:00
Alfredo Cardigliano
9241a3c3e4 Added tracking of selected preferences (alerts settings) 2018-12-05 06:41:56 +01:00
emanuele-f
5f9c1cbd82 Add RADIUS log and constraints 2018-12-05 16:08:37 +01:00
Alfredo Cardigliano
bc7283ce3f Tracking more user activities: alerts deleted, all/inactive/interface data deleted, host data deleted, all/host data exproted 2018-12-05 04:36:30 +01:00
Alfredo Cardigliano
a087fb3bc9 Added tracker.log(), tracking host_get_json 2018-12-05 01:56:15 +01:00
emanuele-f
9f756fa23f Fix error causing daily script to fail
Fixes #2198

Since the daily script always failed, no top talkers sampling aggregations were applied and raw samplings where computed
2018-12-05 13:18:25 +01:00
Alfredo Cardigliano
23402e7261 Tracking more user activities: downloaded pcaps, live capture, live extraction, added/deleted users, password changed 2018-12-05 00:55:34 +01:00
emanuele-f
c69c500dd1 Fix getFirstInterfaceId returning different ids 2018-12-05 11:02:14 +01:00
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