Commit graph

1523 commits

Author SHA1 Message Date
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
emanuele-f
19ededa380 Add chart link in traffic extraction jobs 2018-11-14 12:00:15 +01:00
emanuele-f
9a506c69c3 Fix traffic extraction jobs pagination 2018-11-13 20:25:39 +01:00
emanuele-f
e32e873dff Add delete all and confirmation dialog in traffic extraction jobs 2018-11-13 20:13:47 +01:00
emanuele-f
2e11f7506e Improve traffic dump storage utilization bar 2018-11-13 20:13:47 +01:00
emanuele-f
88986d5589 Move traffic extraction pages under the interface disk icon 2018-11-13 20:13:47 +01:00
emanuele-f
a8b9e7439d Use user-configured interface speed in traffic recording 2018-11-12 16:36:11 +01:00
Alfredo Cardigliano
1788951f1a recording api doc 2018-11-12 15:57:26 +01:00
Alfredo Cardigliano
afee7b3196 initial recording_utils extraction API doc 2018-11-12 13:02:20 +01:00
Simone Mainardi
3e10192912 Makes the maximum number of aggregated flows configurable and optional
Fixes #2123
2018-11-09 19:50:56 +01:00
Alfredo Cardigliano
bd5983a911 endpoint to check if there is pcap data in a time interval 2018-11-09 19:27:18 +01:00
Alfredo Cardigliano
763922bb2e setting n2disk capture direction based on the ntopng capture direction 2018-11-09 16:28:38 +01:00
emanuele-f
def73cfd4c Cosmetic changes to tests 2018-11-09 12:11:15 +01:00
emanuele-f
12e2e500b1 Implement InfluxDB query test 2018-11-09 12:11:15 +01:00
Alfredo Cardigliano
573bade0e0 extracted files limit is in bytes now, added bytes limit to preferences, PacketDumper code cleanup 2018-11-09 10:24:10 +01:00
cardigliano
6257d6d002 listing fpga interfaces for traffic recording with zmq support 2018-11-08 17:13:43 +01:00
Alfredo Cardigliano
6b3a1e4bc3 reading n2disk license if already set 2018-11-08 11:29:38 +01:00
Simone Mainardi
1eece0f06e Adds process-process eBPF graphs in host details 2018-11-08 10:14:46 +01:00
Simone Mainardi
ffabf83511 Refactors eBPF code with ebpf_utils.lua module 2018-11-06 21:57:34 +01:00
Simone Mainardi
594582cdfe Implements eBPF processes drilldown with flows and pie charts 2018-11-06 12:14:20 +01:00
emanuele-f
9b75e6e834 Improve timeseries charts 2018-11-06 10:42:56 +01:00
Simone Mainardi
d08534cb8f Implements eBPF username page with per-user nDPI pie charts 2018-11-05 19:01:05 +01:00