Commit graph

12361 commits

Author SHA1 Message Date
Alfredo Cardigliano
5d19710f55 Update formatting functions 2026-05-15 17:37:20 +02:00
Matteo Biscosi
e4da8c8544 Fixes incorrect Version checked 2026-05-15 14:25:37 +00:00
Luca Deri
ee10df6a95 Added Internet eXchange to the traffix stats 2026-05-15 16:16:22 +02:00
Luca Deri
d896a3f472 Typo 2026-05-15 12:05:59 +02:00
Alfredo Cardigliano
a4bd4627aa Fix hourly aggregated flows 2026-05-14 12:48:53 +02:00
Matteo Biscosi
7a731042b4 Removed site id from old code and added support to networks in site add/edit (#10322) 2026-05-14 10:45:36 +00:00
GabrieleDeri
ce78ab8f17
Updated mcp with correct prompt and tool loading (#10350)
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-05-13 20:49:13 +02:00
Manuel Ceroni
cdb9867d98
Implemented interface roles ts (#10348)
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-05-13 12:40:21 +02:00
Alfredo Cardigliano
bd889fa466 Fix logout behind nginx (#10342)
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-05-13 07:43:37 +02:00
Alfredo Cardigliano
7bd1e4b580 Fix comments 2026-05-12 17:25:53 +02:00
Alfredo Cardigliano
8d779e40c0 Add Tags column in historical flows, flow alerts, host alerts, and ability to add Tags filters. 2026-05-12 17:03:28 +02:00
Alfredo Cardigliano
55ad9c9459 Dump tags also for flow alerts when using sqlite 2026-05-12 15:47:53 +02:00
Manuel Ceroni
461ddd0d99
Implemented VPN detection alert (#10344) 2026-05-12 12:47:02 +02:00
Alfredo Cardigliano
fb521c1752 Rename labels to tags to avoid confusion as labels was too common. (note: tag filters are now flowfilters) 2026-05-12 11:43:07 +02:00
Matteo Biscosi
9c2f203226 Added first flow dump filter (#10314) 2026-05-12 09:18:58 +00:00
Manuel Ceroni
8292b95185
Added AS interface role breakdown for live flows (#10345) 2026-05-12 11:04:27 +02:00
GabrieleDeri
aaae5c11e1
MCP server, separated tools in pro and community (#10343) 2026-05-12 08:32:00 +02:00
Matteo Biscosi
0e713e32ac Updated wazuh alert with mitre info 2026-05-11 14:28:18 +00:00
GabrieleDeri
805a4a056d
Added check if nanalyst available, else show page to buy license (#10338)
* Added check if nanalyst available, else show page to buy license

* nanalyst page utils check
2026-05-11 09:47:38 +02:00
Alfredo Cardigliano
2fb8a926ad Rename tags to flowfilters 2026-05-11 08:46:38 +02:00
GabrieleDeri
d2b2b0f071
Added nAnalyst menu, prefs and flow details activation (#10337)
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-05-10 23:09:19 +02:00
Copilot
bda3c861b9
Add comprehensive unit tests for Python SDK and additional Lua ts_common tests (#10227)
- Add python/tests/test_ntopng_sdk.py with 86 unit tests covering:
  - Ntopng: constructor (auth_token / user+pass), request/post_request wrappers,
    all getter methods, debug flag, URL building
  - Interface: all data, alert, flow, L7/L4 and host methods
  - Host: get_host_data, get_l7_stats, get_dscp_stats (both directions), VLAN handling
  - Historical: all alert family delegates, timeseries, flows, conversations
- Fix bug in historical.py get_host_top_protocols(): self.ifid (int) was
  concatenated with strings without str() conversion, causing TypeError at runtime
- Add scripts/lua/modules/timeseries/tests/ts_common_test.lua with 11 test cases:
  - upsampleSerie: no-op when target <= source length, empty serie
  - calculateMinMax: basic, single element, NaN-skipping
  - calculateStatistics: counter (total*step), gauge+keep_total, gauge no-total, NaN-skipping
  - ninetififthPercentile: single element, all-NaN
- Register ts_common_test in the Lua test runner (run.lua)

Agent-Logs-Url: https://github.com/ntop/ntopng/sessions/32da23c3-306c-4100-9bbe-64b91191653b

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: lucaderi <4493366+lucaderi@users.noreply.github.com>
2026-05-10 22:22:58 +02:00
GabrieleDeri
af4a137175
Fixes codeql errors on vuejs pages (#10336)
* Fixes codeql errors on vuejs pages

* Update dist
2026-05-10 21:18:42 +02:00
Alfredo Cardigliano
41417932bf Rename tag_utils to flowfilter_utils
Some checks failed
Build / build (push) Has been cancelled
CIFuzz / Fuzzing (address) (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
CodeQL / Analyze-1 (push) Has been cancelled
2026-05-07 17:18:34 +02:00
Alfredo Cardigliano
3fb6a2203e Handle IPv4/IPv6 PROBE_IP in historical data
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-05-07 13:13:11 +02:00
Manuel Ceroni
5b71218eeb
Fixed sorting of the last seen and first seen columns on the live flows page (#10328) 2026-05-06 12:47:19 +02:00
Manuel Ceroni
bc266e0fc7
Implemented AS traffic interface breakdown (#10324)
* Implemented AS traffic interface breakdown

* Minor fixes to the AS traffic interface breakdown

* Moved breakdown_role percent rounding to NtopUtils.largestRemainderRound
2026-05-06 11:07:26 +02:00
Matteo Biscosi
257090ec73 Moved Wazuh alert to the host alert category (#10317)
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-05-05 16:49:00 +00:00
Matteo Biscosi
16aa3e0aa1 Added wazuh alert when info changes (#10317) 2026-05-05 14:51:03 +00:00
GabrieleDeri
de94e7de5a
Added ai policy callbacks, added tool streaming steps (#10327) 2026-05-05 15:28:13 +02:00
Luca Deri
fb33ec516b Added check
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-05-04 19:57:54 +02:00
Luca Deri
7e2d9cf835 Labrl fix 2026-05-04 14:38:13 +02:00
Manuel Ceroni
678f26686a
Removed the CVE column from the live hosts page (#10316) 2026-05-04 13:09:47 +02:00
Matteo Biscosi
0b0d971853 Added missing check on query total causing missing ts (#10228) 2026-05-04 10:24:42 +00:00
Matteo Biscosi
409481259a Fixes incorrect import
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-05-04 09:29:19 +00:00
Manuel Ceroni
2ec3909c6b
Implemented the notification for failed connection to the BGP server. Fixed Redis errors (#10308)
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-05-03 20:06:20 +02:00
Manuel Ceroni
b518e2f8a5
Fixed the preferences for the HTTP Authentication section (#10311) 2026-04-30 11:10:22 +02:00
Matteo Biscosi
ab02b7ad71 Fixes host pools applications timeseries not correctly shown 2026-04-29 11:09:06 +00:00
Alfredo Cardigliano
aabff0ed27 Add labels to historical flow details 2026-04-29 12:01:38 +02:00
Alfredo Cardigliano
0b590a1374 Add ability for filter by Label in historical data 2026-04-29 11:32:04 +02:00
Alfredo Cardigliano
f19dfe650b Store labels in historical flows and show them in the flow list
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-28 12:51:24 +02:00
Manuel Ceroni
b8a9f20809
Implemented the preference for the SNMP interface label format (#10305) 2026-04-28 12:15:49 +02:00
Luca Deri
05c660c165 Enabled Wazuh preference
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-27 17:25:53 +02:00
Luca Deri
fafa1f099d Fixes spelling 2026-04-27 12:39:06 +02:00
Manuel Ceroni
0ab570ab18
Added Wazuh auto-merge preference (#10304) 2026-04-27 12:32:49 +02:00
Matteo Biscosi
c7884aeb7f Added AS Mode documentation 2026-04-27 09:53:46 +00:00
Manuel Ceroni
bfb8507371
Moved Wazuh to the enterprise M version (#10302) 2026-04-27 10:53:06 +02:00
GabrieleDeri
1a2bafdf87
Added ai policy page and ai policy alert (#10301) 2026-04-24 17:15:57 +02:00
Alfredo Cardigliano
4b41152001 Implement alert/notifications filtering by labels
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-24 14:55:02 +02:00
Manuel Ceroni
b65623a158
Added connection check to Wazuh server before saving credentials (#10300) 2026-04-24 12:13:31 +02:00