Commit graph

589 commits

Author SHA1 Message Date
Luca Deri
edee5e5cda Code format 2026-03-15 10:50:50 +01:00
Alfredo Cardigliano
56e9225326 Add Allowed Host Pools for Users, configurable in the local user settings 2026-03-04 09:31:34 +00:00
Alfredo Cardigliano
a737d190f9 Reduce info level verbosity 2026-02-26 08:12:24 +00:00
Luca Deri
0c313028f2 Added on-the-fly lua-generated output compression if the clet requests it.
Example:
 curl --compressed -v http://localhost:3000/lua/about.lua
2026-02-20 11:44:46 +01:00
Luca Deri
04448863f6 Indent 2026-02-10 21:46:55 +01:00
Luca Deri
07179c3c63 Improved referer check 2026-02-05 21:24:09 +01:00
Luca Deri
b997dd7e19 Added check for URLs used in redirect
Modified Redis::get method
2026-02-03 20:53:12 +01:00
Alfredo Cardigliano
0dd78b4958 Update (c) 2026-01-02 09:11:30 +01:00
Luca Deri
63c8dd991d Now POST data size has been increased from 512KB to 4MB 2025-08-13 15:19:27 +02:00
Luca Deri
36fd038ac5 Fixes #8995 2025-02-27 19:11:54 +01:00
Alfredo Cardigliano
9352d0cdcd Update copyright 2025-01-02 09:09:56 +01:00
Luca Deri
0f87148baa Renamed member a the term 'requires' is a reserved word 2024-07-26 13:24:20 +02:00
Matteo Biscosi
dec8c48fd0 Fixes configuration import not working 2024-05-31 06:49:50 -04:00
Matteo Biscosi
3a6ff52dd2 Added trim for reducing the queue length (#8318) 2024-04-10 12:12:59 -04:00
Luca Deri
1de197cf16 indent 2024-02-23 17:18:14 +01:00
Alfredo Cardigliano
33d4f766b7 Change message severity to avoid breaking CI tests 2024-02-22 10:13:46 +01:00
Luca Deri
ab34197603 Various script fixed
Improved error message when scripts fail
2024-02-19 22:13:01 +01:00
Luca Deri
a9396720d0 Indent 2024-02-19 19:01:51 +01:00
Luca Deri
9a7eb9aad2 Format fix 2024-02-19 11:31:42 +01:00
Luca Deri
c637e975bd Code cleanup 2024-02-19 11:30:15 +01:00
Luca Deri
36aa52c85c Code cleanup 2024-02-19 11:08:52 +01:00
Luca Deri
a1a3dbe1b9 Added cyclic require check 2024-02-19 09:57:48 +01:00
Luca Deri
e770c09dea Indent 2024-02-17 21:34:36 +01:00
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