Commit graph

21 commits

Author SHA1 Message Date
Luca Deri
57e6a93065 Improved scheduling algorithm to guarantee minimum service time when number of entries allow
Updated (C)
2020-01-06 23:36:36 +01:00
lucaderi
d25c8e638a Fixed compilation issue and warning 2019-06-28 11:22:48 +02:00
emanuele-f
6f94f7b132 Add thread names for debugging 2019-02-21 11:51:57 +01:00
Luca Deri
bedff2c8e2 Updated (C) 2019-01-07 19:28:49 +01:00
Simone Mainardi
8221d14e0f Handles extractions from recording processes non managed by ntopng
Implements #2276
2019-01-03 18:38:52 +01:00
emanuele-f
8a8a016283 Replace lua_pushnumber with lua_pushinteger where necessary.
Lua 5.3 now supports 64bit integers. Using a number instead of an integer can cause problems since
tostring adds the decimal dot:
	- Lua 5.2: tostring(5.0) = "5"
	- Lua 5.3: tostring(5.0) = "5.0"
2018-11-29 15:36:19 +01:00
Simone Mainardi
859e85c7ce Fixes C to Lua integer types conversions affecting OS X 2018-11-23 15:58:38 +01:00
Alfredo Cardigliano
6f029bb74c added extraction limit (optional) 2018-11-16 10:05:59 +01:00
Alfredo Cardigliano
1fb192d6c6 mg_write timeout, limitung number of live extractions 2018-11-14 14:16:17 +01:00
Alfredo Cardigliano
bb873de89f Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2018-11-14 09:37:28 +01:00
Alfredo Cardigliano
9ee02f990d handle mg_write_async retry 2018-11-14 09:37:17 +01:00
Luca Deri
4789f892fe Compilation fix 2018-11-14 01:02:13 +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
Alfredo Cardigliano
573bade0e0 extracted files limit is in bytes now, added bytes limit to preferences, PacketDumper code cleanup 2018-11-09 10:24:10 +01:00
Alfredo Cardigliano
35763ead39 fixed extraction stats (added pcap file header size to packets) 2018-11-08 19:22:58 +01: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
b304c68d33 traffic extraction improvements 2018-10-16 18:59:34 +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
Alfredo Cardigliano
7f5c0337d1 TimelineExtract, traffic_extraction.lua endpoint 2018-10-15 14:41:59 +02:00