rcourtman 1b405c35d6 Refresh expired CSRF cookies on GET and cap cookie MaxAge
Server-side CSRF tokens expire after 4 hours in CSRFTokenStore, while pulse_csrf browser cookies were issued with a 24-hour or 30-day MaxAge. On GET /api/*, the router only issued a cookie when pulse_csrf was missing and never checked whether an existing cookie had expired or become invalid.

Once a session passed the 4-hour mark, browsers kept sending the expired pulse_csrf cookie across page loads and GET requests without triggering apiClient's ensureCSRFToken fallback. Non-replayed mutations (retry: false), such as generating a host agent install command, then failed on the first click with 403 CSRF token validation failed.

Fix both halves of the lifecycle:
- Bound pulse_csrf cookie MaxAge across all session and CSRF issuance sites to 3h55m (5 minutes below the 4-hour server TTL, or the session duration when shorter) so idle tabs drop stale cookies before server expiry.
- Refresh missing, empty, or invalid/expired pulse_csrf cookies on GET /api/* for live sessions, and proactively rotate still-valid cookies within 30 minutes of expiry (coalesced over a 30-second window so parallel page-load GETs mint at most one replacement token).

Contract-Neutral: Bug fix aligning pulse_csrf cookie MaxAge with the 4-hour server CSRF token TTL and refreshing expired or near-expiry CSRF cookies on GET /api/* for live sessions, keeping all CSRF admission, 8-token bound, hash-only storage, and retry: false contracts unchanged
2026-11-28 14:12:31 +00:00
2026-11-28 00:28:19 +00:00
2026-03-18 16:06:30 +00:00
2026-11-28 00:28:19 +00:00
2026-03-18 16:06:30 +00:00
2025-10-11 23:29:47 +00:00
2026-03-18 16:06:30 +00:00
2026-11-28 00:28:19 +00:00

Pulse

Pulse logo

Real-time Proxmox, Docker and Kubernetes monitoring that finds what needs attention.

GitHub Stars GitHub Release Docker Pulls License

Live demo · Documentation · Releases · Discussions

Pulse is a self-hosted monitoring and alerting dashboard for Proxmox, Docker, Kubernetes, TrueNAS, and Linux/Windows/macOS hosts. One lightweight server tracks health, backups, availability checks, and metric history, and alerts you when something needs attention.

Pulse Proxmox overview

Try the live demo (Proxmox, Docker, Kubernetes, Alerts). No sign-up required.

Inside Pulse

Built-in metric history

CPU, memory, disk, network I/O, and filesystem charts for every host, guest, and container without external databases.

Metric history and filesystem diagnostics

Backup coverage & PBS

Spot unprotected guests, stale backups, and failed sync jobs across Proxmox VE and Proxmox Backup Server.

Proxmox backup coverage and PBS datastores

Alerts & Availability

Thresholds plus Ping, TCP, UDP, HTTP(S), and TLS expiry checks via email, Discord, Slack, Telegram, ntfy, Gotify, Pushover, PagerDuty, or webhooks.

Active alerts and incident triage

Supported platforms

Zoomed-in views of Docker and Kubernetes monitoring in Pulse

Platform What Pulse monitors
Proxmox VE, PBS & PMG Nodes, VMs, LXCs, storage, backups, replication, Ceph, mail gateways
Docker & Podman Hosts, containers, Compose projects, Swarm services, image updates
Kubernetes Clusters, nodes, workloads, pods, services, storage, events
TrueNAS SCALE & CORE Pools, datasets, disks, snapshots, replication, apps, VMs
Linux, Windows & macOS Host health, filesystems, networking, temperatures, RAID, availability
More full-screen views: Docker and Podman, Kubernetes, and Pulse Patrol

Docker & Podman

Hosts, containers, Compose stacks, Swarm health, and image updates without mounting the Docker socket on Pulse.

Docker hosts and containers

Kubernetes

Multi-cluster health, degraded nodes, pods, deployments, storage, and events in one view.

Kubernetes clusters and workloads

Optional AI & MCP

Pulse Patrol runs scheduled checks with your own AI provider or local model. pulse-mcp lets Claude Code, Codex, or OpenCode ask what changed overnight.

Pulse Patrol attention inbox

Install

Single container or Linux service on port 7655 (swap the tag if a newer release is out). Runs as one Go binary with built-in SQLite history (no external database): recommended baseline is 1-2 vCPU, 1 GiB RAM, and 4 GiB disk (~55 MiB idle RAM, ~200-250 MiB on a typical homelab, amd64/arm64, see system requirements).

Docker

docker run -d \
  --name pulse \
  -p 7655:7655 \
  -v pulse_data:/data \
  -e PULSE_DEPLOYMENT_METHOD=docker_run \
  --restart unless-stopped \
  rcourtman/pulse:v6.9.0
Docker Compose
services:
  pulse:
    image: rcourtman/pulse:v6.9.0
    container_name: pulse
    ports:
      - "7655:7655"
    volumes:
      - pulse_data:/data
    environment:
      - PULSE_DEPLOYMENT_METHOD=docker_compose
    restart: unless-stopped
volumes:
  pulse_data:

Proxmox LXC or Linux

Signed installer: downloads, verifies against the pinned pulse-installer key, then runs:

export PULSE_VERSION=v6.9.0
curl -fsSLO "https://github.com/rcourtman/Pulse/releases/download/${PULSE_VERSION}/install.sh" &&
curl -fsSLO "https://github.com/rcourtman/Pulse/releases/download/${PULSE_VERSION}/install.sh.sshsig" &&
ssh-keygen -Y verify \
  -f <(printf '%s\n' 'pulse-installer namespaces="pulse-install" ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMZd/DaH+BldzOkq1A8KVTcFk73nAyrE8aJOyf7i00jm pulse-installer') \
  -I pulse-installer \
  -n pulse-install \
  -s install.sh.sshsig < install.sh &&
bash install.sh --version "${PULSE_VERSION}"

Also available: Kubernetes with Helm · Full install guide.

First run

Open http://<your-ip>:7655, paste the one-time token from docker exec pulse /app/pulse bootstrap-token (Docker) or sudo pulse bootstrap-token (Linux), create your admin account, and add your first system under Settings → Infrastructure.

Do you need an agent?

Often not. Proxmox VE, PBS and PMG connect over their API with a read-only token, so no Pulse host agent is required. Install the unified agent from Settings → Infrastructure → Install on a host for Docker/Podman, Kubernetes, standalone machines, or SMART/temperature sensors. Command execution stays off by default (agent security model).

Note

Proxmox VM disk/memory queries use QEMU Guest Agent, which shares the channel used by freeze-enabled backups. Read the backup safety precaution before changing guest-agent settings during backups.

Editions

  • Community (free, MIT): full self-hosted monitoring (not gated by system or resource count), core SSO, update alerts, and Patrol with your own AI provider or local model.
  • Pro: Community plus Patrol investigation/fixes, centralized agent profiles, RBAC, audit logging, and reporting (capability reference · plans).
  • MSP: isolated per-client workspaces under one Pulse Account, with a 60-day free trial for two clients at Pulse for MSPs.

Important

GitHub releases and rcourtman/pulse are Community builds. Pro and legacy customers download from the Pulse download portal. Relay is no longer sold: existing subscribers keep Pro features at their current price, and paired phones keep working until 31 March 2027 (details).

Documentation

Community and support

Development & license

Go 1.26 + SolidJS/TypeScript (npm ci && npm --prefix frontend-modern ci && npm run dev, proxies :5173 → :7655). See CONTRIBUTING.md before opening changes (Pulse works issue-first).

Everything in this repository is MIT licensed, with no dual licensing and no source-available code. Pulse Pro is a separate commercial product at pulserelay.pro (Terms of Service).

Description
No description provided
Readme MIT 480 MiB
Languages
Go 60.9%
TypeScript 29.1%
Python 6.4%
JavaScript 1.7%
Shell 1.6%
Other 0.3%