Commit graph

12337 commits

Author SHA1 Message Date
Alfredo Cardigliano
37ff62785d Show sites information in historical flow details 2026-05-21 10:53:32 +02:00
Luca Deri
6460b436af Added Google AI link
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-20 20:43:25 +02:00
Luca Deri
7de6a6e20d Added url_encode() 2026-05-20 20:43:25 +02:00
Alfredo Cardigliano
600d99f333 Add SRC/DST_SITE_ID to historical flows
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-20 18:58:06 +02:00
Alfredo Cardigliano
8c021c235a Add safety check 2026-05-20 12:04:55 +02:00
Alfredo Cardigliano
79745c0c8c Dump client and server tags to historical flows to allow queries like 'src TAGS contains Lab AND dst TAGS contains Production' 2026-05-20 11:58:20 +02:00
Alfredo Cardigliano
25cf8108eb Fix call to non-existing function
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-19 17:12:33 +02:00
Matteo Biscosi
d893026941 Added function to get networks associated to all sites 2026-05-19 14:41:48 +00:00
Manuel Ceroni
a7b6d4f4bf
Fixed the site editing (#10360) 2026-05-19 12:46:33 +02:00
Alfredo Cardigliano
3dced6a58f Create l7_protocols table for external queries (e.g. Grafana) 2026-05-19 12:27:12 +02:00
Matteo Biscosi
648d982369 Changed key from network cidr to network id 2026-05-19 08:31:23 +00:00
Luca Deri
7537427fb4 Extended SiteIds mappign 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-05-19 01:04:19 +02:00
Matteo Biscosi
b653dc60c8 Updated network configuration and added site to it 2026-05-18 20:20:23 +00:00
Matteo Biscosi
ce320ec7a2 Fixes incorrect value used 2026-05-18 15:14:57 +00:00
Matteo Biscosi
02983cb479 Re-added mapping function for IP-Sites 2026-05-18 11:40:22 +00:00
Matteo Biscosi
99dea1bf97 Added link to BGP Looking Glass (#10355) 2026-05-18 10:41:35 +00:00
Alfredo Cardigliano
e5acd55dd6 Split host tags into user_tags and computed_tags. Add transferrable_only flag to Host::getTags. Add and set Non-PQC tag. 2026-05-18 12:23:46 +02:00
Luca Deri
b651a08898 Added PQC behaviorual check to enable/disable PQC alerts 2026-05-18 10:32:56 +02:00
GabrieleDeri
4f8036d60f
Fixed MCP (#10357)
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-18 07:24:48 +02:00
Luca Deri
6a46ff1c3d Added missing includes 2026-05-17 11:24:13 +02:00
Luca Deri
afb6e137df Removed ntopCloud references
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-16 16:12:21 +02:00
Luca Deri
781b3e1e06 Added (C) 2026-05-16 15:47:27 +02:00
Luca Deri
80bc098a2a Added PQC flow detection
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-15 22:53:41 +02:00
Matteo Biscosi
5ff549341d Added internet exchange to traffic role timeseries
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-15 18:07:43 +00:00
Luca Deri
3c02147f03 Added non-OQC nDPI risk support 2026-05-15 19:56:24 +02:00
Luca Deri
3e97c61c01 Added IX stats 2026-05-15 17:53:10 +02:00
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