Commit graph

1188 commits

Author SHA1 Message Date
Simone Mainardi
9cad482002 Implements self restart of systemd process 2018-09-18 13:21:24 +02:00
Simone Mainardi
b724cc4518 Uses struct ndpi_proto when collecting ZMQ flows 2018-09-17 18:00:06 +02:00
Simone Mainardi
413667f326 Uses Redis STRLEN to compute the size of deserialized local hosts and macs
Fixes #2006
2018-09-13 17:15:29 +02:00
emanuele-f
30df7e6eeb Implement allowed network and interface checks on timeseries
Fixes #2007
2018-09-12 15:52:14 +02:00
Luca
2e8e39851a Improved termination tracings 2018-09-12 08:43:16 +02:00
Simone Mainardi
1dc6fce52d Disable Flow Alerts for Hosts with Disabled Alerts
Implements #1986
2018-09-11 12:52:46 +02:00
Simone Mainardi
870b284f7b Fixes deadlocks upon mutex errors
Fixes #1992
2018-09-11 11:54:04 +02:00
Simone Mainardi
a809933ebd Adds configurable tiny aggregated flows
Implements #1989
2018-09-10 16:53:54 +02:00
Simone Mainardi
0837bf1b20 Implements count of aggregated flows in flow aggregation 2018-09-10 16:13:22 +02:00
emanuele-f
7c49514ba0 Fix wrong number of active flows per host 2018-09-07 12:18:02 +02:00
emanuele-f
c87a02d012 Implement active host contacts metrics 2018-09-07 11:58:06 +02:00
emanuele-f
cfc345709d Implement high resolution interface timeseries 2018-09-04 12:57:18 +02:00
Luca Deri
87f8bece22 Fix for #1972 2018-09-04 12:38:42 +02:00
emanuele-f
a594e648c4 Generalize high resolution timeseries
In InfluxDB, 5 minutes timeseries are now written with a minimum of 1 minute resolution
2018-09-03 14:43:52 +02:00
Luca
a478b1e97e Added missing free 2018-09-01 18:21:30 +02:00
Alfredo Cardigliano
73b573f741 limits definition clenaup 2018-08-31 10:02:37 +02:00
Alfredo Cardigliano
0e95cff729 do not count AS sent/recvd traffic for hosts talking within the same AS 2018-08-30 19:10:18 +02:00
Alfredo Cardigliano
b20e3e2d75 fixed max num interfaces for the enterprise edition, registerNetworkInterfaces->add_network_interface is actually checking the limit now 2018-08-30 17:38:45 +02:00
Alfredo Cardigliano
5d986787b1 default data directory migration from /var/tmp/ntopng to /var/lib/ntopng 2018-08-29 17:46:56 +02:00
Simone Mainardi
b8edabeb6f Improves handling of redis interface ids and maximum number of interfaces
Fixes #1952
2018-08-29 15:47:57 +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
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
Simone Mainardi
07d993cd76 Makes the number of aggregated flows configurable 2018-08-22 13:06:05 +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
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
Luca Deri
8edef5df25 Win fixes 2018-08-20 15:01:41 +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
86ed744e00 Fixes minor leaks 2018-08-17 17:00:57 +02:00
Luca Deri
d146200962 Implements async HTTP send used in pcap download to avoid that paused clients will lead ntopng to drop packets 2018-08-15 08:13:25 +02:00
Simone Mainardi
6f0104045a Initial work to check available space in socket buffers to send pcaps 2018-08-14 19:55:10 +02:00
Simone Mainardi
bd4252d727 Live pcap download security fixes 2018-08-14 17:57:42 +02:00
Simone Mainardi
cd6c7c4338 Adds SQL queries log performed from Lua 2018-08-13 19:27:00 +02:00
emanuele-f
d4ea15619f Add support for InfluxDB authentication 2018-08-13 14:36:06 +02:00
Luca Deri
165329947b Fixed directory chmod() 2018-08-13 14:32:53 +02:00
Luca Deri
5c635ef87f Added preference (Logging sub-menu) to create a trace log (ntopng.log) instead of using syslog 2018-08-11 13:42:13 +02:00
Simone Mainardi
db5aabb611 Prevents large MySQL exports that could cause Lua OOMs 2018-08-10 15:50:28 +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
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
e29dc7a2c9 Optimized flow purging 2018-08-07 09:30:31 +02:00
Luca Deri
5db87b3347 Added fix for insecure readdir_r() call
Fix for #1848
2018-08-06 17:00:36 +00:00