Commit graph

226 commits

Author SHA1 Message Date
Simone Mainardi
9cad482002 Implements self restart of systemd process 2018-09-18 13:21:24 +02:00
emanuele-f
c6d793a6c4 Fixes inactive interfaces deletion for unrestricted users
Fixes #2022
2018-09-16 20:13:15 +02:00
Simone Mainardi
eb1509b8a0 Fixes broken ifspeed calculation
Fixes issues introduced with
5cac9d0bc0
2018-09-13 19:15:01 +02:00
Simone Mainardi
3ffcdcc021 Checks errors in inactive interface deletion
Implements #2008
2018-09-13 16:27:06 +02:00
Simone Mainardi
9416b4f6be Notifies Lua of a shutdown request 2018-09-13 13:08:35 +02:00
emanuele-f
9955a064f7 Fix #2016 2018-09-13 10:42:51 +02:00
emanuele-f
836018f25b Revert accidental LuaEngine modification in previous commit 2018-09-12 18:13:56 +02:00
emanuele-f
129e824eea Add InfluxDB information in runtime status and about page
Closes #2010
2018-09-12 18:05:20 +02:00
emanuele-f
30df7e6eeb Implement allowed network and interface checks on timeseries
Fixes #2007
2018-09-12 15:52:14 +02:00
Luca Deri
05b159d5e3 Added nindex approximate match 2018-09-12 14:11:25 +02:00
Luca Deri
c34854d9b6 Fix for #1995 2018-09-07 09:16:26 +02:00
Luca Deri
287036d984 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2018-09-05 17:19:20 +02:00
Luca Deri
71a97fe70d Minor cleanup 2018-09-05 17:19:10 +02:00
Simone Mainardi
8a055b39c5 Implements a lua endpoint to send alerts to syslog
Implements #1973
Implements #1954
2018-09-05 15:26:57 +02:00
emanuele-f
cfc345709d Implement high resolution interface timeseries 2018-09-04 12:57:18 +02:00
emanuele-f
08b8be0357 Allow 'ntopng' as parameter value.
Fixes #1970
2018-09-04 10:04:31 +02:00
Simone Mainardi
0e258ce831 Implements flag for interfaces with mirrored traffic
Implements #1917
2018-08-28 18:27:53 +02:00
Simone Mainardi
7b50ad0c3d Implements util dir_exists 2018-08-28 15:39:50 +02:00
Simone Mainardi
a1a5d53c8e Improves Lua-based params validation
Fixes #1935
2018-08-28 15:08:34 +02:00
Luca
1ab11b6e9c Implemented Lua-based parameter validation 2018-08-25 13:32:15 +02:00
emanuele-f
0004e08191 Add experimental support for 5sec granularity for host timeseries
To enable it (only on *InfluxDB* right now):

- uncomment HOST_NUM_TIMESERIES_POINTS in ntop_defines.h
- run `redis-cli set ntopng.prefs.30_sec_dump 1` and restart ntopng
2018-08-23 18:10:46 +02:00
emanuele-f
8a7ead5924 Harden HTTP session checks and remove user cookie 2018-08-21 18:16:54 +02:00
Simone Mainardi
abed170e98 Simplified handling of allowed interfaces 2018-08-21 13:21:21 +02:00
Simone Mainardi
dfb2401789 Reverts allowed interfaces fixes to make room for simplified code 2018-08-20 22:51:51 +02:00
Simone Mainardi
3f45eaabc3 Fixes for allowed ifnames 2018-08-20 20:40:45 +02:00
Simone Mainardi
d236bb580e Minor fix 2018-08-20 19:14:35 +02:00
Simone Mainardi
ee3f4ed52b Better handling of allowed interfaces during login 2018-08-20 17:48:15 +02:00
emanuele-f
354dd697c0 Add max value checks for traffic and packets metrics 2018-08-20 16:19:01 +02:00
Simone Mainardi
28b19afd8a Fixes security issues with interfaces selection
Fixes #1918
2018-08-20 13:37:32 +02:00
Simone Mainardi
f0ff5cbf99 Cleanup old MaxMind GeoIP code 2018-08-17 18:06:20 +02:00
Simone Mainardi
4390308eda Doc update for pcap download 2018-08-14 18:02:08 +02:00
Simone Mainardi
bd4252d727 Live pcap download security fixes 2018-08-14 17:57:42 +02:00
emanuele-f
d4ea15619f Add support for InfluxDB authentication 2018-08-13 14:36:06 +02:00
emanuele-f
163ef3af94 Allow to bind gui to a secondary address 2018-08-09 10:59:30 +02:00
Luca Deri
5f77b18c80 Added ability to set live pcap duration and optional BPF filter 2018-08-08 16:33:37 +02:00
Luca Deri
030a8c026e Disabled traces, removed un-necessary var 2018-08-08 14:14:12 +02:00
Luca Deri
30e22c3a71 Implemented multiple-pcap file download and monitor 2018-08-08 14:06:25 +02:00
Alfredo Cardigliano
508f2ca8e5 live_traffic.lua now accepts start/stop/status, implemented NetworkInterface::stopLiveCapture and Lua API stopLiveCapture 2018-08-07 19:07:41 +02:00
Luca Deri
3e6f8541df Added support for listing live captures 2018-08-07 16:45:20 +02:00
Luca Deri
5db87b3347 Added fix for insecure readdir_r() call
Fix for #1848
2018-08-06 17:00:36 +00:00
Simone Mainardi
f7fdc40c72 Major nEdge code cleanup 2018-08-06 17:54:25 +02:00
Luca Deri
67741e6b43 Ignored _GET for informative captive portal 2018-08-06 09:27:07 +02:00
Luca Deri
22728bc911 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2018-08-04 19:18:36 +02:00
Luca Deri
5ebaec2867 Added better trace for potential XSS attempts 2018-08-04 19:18:17 +02:00
Simone Mainardi
46f89a69d2 Fixes wrong hosts retrv by pool id 2018-08-04 19:16:27 +02:00
Luca Deri
0434ccc771 Added ability to execute HTTP GET with cookie authentication 2018-08-04 16:46:15 +02:00
Alfredo Cardigliano
3acc4e973d configuration backup (tar download) 2018-07-31 17:26:08 +02:00
Luca Deri
79d8c5451a Added topK nIndex implementation 2018-07-31 15:47:51 +02:00
emanuele-f
44abcd442c Add POST timeout to prevent housekeeping from blocking indefinitely 2018-07-30 12:48:41 +02:00
Luca
46b93c8f58 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2018-07-24 11:58:04 +02:00