Commit graph

887 commits

Author SHA1 Message Date
Alfredo Cardigliano
3c7c973e29 Cleanup pfring filter queue at startup 2023-05-29 10:10:58 +02:00
Alfredo Cardigliano
24edb6dd40 Print 'fetching blog posts' only when actually fetching them. Do fetching on delayed callbacks only on nedge 2023-05-23 18:07:02 +02:00
Matteo Biscosi
55954c05e6 Completely add support for MAC Address accounting (#7357 #7356) 2023-05-19 07:22:00 +00:00
Alfredo Cardigliano
2434ae9e76 Cleanup deprecated code 2023-05-18 18:36:25 +02:00
Matteo Biscosi
cb8d89d04f Added radius acconting (#7356) 2023-05-15 13:42:13 +00:00
Alfredo Cardigliano
1bf54e7ac2 Major cleanup of host_pools_nedge, now using host_pools code 2023-05-15 15:21:53 +02:00
Matteo Biscosi
38fb910777 Added radius update callback (#7356) 2023-05-13 09:50:15 +00:00
Alfredo Cardigliano
d179a572c5 Cleanup old host pools migration 2023-05-10 11:17:04 +02:00
Matteo Biscosi
d5da7cbf4b Removed no more needed callback 2023-04-26 09:49:10 +00:00
Alfredo Cardigliano
ed2bf419bd Add Interface Throughput charts (bps and pps) 2023-04-24 16:57:46 +02:00
Matteo Biscosi
a1df1ab8de Fixes backup function not called (#7397) 2023-04-13 18:08:03 +02:00
Luca
824beccc6e Changes to address #7397 issues 2023-04-13 15:21:53 +02:00
Matteo Biscosi
15a7337417 Fixes radius information loading 2023-04-13 13:50:11 +02:00
Nicolò Maio
574e941947
Add configurations backup. (#5780) (#7390) 2023-04-12 17:01:08 +02:00
Matteo Biscosi
2e8b37f551 Fixes wrong granularity (#7270) 2023-02-28 10:44:31 +00:00
Luca Deri
61235af7f7 Implemented in pro/ 2023-02-24 17:34:40 +01:00
Luca Deri
be60111e45 Added clickhouse retention script 2023-02-24 16:35:21 +01:00
Luca Deri
2bc756036f Not supposed to be committed 2023-02-17 15:44:01 +01:00
Luca Deri
0fae8eb3ce Improved Host no-TX statistics now available also for remote hosts 2023-02-15 22:38:21 +01:00
Luca Deri
42a14874d5 Improved "Flow User Check Script" flow check 2023-01-30 22:22:51 +01:00
Alfredo Cardigliano
73af3fa521 Add support for external (REST) host alerts (#7170) 2023-01-26 15:34:54 +01:00
MatteoBiscosi
541ec9c54d Added forced offline variabl to mantain the --offline option (#7071) 2023-01-10 16:04:21 +01:00
Luca Deri
f726b867c7 Updated (C) 2023-01-01 16:37:57 +01:00
Luca Deri
e3be9b993a Removed files not necessary 2022-12-18 11:19:09 +01:00
Luca Deri
1d8f07430a Added L7 information in flow object adding
- flow.http()
- flow.dns()
- flow.ssh()
- flow.tls_quic()
2022-11-27 18:53:39 +01:00
Luca Deri
4212c6225d Enhanced the host Lua API for host checks 2022-11-25 18:34:10 +01:00
Luca Deri
01719751a6 Improved tracings 2022-11-25 11:01:31 +01:00
Luca Deri
ad716ced36 Fixed invalid definition 2022-11-24 17:43:30 +01:00
Luca Deri
af97ddee9f Improved flow user scripts 2022-11-24 17:42:26 +01:00
Luca Deri
71fbbdbf58 Implemented custom host script (WIP) 2022-11-24 12:34:14 +01:00
Luca Deri
66a4e73f1e Initial implementation of custom Host script 2022-11-23 18:56:54 +01:00
Luca Deri
9bdff1b170 Improved custom flow script alert 2022-11-23 17:04:01 +01:00
Luca Deri
a687b9280a Implemented custom script check 2022-11-23 11:11:45 +01:00
MatteoBiscosi
6ea5cfbba1 Removed debug print 2022-11-21 10:15:57 +01:00
Luca Deri
309d17b6b8 Implemented CustomFlowLuaScript.cpp engine 2022-11-20 20:30:49 +01:00
Luca
686112d3eb Initial implementation of host check rules. This is work in progress and ** subject to change **
Under the network interface -> Wheel there's a new field named "JSON Host Rules"
that can accept JSON in the format below:

- target can be * (= all local hosts) or a specific IP address
- frequency can be hourly or daily and it specifies the timeperiod on which the condition is evaluated
- metric can be set to bytes, score or a L7 protocol supported in nDPI
- threshold is the numerical value over which the alert is triggered

[
{ "target": "*",  "frequency": "hourly", "metric": "bytes",  "threshold": 354333 },
{"target": "146.48.56.79","metric": "AmazonAWS","frequency": "daily","threshold": 5000 }
]
2022-11-02 19:00:45 +01:00
MatteoBiscosi
78ed044152 Removed unused require 2022-08-12 11:10:00 +02:00
Luca Deri
1488f1749a Renamed influxdb.lua -> upload_timeseries.lua as this file had nothing to do with influxDB 2022-07-06 00:12:39 +02:00
Alfredo Cardigliano
4e96ca6a39 Skip connectivity check if forced offline 2022-05-12 11:45:53 +02:00
Luca Deri
207d40c20a Puttin script out of hour sync to avoid overload on speedtest servers (#6547) 2022-04-28 23:10:04 +02:00
Luca Deri
0072fca594 Moved to pro 2022-04-14 22:12:08 +02:00
MatteoBiscosi
6c9f571196 Separated the two data retentions 2022-03-31 16:39:58 +02:00
Luca Deri
9e1f6dc0d6 Removed as it was not supposed to stay here 2022-03-26 09:15:32 +01:00
Luca Deri
614125cbba Starup log is now verbose to spot initialization delays 2022-03-08 12:04:00 +01:00
Luca Deri
5ab94c8eb4 Script not necessary 2022-03-01 11:01:55 +01:00
Luca Deri
269e9da142 (C) Update 2022-02-20 23:17:50 +01:00
MatteoBiscosi
556057c1c1 Fixes nil value notification 2022-02-18 11:45:46 +01:00
Alfredo Cardigliano
53e21718fa Safety check 2022-02-17 15:42:05 +01:00
MatteoBiscosi
f86b7afe94 Fixes alerts not triggered due to redis delete 2022-02-17 11:50:12 +01:00
MatteoBiscosi
57a85de50e Cleaned up the code from plugin_utils 2022-02-11 12:07:23 +01:00