Skip to content

v1.7.1

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Oct 08:09
· 57 commits to main since this release
d3ffaa4

Installation

Homebrew

brew install rajsinghtech/tap/tsflow

Docker

docker pull ghcr.io/rajsinghtech/tsflow:v1.7.1

Run with Docker:

docker run -d \
  --name tsflow \
  -p 8080:8080 \
  -e TAILSCALE_OAUTH_CLIENT_ID=your-client-id \
  -e TAILSCALE_OAUTH_CLIENT_SECRET=your-client-secret \
  ghcr.io/rajsinghtech/tsflow:v1.7.1

Binary Download

Download the appropriate binary for your platform from the assets below.

Upgrading from 1.7.0 needs no config changes. On the first start after the upgrade, tsflow builds per-minute pair row counters in the background (#514). Everything works while it runs; data range reads just keep scanning node_pairs until it logs Pair row counters ready.

New

  • Opt-in Prometheus metrics at /metrics on their own listener with TSFLOW_METRICS_ADDR: poller freshness and errors, ingest, DB size, HTTP and MCP latency (#533)
  • Opt-in traffic metrics with TSFLOW_METRICS_TRAFFIC: counters by traffic type and protocol, top-20 tag, user and port breakdowns, and optional top talkers with TSFLOW_METRICS_TOP_TALKERS (#534)
  • Grafana dashboard for the Prometheus metrics, plus a sidecar ConfigMap and example alert rules in k8s/monitoring (#536)
  • Optional display name for each tailnet, shown in the switcher (#488, #487)
  • The time bar is a throughput chart in bits per second, with the peak marked (#491)

Faster

  • Pair row counts per minute, so the data range skips the full node_pairs scan (#514)
  • Overview stats in one pass over the window instead of three SQL scans, with active nodes counted from the same read (#528, #529)

Fixed

  • Physical bytes are credited to the node that logged them (#503)
  • Bare-number protocol bytes are kept when a poll merges into an old row (#511)
  • The poller keeps API poll boundaries on whole seconds and doesn't backfill logs older than retention after an outage (#526, #527)
  • Clock ranges roll by calendar day, so DST doesn't shift them an hour (#518)
  • Lookback day counts that overflow are rejected (#516)
  • The picked tailnet sticks, and switching tailnets keeps the time window (#492, #519)
  • Throughput chart spans the whole window, zeroes quiet buckets and gives the last bucket its width (#521)
  • The Coverage strip bins by overlap like the main chart (#507)
  • Node bandwidth follows the traffic type filter, and the time bar says it doesn't (#513, #522)
  • Port Usage shows distinct peers instead of directional rows (#512)
  • Stored pairs are labeled unordered instead of source and destination (#515)
  • Network Logs label the time column as the window end (#520)
  • Policy auto-fit zoom is capped so small policies aren't blown up (#525)
  • Icon buttons say what they do (#493)
  • /mcp returns JSON-RPC errors when the rate limit or access check rejects a call (#508)
  • MCP: allowed scope, sort and trafficTypes values are in the schemas, descriptions say where defaults differ from the UI, and tailnet is called an argument (#509, #510, #523)
  • MCP: new_connections reports lookback coverage, flows_between CIDRs match stored subnet hosts, scoped top_talkers leaves out shared endpoints, and the summed duration can't wrap around (#504, #505, #506, #517)
  • A warning is logged once when X-Forwarded-For comes from an untrusted peer (#524)

Behavior changes

  • The New tab is gone; old /new links open Analytics with the same query string. The new-pairs API and MCP new_connections stay (#530)

Dependencies

  • jsdom 30 (#453)
  • Go module updates from Renovate: prometheus/client_golang 1.25.0, tailscale.com 1.104.2, modernc.org/sqlite 1.61.0, cloud.google.com/go/storage 1.70.0, google.golang.org/api, aws-sdk-go-v2 and smithy-go (#489, #490, #494–#502, #531, #532, #535)