maia
61636cfcc2
swarm-metrics-auth: remember a "no bearer stored" answer for the cache TTL
...
When the store answered that it holds no usable bearer, the cache was reset
to its default, which forgot that the answer had just been asked for. Every
request after that started its own bao login and read, one at a time (up to
5 s each), so anyone sending `Bearer <64 hex>` before Grafana's bearer exists
queued Grafana's real requests behind those lookups, on a route with no rate
limit because the responder was said to read the store at most once per TTL.
Remember the answer for the TTL, as a stored bearer is, and deny without a
lookup until it passes (`empty_until`). A bearer that arrives ends it. The
"at most once per cache TTL" comments in swarm-victorialogs.nix and
swarm-victoriametrics.nix now also say the failure case, one lookup per few
seconds while the store does not answer.
2026-11-30 17:08:38 +01:00
..
hive-c0re
frontend: remove the stylix overlay and add hyperhive and Catppuccin light and dark themes
2026-11-22 17:55:10 +01:00
hive-forge
forge: its own netns, HTTP on a unix socket, git over HTTPS only
2026-11-22 20:52:35 +01:00
hive-gateway
gateway reaches the controller over tls with its own client leaf when the tcp listener is on
2026-11-20 19:24:20 +01:00
lib
hive-matrix: the fallocate probe works inside tuwunel's sandbox
2026-11-27 20:38:14 +01:00
swarm-grafana /dashboards
grafana: draw the forge change-size panels as bars that follow the time range
2026-11-27 17:03:29 +01:00
bao-bootstrap-policy.hcl
docs: sort the top-level directories into five sections by what the reader wants
2026-11-06 18:46:57 +01:00
default.nix
swarm-bao: move the agent PKI and SSH CA units out
2026-11-23 22:40:45 +01:00
deploy.nix
deploy: drop the rename shims of controller.links, adminSync.ignoreUsers and otel.scrapeTargets
2026-11-27 18:14:39 +01:00
glue-attic-otel-oidc-client.nix
glue-bao-readers-policy-order.nix
swarm-archive: check each agent's restic repository weekly
2026-11-14 11:53:27 +01:00
glue-bao-readers-store-order.nix
swarm-archive: check each agent's restic repository weekly
2026-11-14 11:53:27 +01:00
glue-bao-tls.nix
swarm-stt: the deploy module (deploy.stt.*, sandboxed container, store leaf, queue grants) and its docs
2026-11-12 12:18:32 +01:00
glue-bao-ui-oidc-client.nix
glue-builder-oidc-client.nix
glue-ci-metrics-otel-oidc-client.nix
glue-ci-runner-otel-oidc-client.nix
glue-claude-login-oidc-client.nix
glue-controller-bao-identity.nix
glue-controller-env.nix
swarmctl: add bao init and bao grant-bootstrap
2026-11-08 09:09:13 +01:00
glue-controller-oidc-client.nix
glue-forge-controller.nix
swarm-controller: move the forge concern into its own module
2026-11-27 16:45:16 +01:00
glue-forge-oidc-client.nix
glue-forge-otel-oidc-client.nix
glue-grafana-oidc-client.nix
glue-grafana-otel-oidc-client.nix
glue-hive-otel-authelia.nix
glue-hive-tls-bao-identity.nix
glue-hive-tls-controllers.nix
glue-logs-auth-bao-identity.nix
glue-matrix-ctl-bao-identity.nix
glue-matrix-hive-discovery.nix
docs: sort the top-level directories into five sections by what the reader wants
2026-11-06 18:46:57 +01:00
glue-matrix-oidc-client.nix
glue-matrix-otel-oidc-client.nix
glue-metrics-auth-bao-identity.nix
glue-nats-auth-bao-identity.nix
glue-nats-bao-identity.nix
glue-nats-oidc-client.nix
glue-notify-router-oidc-client.nix
glue-review-classifier-oidc-client.nix
glue-secret-publisher-authelia.nix
glue-secret-publisher-bao-identity.nix
glue-stt-oidc-client.nix
swarm-stt: the deploy module (deploy.stt.*, sandboxed container, store leaf, queue grants) and its docs
2026-11-12 12:18:32 +01:00
glue-swarm-bao-otel-oidc-client.nix
glue-swarm-otel-oidc-client.nix
glue-victorialogs-otel-oidc-client.nix
glue-victoriametrics-otel-oidc-client.nix
hive-archive-backup.nix
swarm-controller: move the secrets concern into its own module
2026-11-27 17:35:19 +01:00
hive-egress.nix
egress: say the forward-chain comment's agent_allow also holds the swarm endpoints
2026-11-27 11:45:43 +01:00
hive-matrix-service.nix
docs: sort the top-level directories into five sections by what the reader wants
2026-11-06 18:46:57 +01:00
hive-matrix.nix
hive-matrix: tuwunel's database open logs RocksDB's own messages
2026-11-28 17:08:09 +01:00
hive-network.nix
remove the swarm wireguard mesh; tombstone its options
2026-11-15 02:17:44 +01:00
hive-options-removed.nix
hive-priv-cache.nix
nix trusts the swarm's root through its own CA bundle, so root's nix clients reach the cache
2026-11-08 18:37:34 +01:00
hive-priv.nix
hive-priv: write a configured stable exe path into unit drop-ins
2026-11-15 17:31:03 +01:00
hive-squid-credential.nix
swarm-otel, swarm-grafana: a delivery unit fails on no value yet
2026-11-23 12:43:37 +01:00
hive-squid.nix
egress: the forward chain allows each agent's declared ssh connections
2026-11-20 04:04:30 +01:00
hive-tls.nix
gateway reaches the controller over tls with its own client leaf when the tcp listener is on
2026-11-20 19:24:20 +01:00
host-ca-removed.nix
docs: sort the top-level directories into five sections by what the reader wants
2026-11-06 18:46:57 +01:00
hyperhive.nix
remove the old snapshot store; tombstone its options
2026-11-10 06:48:54 +01:00
local-defaults.nix
nats-callout-removed.nix
docs: sort the top-level directories into five sections by what the reader wants
2026-11-06 18:46:57 +01:00
otel.nix
docs and option text: describe the sender stamp, drop the hive label
2026-11-23 00:48:56 +01:00
swarm-archive.nix
swarm-controller: move the secrets concern into its own module
2026-11-27 17:35:19 +01:00
swarm-attic-options.nix
swarm-attic.nix
ship the cache's init units' journal from a host with no collector, with the cache's own client
2026-11-18 09:43:57 +01:00
swarm-authelia-service.nix
docs: sort the top-level directories into five sections by what the reader wants
2026-11-06 18:46:57 +01:00
swarm-authelia.nix
docs: code comments point at the moved SSO and matrix sections
2026-11-11 01:47:20 +01:00
swarm-bao-agent-pki.nix
swarm-controller: move the secrets concern into its own module
2026-11-27 17:35:19 +01:00
swarm-bao-operator-viewer.nix
swarm-bao: move the operator viewer login and the shared bindings out
2026-11-23 21:54:32 +01:00
swarm-bao-readers.nix
swarm-bao: move the per-principal reader policy units out
2026-11-23 21:59:17 +01:00
swarm-bao-service.nix
swarm-bao.nix
swarm-bao: move the agent PKI and SSH CA units out
2026-11-23 22:40:45 +01:00
swarm-builder.nix
docs: sort the top-level directories into five sections by what the reader wants
2026-11-06 18:46:57 +01:00
swarm-ci-metrics.nix
docs: sort the top-level directories into five sections by what the reader wants
2026-11-06 18:46:57 +01:00
swarm-ci-runner.nix
ci-runner: warn when the host has no nix store gc
2026-11-11 20:34:11 +01:00
swarm-claude-login.nix
docs: the claude login page keeps the operator steps and moves the minter detail out
2026-11-11 09:05:59 +01:00
swarm-controller.nix
swarm-controller: move the deploy concern into its own module
2026-11-27 21:25:28 +01:00
swarm-grafana-service.nix
swarm-grafana.nix
swarm-controller: move the observability concern into its own module
2026-11-27 14:21:35 +01:00
swarm-nats-service.nix
remove the swarm wireguard mesh; tombstone its options
2026-11-15 02:17:44 +01:00
swarm-nats.nix
swarm-nats: the units the responder requires uphold it
2026-11-19 12:26:13 +01:00
swarm-notify-router.nix
docs: sort the top-level directories into five sections by what the reader wants
2026-11-06 18:46:57 +01:00
swarm-otel-service.nix
docs and option text: describe the sender stamp, drop the hive label
2026-11-23 00:48:56 +01:00
swarm-otel.nix
swarm-otel: a timer starts the receiver-socket check again while it is failed
2026-11-24 16:41:04 +01:00
swarm-required-services.nix
swarm-stt: the deploy module (deploy.stt.*, sandboxed container, store leaf, queue grants) and its docs
2026-11-12 12:18:32 +01:00
swarm-review-classifier.nix
docs: sort the top-level directories into five sections by what the reader wants
2026-11-06 18:46:57 +01:00
swarm-secret-publisher.nix
swarm-stt: the deploy module (deploy.stt.*, sandboxed container, store leaf, queue grants) and its docs
2026-11-12 12:18:32 +01:00
swarm-stt.nix
swarm-stt: say plainly that the network is not restricted and the decoder can read the unit's credentials
2026-11-12 12:18:32 +01:00
swarm-ui.nix
swarmctl login: find the sso provider from the gateway's published metadata
2026-11-23 23:19:45 +01:00
swarm-victorialogs-service.nix
swarm-victorialogs.nix
swarm-metrics-auth: remember a "no bearer stored" answer for the cache TTL
2026-11-30 17:08:38 +01:00
swarm-victoriametrics-service.nix
swarm-victoriametrics.nix
swarm-metrics-auth: remember a "no bearer stored" answer for the cache TTL
2026-11-30 17:08:38 +01:00
swarm.nix
docs and option text: describe the sender stamp, drop the hive label
2026-11-23 00:48:56 +01:00