Commit graph

3564 commits

Author SHA1 Message Date
Simone Mainardi
a4d2597fee Fixes HostPools JSON Parse errors by deserializing in the heap 2018-10-10 18:06:44 +02:00
Simone Mainardi
7f524ebe40 TWH ok detection, HTTP dissection fixes 2018-10-10 16:04:37 +02:00
Alfredo Cardigliano
5168d5dee6 badge to show the recording status instead of toggling buttons, reworked interface list 2018-10-10 12:32:02 +02:00
Simone Mainardi
ddf49ef106 Implements remote-to-remote host alerts
Implements #2057
2018-10-10 12:16:59 +02:00
Simone Mainardi
6d99be2f2d Adds application category to the flow details page 2018-10-09 12:17:19 +02:00
Simone Mainardi
d319cabb80 Fixes wrong packets accounting over ZMQ 2018-10-08 18:42:35 +02:00
Alfredo Cardigliano
f15e5fdbc7 added lua api ntop.listInterfaces, listing all interfaces in the traffic recording page and checking if they are in use and zc 2018-10-08 17:47:44 +02:00
Simone Mainardi
98155651f2 Fixes period of aggregation for aggregated flows 2018-10-08 09:32:55 +02:00
Luca Deri
65ab40c339 Added time to aggregated flow dump 2018-10-07 17:56:33 +02:00
emanuele-f
a8967a910a Fix forbidden device protocols reporting 2018-10-05 17:22:55 +02:00
Simone Mainardi
e49e2be46c Implements a leaky bucket to rate-limit flow alerts on a per-host basis
Implements #2070
2018-10-05 14:34:19 +02:00
Luca Deri
ad0447c3d9 Fixed warnings 2018-10-05 12:41:10 +02:00
emanuele-f
3abf49451d Rework device protocols with L7PolicySource_t support 2018-10-05 12:22:13 +02:00
emanuele-f
457dcb3457 Implement Device Protocols Alerts 2018-10-02 22:35:00 +02:00
Alfredo Cardigliano
4653cbe44d reworked device presets:
- devices with no preset defined have a 'allow all' default policy
- users customizations to the preset are stored on redis (both 'allow' and 'drop' policies) as exceptions to the default preset
- default presets updates are allowed, however users customizations have priority (per protocol)
2018-10-01 18:15:18 +02:00
emanuele-f
80c7c1993d Remove flow "user scripts" code.
User scripts support was removed some time ago
2018-10-01 09:57:15 +02:00
Simone Mainardi
889729495e Implements support for collected custom applications 2018-10-01 00:22:49 +02:00
Alfredo Cardigliano
605ca651cc moved device protocols code to community 2018-09-29 09:53:25 +02:00
emanuele-f
03bf331c3e Add alert for slow stats update and reduce flow alert generation
This avoids SQLite database flooding during an ongoing attack which can block stats update
2018-09-27 19:31:38 +02:00
emanuele-f
a5483bd0cf Reload active hosts blacklist when lists change at runtime 2018-09-27 18:28:55 +02:00
emanuele-f
e98d66c4f8 Fix blacklisted host alert not being generated for local hosts 2018-09-27 16:19:49 +02:00
emanuele-f
4370df81e3 Remove unused HTTPBL 2018-09-27 16:14:46 +02:00
Alfredo Cardigliano
ce8e0636b7 lua reloadDevicePresets api to reload device presets 2018-09-27 12:21:18 +02:00
Luca Deri
a1168a3e67 Split code in classes 2018-09-26 08:54:50 +02:00
Luca Deri
b3fec44897 Code cleanup 2018-09-26 08:42:47 +02:00
Luca Deri
6524b272b9 Fix for avoid deleting the MDNS instance before the background thread is over 2018-09-21 09:27:08 +02:00
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