Commit graph

125 commits

Author SHA1 Message Date
GabrieleDeri
b21ea8a372
Alert and flow query optimizations post SQL query (#11109)
Some checks are pending
Build / build (push) Waiting to run
CIFuzz / Fuzzing (address) (push) Waiting to run
CIFuzz / Fuzzing (undefined) (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
CodeQL / Analyze-1 (push) Waiting to run
2026-10-21 21:14:50 +02:00
Matteo Biscosi
b79544276a Optimized data.lua REST API 2026-10-21 18:55:36 +02:00
Manuel Ceroni
76d976da09
Added tooltip to Sankey diagrams (#10904) 2026-09-07 13:12:22 +02:00
Ivan Nardi
46e93454f2
Fix lost check-reload updates and a day-only date comparison bug (#10820)
Two further root causes found while stress-testing the previous e2e
sync fixes with the full test suite:

1. src/Ntop.cpp: `checkReloadFlowChecks()` and `checkReloadHostChecks()`
   cleared `flowChecksReloadInProgress` / `hostChecksReloadInProgress`
   only *after* doing the (multi-second, due to an internal sleep(2))
   reload work. Any reload request that arrived while one was already
   in progress got its flag set, then silently clobbered back to
   false at the end of the in-flight call - so that newer Redis state
   (e.g. a check a test had just disabled) was never actually loaded.
   Fixed to clear the flag *before* doing the reload work, matching the
   pattern already used (with an explanatory comment) in
   `checkReloadAlertExclusions()`  and c`heckReloadHostPools()` -
   those two were already correct.

2. scripts/lua/modules/format_utils.lua: `formatPastEpochShort()`
   decided whether to show a short (time-only) or full (date+time)
   timestamp by comparing only the day-of-month against today, not
   the month/year. Any historical flow whose fixed pcap timestamp
   happens to fall on the same day-of-month as the current date (e.g.
   a flow from 25/Dec/2017 compared against today's the 25th of some
   month) gets its date silently dropped from the alert JSON,
   producing a genuinely calendar-dependent, non-deterministic test
   diff. Fixed to compare the full date (day, month, and year).
2026-09-02 12:12:23 +02:00
Manuel Ceroni
5cde596288
Vulnerability Scan converted to Active Scan (#10774) 2026-08-14 17:43:43 +02:00
Alfredo Cardigliano
0339a1a447 Update format_notification_subject/descr to handle wazuh_alerts 2026-08-13 15:40:34 +02:00
Matteo Biscosi
705c14a431 Revert "Removed vulnerability scan (#10490)"
This reverts commit 947019d8c7.
2026-06-28 10:52:21 +00:00
Manuel Ceroni
947019d8c7
Removed vulnerability scan (#10490)
* Removed vulnerability scan

* Removed other vs_utils references
2026-06-25 16:33:55 +02:00
Alfredo Cardigliano
07e23d469a Add AS information to the database from geoip/as.csv when available. Cache the information on redis. Use RIPE service as last resort. 2026-06-09 10:36:54 +02:00
Luca Deri
5651aa07ea Reworked BGP support
Some checks are pending
Build / build (push) Waiting to run
CIFuzz / Fuzzing (address) (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
CodeQL / Analyze-1 (push) Waiting to run
2026-04-13 21:57:42 +02:00
Luca Deri
a26247ecca Improved BGP flow formatting
Some checks are pending
Build / build (push) Waiting to run
CIFuzz / Fuzzing (address) (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
CodeQL / Analyze-1 (push) Waiting to run
2026-04-12 23:22:38 +02:00
Alfredo Cardigliano
bffb4d1c3c Print BGP info in historical flow details (rework format_utils.formatBgpBmpInfo) 2026-04-09 15:31:17 +02:00
Luca Deri
2705370044 Comsetic fix 2026-04-09 12:48:29 +02:00
Luca Deri
91da0ee21a BGP fixes 2026-04-08 00:06:59 +02:00
Luca Deri
da71e7094d Fixed glitch 2026-04-04 16:16:28 +02:00
Luca Deri
7274f0f77b Cosmetic Fixes 2026-04-04 09:59:11 +02:00
Luca Deri
428d921172 Formatted BGP information 2026-04-03 17:59:11 +02:00
GabrieleDeri
c755e701f0
Fixed pie chart no data messagae missing, handle no data from component (#10238) 2026-04-01 08:55:43 +02:00
GabrieleDeri
6801ec1034
Added ai stats page, updated breakdown, 3x speedup dist, removed deps on npm (#10236)
* Added ai stats page, updated breakdown style, 3x speedup npm run build, removed deps on npm

* Added ai stats page href

* Fixes ai stats page

* Update dist

* Fixes create_dist
2026-03-31 18:14:06 +02:00
Luca Deri
389e832d1c (C) update 2026-01-19 16:23:53 +01:00
Matteo Biscosi
4884d3f971 Added host aggregation to aggregated flows stats 2025-10-30 11:59:15 +01:00
Luca Deri
871fd677ba Code cleanup 2025-10-17 07:22:30 +02:00
Luca Deri
1462d546b8 Implemented formtting caching to seed up searches 2025-10-17 06:53:04 +02:00
Luca Deri
ed991aee95 Typo 2025-08-08 17:56:15 +02:00
GabrieleDeri
719060d31f
Added ASN data to UI and cleaned formatters (#9452)
* Added check redis pref for asn mode enabled

* Added transit asn to flow historical page #9368
2025-07-29 14:57:52 +02:00
GabrieleDeri
b9933b49e2
Updated ASN table formatter from semicolon to asn (asName) (#9450)
* IMplemented Review Flows Page in IXP Mode #9423

* Updated ASN table formatter from semicolon to asn (asName)
2025-07-29 10:16:56 +02:00
Matteo Biscosi
721ed71490 Added transition and loading into historical page 2025-07-25 18:14:46 +02:00
Matteo Biscosi
1ae799e67c Fixes incosistent icons (#9407) 2025-07-21 10:56:27 +02:00
Matteo Biscosi
a1281c7dd9 Fixes formatASN not alwais correctly formatting (#9380) 2025-07-15 09:38:08 +02:00
Matteo Biscosi
705050938f Fixes asn message label (#9322) 2025-07-02 10:36:19 +02:00
Alfredo Cardigliano
1bd1568240 Fix format_utils.round 2025-04-14 13:25:38 +02:00
Luca Deri
ab12565da2 Added check 2025-04-04 14:19:23 +02:00
Alfredo Cardigliano
90400a1628 Fix nan 2025-02-20 15:30:15 +01:00
Luca
c7dde58970 Improved large number format 2025-01-15 18:22:23 +01:00
Matteo Biscosi
3a61763447 Reworked flows page 2024-03-15 06:41:56 -04:00
Matteo Biscosi
5edfdeedcd Fixes various lua memory issues 2024-02-22 11:22:52 +00:00
Matteo Biscosi
e243f7c826 Fixes some lua requires 2024-02-20 08:57:48 +00:00
Matteo Biscosi
dbf4bf2a2b Removed useless imports in lua code upping the memory usage 2024-02-15 15:21:40 +00:00
Alfredo Cardigliano
f3b95a6d72 Fix formatEpochRFC2822 2024-02-07 09:28:24 +01:00
Nicolo Maio
ed479a8b09 Add SMTP_MAIL_FROM, SMTP_RCPT_TO mapping + L7_PROTO_RISK_NAME dump on syslog. 2024-01-30 17:52:33 +01:00
Alfredo Cardigliano
5b0af53702 Fix email header date (zone offset) 2024-01-29 09:42:40 +01:00
Luca Deri
55870e97b9 (C) Update 2024-01-12 11:44:18 +01:00
Alfredo Cardigliano
ddf916b330 Fix reports. Improve notification format checks. 2023-12-29 15:23:09 +01:00
Alfredo Cardigliano
6098dc87b0 Fix discovery alerts (#8132) 2023-12-27 15:58:08 +01:00
Matteo Biscosi
9668851b9c Added seconds to time function 2023-11-21 16:19:48 +00:00
Alfredo Cardigliano
f903a44771 Improve email subject for traffic and vs reports (#7969) 2023-11-02 16:07:03 +01:00
Nicolo Maio
e2e49ef3e3 [VS] Fix notification format. 2023-10-27 17:02:17 +02:00
Nicolo Maio
6ba1c8f779 Fix date format. (#7873) 2023-10-05 12:56:34 +02:00
Alfredo Cardigliano
59db3ed5a7 Improve notification message 2023-08-31 11:19:11 +02:00
Alfredo Cardigliano
726d0f13d9 Add url/label to the email notification button 2023-08-30 09:58:55 +02:00