Commit graph

4138 commits

Author SHA1 Message Date
Matteo Biscosi
b9eeacbee3 Added dropdown to select the correct ASN (#9335) 2025-07-11 18:17:56 +02:00
GabrieleDeri
e912af1b17
Added peer asn in clickhouse (#9328)
* Added peer asn in clickhouse

* Added peer asn to all versions

* Readded en string
2025-07-01 13:09:13 +02:00
Luca Deri
61c6813424 Implemented ASN name resolution via curl + caching 2025-07-01 13:01:18 +02:00
Matteo Biscosi
55ec9981fd Added top asn timeseries to ASN page 2025-07-01 11:13:37 +02:00
Luca Deri
191aeb4e3f Added peer ASN support in flows 2025-07-01 01:07:47 +02:00
Matteo Biscosi
d5faef1a17 Added exporters stats on ASN (#) 2025-06-30 11:07:33 +02:00
Luca Deri
8a9308f4ef Added support for HTTP methods other than GET/POST such as PATCH/PUT
Reworked/simplified code
2025-06-20 17:35:25 +02:00
Alfredo Cardigliano
3b4706e441 Remove AlertStore. SQLiteAlertStore is not SQLiteDB which is using DB as superclass. 2025-06-18 14:54:55 +02:00
Alfredo Cardigliano
5379bd12d6 Rework dump with views: flows are dumped by all viewed interfaces in parallel, while queries are on view 2025-06-17 18:17:13 +02:00
Alfredo Cardigliano
0add7865af Show stats per export method in case of many (CH, ES, Kafka, Syslog) 2025-06-17 13:15:58 +02:00
Alfredo Cardigliano
340641f6c4 Add comments 2025-06-17 09:27:06 +02:00
Luca Deri
4eaee69e67 nDPI compilation fixes 2025-06-16 18:13:06 +02:00
Luca Deri
95a99e3716 Implements automatic flush of flow read from a pcap file without the need to specify --pcap-file-purge-flows (#9259) 2025-06-16 17:13:14 +02:00
Alfredo Cardigliano
ac381e44c2 Enable CH in-memory dump queue 2025-06-16 11:18:48 +02:00
Matteo Biscosi
f10e9d300d Changed ASN config page and type 2025-06-13 18:45:49 +02:00
Matteo Biscosi
b37f31c963 Added ASN Configuration page (#9271) 2025-06-13 16:40:31 +02:00
Manuel Ceroni
63e6427ab9
Implement traffic quota serialization/deserialization on shutdown/startup (#9273)
* Fixed traffic quota reset after service restart

* Fixed traffic quota serialization/deserialization on shutdown/startup

* Fixed traffic quota reset and startup check

* Cleanup traffic quota resets

* Fixed daily and weekly startup check resets for pools quotas

* Reworked weekly startup check for pools quotas

* Fixed lastMondayMidnight function
2025-06-13 13:38:38 +02:00
Luca Deri
6ce48d83ad Updated prof processing 2025-06-12 20:22:17 +02:00
Alfredo Cardigliano
a517019d21 More flow-id to Ntop. Cleanup execSQLQuery API. 2025-06-12 11:43:00 +02:00
Matteo Biscosi
af37780125 Fixes top talkers calculation (#9222)
Fixes timeseries colors
2025-06-12 11:22:41 +02:00
Alfredo Cardigliano
6017dce07d Add define to enable in-memory imports 2025-06-12 09:47:48 +02:00
Alfredo Cardigliano
4a0085fd51 Fix nedge compilation 2025-06-12 08:55:36 +02:00
Luca Deri
76acd8effa Implement pcap read from a firectory (#9259) 2025-06-11 23:24:30 +02:00
Alfredo Cardigliano
4faddbb050 Add notes and macros 2025-06-11 11:42:50 +02:00
Alfredo Cardigliano
80e79c46de Update includes 2025-06-11 11:34:07 +02:00
Alfredo Cardigliano
a31ce3ff7c Rename clickhouse class as it is now generic 2025-06-10 16:59:10 +02:00
Alfredo Cardigliano
a527c19bda Update db_result_row_callback prototype. Cleanup old mysql defines. 2025-06-10 15:40:23 +02:00
Alfredo Cardigliano
3873920bea Remove mysql/maria dependencies. Update docs. 2025-06-09 16:50:09 +02:00
Alfredo Cardigliano
8f6aaf257e Rename all db preferences (mysql -> clickhouse) 2025-06-09 15:57:25 +02:00
Alfredo Cardigliano
6f9d7cd14f Major code rework to fully use the clickhouse API in place of Mysql 2025-06-09 15:33:57 +02:00
Luca Deri
effde04657 nDPI API update 2025-06-09 11:28:41 +02:00
Luca Deri
c141c22e2a Warning fixes 2025-06-06 19:36:12 +02:00
Matteo Biscosi
1021df63dd Fixes incorrect naming 2025-06-06 10:09:14 +02:00
Alfredo Cardigliano
4adba8ec0c Remove -F mysql support due to incompatibility with the new ClickHouse support 2025-06-05 16:29:28 +02:00
Manuel Ceroni
c0f9cf0e60
Implemented deserialization for HostPoolStats, nDPIStats, CategoryCounter, and ProtoCounter (#9269) 2025-06-05 15:37:19 +02:00
Matteo Biscosi
2b13de1fb8 Added check for influxdb internal DB (#9226) 2025-06-05 12:26:53 +02:00
Luca Deri
2938d8c5eb Reworked host name processing 2025-06-05 10:25:52 +02:00
Luca Deri
6ad1b17f09 Reworked server name handling 2025-06-05 09:30:43 +02:00
Luca Deri
983c814a40 Fixes #9221 2025-06-04 22:57:47 +02:00
Matteo Biscosi
cedfa5a5ee Removed no pore uses function 2025-06-04 16:40:02 +02:00
Matteo Biscosi
e43963a888 Fixes missing start loop for exporters 2025-06-04 10:49:09 +02:00
Alfredo Cardigliano
f14a41ee57 Enable simultaneous dump to db, ES, kafka, syslog with -F 2025-06-03 17:22:45 +02:00
Alfredo Cardigliano
731f1727eb Rework flow serialize to support multiple export formats simultaneously 2025-06-03 15:52:34 +02:00
Luca Deri
eb2e9b9df6 nDPI update changes 2025-06-03 11:00:29 +02:00
Anton Melnikov
cb3a56dce4
fix compilation error when building with dynamic nDPI (#9252)
Signed-off-by: botantony <antonsm21@gmail.com>
2025-06-01 22:08:00 +02:00
Alfredo Cardigliano
4331e3ad3a Cleanup MySQL/CH code. Improve error reporting. 2025-05-30 10:05:58 +02:00
Matteo Biscosi
a5f89e6357 Splitted traffic directions in iface ndpi timeseries (#9137) 2025-05-28 12:48:01 +02:00
Alfredo Cardigliano
6fb4cdc448 Use methods override 2025-05-28 11:01:55 +02:00
Manuel Ceroni
61edd115fb
Implemented ts direction split preference (#9253) 2025-05-28 09:41:45 +02:00
Alfredo Cardigliano
e715bd1ac0 Cleanup dead/obsolete code 2025-05-27 11:20:03 +02:00