Commit graph

566 commits

Author SHA1 Message Date
Luca Deri
68a38a8796 Code cleanup 2024-02-17 21:31:50 +01:00
Luca Deri
b5a4c2621b Modified Lua allocator to avoid allocating small blocks and using ^2 blocks size to reduce heap fragmentation 2024-02-15 13:19:09 +01:00
Luca Deri
3aadd4e8be Added tracings
Added details parameter to NetworkInterface::lua() and subclasses
2024-02-15 07:10:24 +01:00
Luca Deri
c119f7fa8e Minor optimiations 2024-02-13 20:45:12 +01:00
Luca Deri
73283fce82 Added NtopLuaContext class 2024-02-13 17:52:16 +01:00
Luca Deri
f9f2a464ff Added Lua garbage collector calls 2024-02-13 15:00:10 +01:00
Luca Deri
91a94c24e7 Optimized scripts 2024-02-12 18:06:03 +01:00
Luca Deri
4ea3a9bd4f Enhanced memory checks 2024-02-12 18:06:03 +01:00
Luca Deri
4d4d694ec2 Reworked Lua VM termination 2024-02-11 22:07:14 +01:00
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