Commit graph

557 commits

Author SHA1 Message Date
Luca
d046d3b0e9 Lua stack changes 2024-01-25 11:34:06 +01:00
Luca Deri
76056b6755 Added path of the script file that it is failing 2024-01-23 22:33:17 +01:00
Luca Deri
e3f096ad22 Fixes Lua stack cleaning uo results after run 2024-01-22 11:27:21 +01:00
Luca Deri
e81058a7ba Cloud improvements 2024-01-13 11:01:49 +01:00
Luca Deri
55870e97b9 (C) Update 2024-01-12 11:44:18 +01:00
Luca Deri
fe089bb1af Added cloud registration 2024-01-07 21:54:48 +01:00
Alfredo Cardigliano
35da35fc03 Cleanup exported configuration on the client side to avoid failures on upload due to huge jsons 2024-01-05 10:35:14 +01:00
Alfredo Cardigliano
f1354b8316 Remove useless check 2024-01-04 15:22:21 +01:00
Matteo Biscosi
ed4ab2836f Added system alert in case of ntopng failure (#8040) 2023-11-22 10:22:22 +00:00
Luca Deri
ca4ad2c5aa Improced cloud support 2023-11-14 00:09:22 +01:00
Luca Deri
f222e3ccdf Restore full capabilities to system scripts 2023-10-27 16:42:30 +02:00
Luca Deri
58a7df5312 Callback scripts now report error on console in case of failure (used to be silent) 2023-10-26 17:29:26 +02:00
Alfredo Cardigliano
3d443dc122 Add script name to require failure message 2023-10-12 11:02:03 +02:00
Luca Deri
5dc8770918 Vulnerability scan improvements 2023-07-28 23:15:00 +02:00
Luca Deri
f95b4cdd85 Compilation warnign fixes and various boundary checks 2023-06-07 22:52:00 +02:00
Alfredo Cardigliano
2ddbd16830 Fix snmp sockets leak on nEdge 2023-05-23 18:22:42 +02:00
lucaderi
d395deac4e Automated commit of clang-format CI changes. 2023-04-07 14:20:44 +00:00
Luca Deri
9da86ecd6a Fixed privileged VM capabilities that prevented ClickHouse (or other privileged actions) to be performed
Fixes #7337
2023-03-22 15:41:03 +01:00
Nicolo Maio
fef98159b8 Fix warning message, now is nullsafe. (#7284) 2023-03-03 14:40:51 +00:00
Alfredo Cardigliano
58433809eb Fix uninitialized isSystemVM flag 2023-02-27 12:44:26 +01:00
Luca Deri
1f8ec13532 Fixes inhability to run privileged scripts during startup 2023-02-24 18:24:04 +01:00
Alfredo Cardigliano
22dcb15887 Check user capabilities when running queries in the backend 2023-01-11 11:40:57 +01:00
Alfredo Cardigliano
d3bc7bf663 Handle allowed networks for unprivileged users 2023-01-10 16:02:28 +01:00
Alfredo Cardigliano
ab9682ed30 Always use auth module to check capabilities. Add allowed nets to auth module. 2023-01-10 12:03:52 +01:00
Alfredo Cardigliano
7da1395b87 Reworking capabilities support 2023-01-09 18:46:40 +01:00
Luca Deri
f726b867c7 Updated (C) 2023-01-01 16:37:57 +01:00
Luca Deri
9b86f81d8e Minor changes on user capabilities 2022-12-02 09:38:04 +01:00
Luca Deri
d8769f866b Implements #6994 (Add support for Radius User Capabilities)
Removed /metrics URL leftover
2022-12-01 22:18:48 +01:00
Luca Deri
71fbbdbf58 Implemented custom host script (WIP) 2022-11-24 12:34:14 +01:00
Luca Deri
309d17b6b8 Implemented CustomFlowLuaScript.cpp engine 2022-11-20 20:30:49 +01:00
Luca Deri
2d7dc6bfa0 Added kafka dependencies 2022-10-20 00:02:03 +02:00
Luca Deri
fd306dd894 Increased upload size to 25 MB 2022-10-05 22:23:35 +02:00
Alfredo Cardigliano
054fa59bc8 Remove unused var 2022-09-16 09:09:35 +02:00
Alfredo Cardigliano
b4b4316068 Restore GET params on POST 2022-09-15 19:06:25 +02:00
Luca Deri
4ad109a7c0 Added the ability to analyze a pcap without creating a new interface 2022-09-15 00:35:56 +02:00
Luca Deri
fa51a2b4e8 Added the ability to upload a pcap file for analysis 2022-09-08 00:46:24 +02:00
Luca Deri
00f95a03de Warning fixes 2022-05-24 12:23:01 +02:00
Luca Deri
164c186ee9 Final fix for #6286 2022-02-09 23:19:32 +01:00
Luca Deri
72faebe4a5 Improved active ICMP monitoring 2022-01-04 22:30:12 +01:00
Alfredo Cardigliano
f2060f2488 Copyright update (C) 2022-01-03 09:35:09 +01:00
MatteoBiscosi
e92135e776 Reorganized periodic scripts 2021-12-28 15:41:28 +01:00
Luca Deri
32fd4d67b9 Compilation fix 2021-12-23 21:04:47 +01:00
Luca Deri
878a3c3c60 Changes for similarity detection 2021-12-13 21:18:13 +01:00
Simone Mainardi
547e320113 Fixes lua_pop in LuaEngine::run_loaded_script 2021-12-03 16:18:41 +01:00
Luca Deri
e905d09124 Mitigates load due to VM reload (#6091) 2021-11-23 09:55:13 +01:00
Simone Mainardi
2ff0cccdfa Fixes default observation point id selection 2021-11-18 16:16:52 +01:00
Luca Deri
03cc793958 Removed Lua warning for CONST_LUA_ERROR to avoid nasty warnings 2021-10-15 08:32:40 +02:00
Luca Deri
9bd28b1f54 Added code for tracking C functions that do not fill up the Lua state properly. In case of issues
detected, the misbehaving function is reported on the screen for easy patching. Fixed a couple
of functions that were not setting the return state properly.

Lua VMs are reset before reuse.

Minor code cleanup and rename (Vm -> VM).
2021-10-14 19:03:18 +02:00
Simone Mainardi
2e6068bdef Fixes selection and XSRF when changing the observation point 2021-09-23 16:05:55 +02:00
Alfredo Cardigliano
1f43ed6a6b Add URI information to POST data warning 2021-08-09 16:44:37 +02:00