874 Commits
Author SHA1 Message Date
datrixlab ac741d299c Read web_x_ssl_verify as a boolean, not as a CA bundle path
GlancesWebList takes web_x_ssl_verify through config.get_value(), which
returns the raw string, and hands it to requests.head(verify=...).
Requests reads a string verify as the path to a CA bundle, so the value
from the configuration file is looked up as a file name:

    verify='false'            -> OSError: Could not find a suitable TLS CA
    verify='true'             -> OSError: ... invalid path: true
    verify=False / verify=True -> the request is actually made

ThreadScanner._web_scan catches everything and sets status='Error', so the
URL sits permanently red in the curses view and the WebUI, with only a
debug-level log line to explain it. Setting the key to true, which is what
a user does to turn verification back on explicitly, breaks the scan the
same way as false.

Read it with config.get_bool_value(), the helper the network and diskio
plugins already use for their switches, and keep a non-boolean value as a
string: a path to a CA bundle is a valid value for requests' verify, and
that is the one form that worked before.

The key was undocumented, which is probably how this survived; document it
next to the other web_x_ options in conf/glances.conf and docs/aoa/ports.rst.
2026-09-12 11:31:29 +07:00
nicolargo 84da2bfa0b Merge branch 'GHSA-56xw-p9qm-r437' into develop 2026-09-05 15:17:22 +02:00
nicolargo 304bc49707 Update deps, WebUI and docs 2026-09-05 11:09:35 +02:00
nicolargo dfa991ffcb Argument Injection in On-Alert Action Commands via Unescaped Quote Characters in secure.py's Command Tokenizer - GHSA-56xw-p9qm-r437 2026-09-05 10:02:01 +02:00
Martin Rys 5db06438bb chore: Fix recommending deprecated docker-compose 2026-08-05 22:26:14 +02:00
Martin Rys e56ef5e531 chore: Fix macOS/Mac OS X usage 2026-08-05 22:24:25 +02:00
nicolargo ce2f850628 version 4.5.6 2026-08-01 10:57:56 +02:00
nicolargo 613f09ca7f Correct issue on TU and upgrade lib dep 2026-08-01 10:53:33 +02:00
nicolargo 988cad6847 version 4.5.5 2026-06-13 15:35:04 +02:00
nicolargo fc911f8543 Prepare Glances for release 2026-06-13 15:30:51 +02:00
Gabriel St. AngelandClaude Opus 4.8 3107c6ac51 feat(gpu): support NVIDIA Jetson (Tegra) integrated GPU via sysfs fallback
On Jetson (Tegra) the integrated GPU is enumerated by NVML
(nvidia-l4t-nvml) and reports its name (e.g. "Orin (nvgpu)"), but the
per-metric NVML queries return NVML_ERROR_NOT_SUPPORTED, so the GPU
plugin only ever showed N/A for proc/mem/temperature.

Add a Tegra sysfs backend (glances/plugins/gpu/cards/tegra.py) and wire
it into the NVIDIA card as a per-metric fallback: when NVML returns None
for a device detected as Tegra (name contains "nvgpu", or the Tegra GPU
sysfs node exists), read:

- proc:        /sys/devices/platform/gpu.0/load  (per-mille -> percent)
- temperature: the gpu-thermal /sys/class/thermal zone (milli-C -> C)

Memory stays N/A by design: the Tegra GPU shares system RAM, already
reported by the MEM plugin. Scales verified against tegrastats
(GR3D_FREQ and gpu@).

Adds unit tests with committed sysfs fixtures, a NEWS.rst entry and a
docs note.

