Commit graph

320 commits

Author SHA1 Message Date
Simone Mainardi
3f275417a3 Fixes race conditions with custom categories reload 2018-11-19 17:03:58 +01:00
Alfredo Cardigliano
6f029bb74c added extraction limit (optional) 2018-11-16 10:05:59 +01:00
Alfredo Cardigliano
279d51593b added ifid param in live extraction to be used with curl 2018-11-15 10:06:16 +01:00
Luca Deri
b7347e5b5d Record estraction fixes 2018-11-14 19:33:08 +01:00
emanuele-f
4d3f584d84 Add HTTP_HOST into the _SERVER lua variable 2018-11-14 15:45:15 +01:00
Alfredo Cardigliano
1fb192d6c6 mg_write timeout, limitung number of live extractions 2018-11-14 14:16:17 +01:00
Luca Deri
c193dc7576 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2018-11-14 00:57:48 +01:00
Luca Deri
ab5f73aed9 Little API call fix 2018-11-14 00:57:34 +01:00
Alfredo Cardigliano
c849fde491 interface.runLiveExtraction API to extract traffic with a direct download, live_traffic_extraction.lua endpoint 2018-11-13 22:35:28 +01:00
emanuele-f
69137c2a87 Expose MD5 function to Lua 2018-11-09 17:14:57 +01:00
Simone Mainardi
cc87e8ffe3 Adds interface.hasEBPF lua function to show certain menu entries 2018-11-06 16:08:14 +01:00
Simone Mainardi
5776e74da6 Implements eBPF username page with processes filtering 2018-11-05 17:21:04 +01:00
Simone Mainardi
128dbd086a Adds VLAN support to nIndex queries 2018-10-29 19:25:01 +01:00
Alfredo Cardigliano
610cb69b9c builtin packet dump code cleanup (moving to continuous recording) 2018-10-25 09:56:52 +02:00
Simone Mainardi
6c70cf5e2c Better handling of Lua states creation failures. 2018-10-22 12:26:54 +02:00
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