Commit graph

105 commits

Author SHA1 Message Date
Alfredo Cardigliano
507fa3e972 ability to stop extractions while processing, time cap for pcap (1m by default) 2018-10-19 10:24:30 +02:00
Alfredo Cardigliano
2b565d1d63 traffic extraction jobs page to list and delete jobs, pcap download endpoint 2018-10-16 17:29:08 +02:00
Alfredo Cardigliano
a3a2b222de keeping track of extractions status, added getExtractionStatus lua api 2018-10-16 11:58:05 +02:00
Alfredo Cardigliano
0265d84479 runExtraction/isExtractionRunning lua api 2018-10-16 09:44:51 +02:00
emanuele-f
6717e3850b Rework l7 policies to properly handle nDPI categories 2018-10-15 17:18:27 +02:00
Alfredo Cardigliano
e9149d8806 footer badge when running traffic recording, logs page, --storage-dir option renamed to --pcap-dir 2018-10-12 18:09:35 +02:00
emanuele-f
936c869c3f Move expensive string concatenations to C while inserting timeseries 2018-10-12 17:58:59 +02:00
Simone Mainardi
3291161aed Fixes userddefined device type overwritten by ntopng
Fixes #2084
2018-10-12 16:51:38 +02:00
emanuele-f
99a0cf0dd6 Optimize foreachLocalRRDHost for timeseries extraction 2018-10-12 14:20:27 +02:00
Simone Mainardi
57e035ed2f Implements One-Way traffic filter for hosts
Implements #2091
2018-10-12 12:56:52 +02:00
emanuele-f
3bd6a1a97c Add preference to enable Device Protocols Policies in nEdge 2018-10-11 18:15:43 +02:00
Simone Mainardi
f30e042cfc Implements data cleanup for pcap interfaces
Implements #2092
2018-10-11 18:10:30 +02:00
Alfredo Cardigliano
6d3ff8cf44 removed 'traffic recording' page (moving configuration to the interface page), moved storage configuration to prefs, listing only ntopng interfaces in recording_utils.getInterfaces 2018-10-11 12:14:40 +02:00
emanuele-f
aa1ead94c4 Add Customized Categories editor
Also unify the blacklist category handler to use the nDPI API
2018-10-10 18:41:47 +02:00
Simone Mainardi
6d99be2f2d Adds application category to the flow details page 2018-10-09 12:17:19 +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
0cf2d56786 Fixes potential NULL dereference of AddressTree
This was causing crashes when generating reports with a
nologin user

Tentative fix for #2079
2018-10-08 11:11:18 +02:00
emanuele-f
a8967a910a Fix forbidden device protocols reporting 2018-10-05 17:22:55 +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
Simone Mainardi
6b17139324 Fixes large integers to lua on i686 platforms 2018-10-04 14:15:11 +02:00
emanuele-f
8ca126cfd3 Implement nEdge policies test page 2018-10-03 20:49:03 +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
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
a5483bd0cf Reload active hosts blacklist when lists change at runtime 2018-09-27 18:28:55 +02:00
Alfredo Cardigliano
817d5bce0b compilation fix 2018-09-27 13:15:51 +02:00
Alfredo Cardigliano
ce8e0636b7 lua reloadDevicePresets api to reload device presets 2018-09-27 12:21:18 +02:00
emanuele-f
f5b4181e08 Fix wrong InfluxDB export ID causing getLatestTimestamp issues 2018-09-18 17:20:20 +02:00
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