Verified on JetPack 6.2.1 (L4T R36.4.7) and JetPack 7.2 (L4T R39.2):
identical sysfs node layout and gpu-thermal zone selection on both, with
temperature cross-checked against tegrastats on each.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-07 06:59:59 +00:00
nicolargo 6d72447181 Update docs 2026-06-06 14:50:00 +02:00
nicolargo 813a4ec99b Arbitrary file write and command execution via redirection and chaining operators in AMP command configuration - GHSA-3vwc-qwhc-3mj7 - CVE-id-tbd 2026-06-06 08:24:14 +02:00
nicolargo 07080cdca4 Update WebUI, requirements and docs 2026-05-23 15:42:02 +02:00
nicolargo 0de3b8f875 XML-RPC Multi-Origin CORS Configuration Silently Falls Back to Wildcard - CVE-2026-46608 2026-05-23 11:40:20 +02:00
nicolargoandClaude Opus 4.7 4976bd7509 docs(quickstart): document xmlrpc_allowed_hosts DNS rebinding protection
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-23 09:56:46 +02:00
nicolargoandClaude Opus 4.7 8b6cab83e8 docs(plan): implementation plan for GHSA-w856-8p3r-p338 XML-RPC fix
11-task TDD plan covering test scaffold, regression baseline,
parse_request Host validation, wildcard/port/missing-Host edge
cases, startup warning, conf entry, docs and lint/format check.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-23 09:43:23 +02:00
nicolargoandClaude Opus 4.7 bcbeae7af6 docs(spec): design for GHSA-w856-8p3r-p338 XML-RPC Host validation
Design document for CVE-2026-46611 patch: add opt-in Host header
validation to the XML-RPC server via a new xmlrpc_allowed_hosts
config key, with permissive default and startup warning (mirrors
the REST/WebUI mitigation pattern).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-23 09:38:43 +02:00
Nicolas Hennion 2cfc64e8e9 Update MCP configuration instructions in mcp.rst
Added instructions for configuring Glances MCP from the Claude command line.
2026-05-21 17:18:50 +02:00
nicolargo 77131e745f Update doc for #1711 2026-05-05 08:52:20 +02:00
nicolargo 53a8a4836d Update documentation for hide/show #3546 2026-05-04 14:59:20 +02:00
nicolargo 746f0f7011 GPU Monitoring (ARM / RaspberryPi) #1048 2026-04-21 11:37:36 +02:00
nicolargo 05ff62d883 version 4.5.4 2026-04-19 09:41:52 +02:00
nicolargo 30730f4eb4 Prepare Glances 4.5.4 version 2026-04-19 09:36:25 +02:00
nicolargo b50f306e86 Update doc 2026-04-18 11:40:18 +02:00
nicolargo cec380536f Overwrite thresholds for a specific sensor is not taken into account - Related to #3525 2026-04-18 09:45:29 +02:00
nicolargo fdfb977b1d Cross-Origin Information Disclosure via Unauthenticated REST API (/api/4) due to Permissive CORS in Glances - Mitigate CVE-2026-34839 2026-04-12 09:22:36 +02:00
nicolargo 24615e52e7 Update doc and webui 2026-04-11 09:26:20 +02:00
csvke a8023b3e4c RV1126BP-70: Add config, docs, and unit tests for MPP plugin
- Add [mpp] section to conf/glances.conf with disable=True
- Add docs/aoa/mpp.rst documentation page and index entry
- Add unit test test_026_mpp with Rockchip MPP test fixtures
2026-04-11 01:34:44 +08:00
nicolargo b4c963e173 version 4.5.3 2026-03-29 16:56:27 +02:00
nicolargo f5f1c33a3c Prepare release 4.5.3 2026-03-29 16:41:48 +02:00
nicolargo 07f345e233 Replace py-spy by memray for Flamegraph generation 2026-03-28 11:06:26 +01:00
nicolargo 36bc0216f5 Command Injection via Dynamic Configuration Values - Mitigate CVE-2026-33641 2026-03-28 09:55:51 +01:00
nicolargo a921a1c828 Update doc 2026-03-22 10:37:22 +01:00
Nicolas Hennion 22db0da0c8 Update clickhouse.rst 2026-03-22 10:36:31 +01:00
nicolargo b6a694f38f Add export to ClickHouse #3320 2026-03-22 10:15:17 +01:00
nicolargo f6bc98451e Update docs and deps 2026-03-15 16:44:28 +01:00
Christian RishøjandClaude Opus 4.6 c53cb847b9 #3480 fix review nits
- Remove unnecessary hasattr guard on get_refresh()
- Init _last_stats_computed_time to time.time() to avoid stale first reading
- Guard against ZeroDivisionError in IO/network rate calculations
- Use title-case status from pylxd directly
- Add trailing newline to containers.rst

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 14:50:48 +01:00
Christian RishøjandClaude Opus 4.6 d6395e8d3e #3480 address review feedback
- Split _compute_activity_stats into sub-functions per review feedback
- Pass Glances refresh interval as LXD poll interval
- Update containers docs to mention LXD/pylxd

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 14:44:21 +01:00
nicolargo a56a5b78ef version 4.5.2 2026-03-14 15:31:14 +01:00
nicolargo d691238478 Default CORS Configuration Allows Cross-Origin Credential Theft - Correct CVE-2026-32610 2026-03-14 14:54:02 +01:00
nicolargo a8443489e3 REST/WebUI Lacks Host Validation and Remains Exposed to DNS Rebinding - Correct CVE-2026-32632 2026-03-14 13:48:25 +01:00
nicolargo 6a358d07d7 Update docs 2026-03-14 11:40:28 +01:00
nicolargo 08a600ff4a Update documentation 2026-03-14 11:00:48 +01:00
nicolargo fb0263af0c Unauthenticated API Exposure / Add warning message on startup - Correct CVE-2026-32596 2026-03-14 10:53:19 +01:00
nicolargo 5680a5da4a Command Injection via Process Names in Action Command Templates - Correct CVE-2026-32608 2026-03-14 09:52:12 +01:00
nicolargo a9170d7121 Update NEWS file 2026-03-07 15:51:54 +01:00
nicolargo 02f0106ee8 Update profiling 2026-03-07 15:39:13 +01:00
nicolargo 058ed1f7a8 Update req 2026-03-07 15:01:55 +01:00
nicolargo 45b3164464 Improve docs and also add min/max/mean for CPU and load 2026-03-07 10:09:24 +01:00