997 Commits
Author SHA1 Message Date
miloschwartz ddc4934ab8 make session revalidation private 2026-11-03 16:49:26 -05:00
Owen ad7bf2382c Fix wildcard resource domain pulling 2026-11-03 10:40:36 -05:00
Owen SchwartzandGitHub f6d52ced4b Merge pull request #4054 from pcbeingused333/c0600-exit-node-request-timeout
fix(exit-nodes): add a request timeout to calls made to Gerbil
2026-11-03 10:19:59 -05:00
Alex Castillo c8fefdf061 fix(exit-nodes): add a request timeout to calls made to Gerbil
sendToExitNode used axios without a timeout, so a Gerbil that accepted
the connection but never answered left the caller (peer updates, SNI
sync, client association rebuilds) waiting indefinitely. Apply a 15s
default, overridable per request.
2026-11-03 00:24:53 -05:00
Alex Castillo 61c89834e8 fix(ai-gateway): stop subtracting Bedrock Converse cache reads from inputTokens
With prompt caching enabled, Bedrock reports inputTokens as the non-cached input only; cacheReadInputTokens and cacheWriteInputTokens are separate counters. Subtracting the cache reads again undercounted promptTokens (clamped to 0) in both the JSON and the stream-scan paths.
2026-11-02 19:57:39 -05:00
Owen 1ae2aa810e Protect wildcard 2026-11-02 17:31:13 -05:00
Owen be4100c9a3 Bump version 2026-11-02 16:13:05 -05:00
Owen 4726cb4fc1 Support matching on the base wildcard resources 2026-11-02 15:30:16 -05:00
Owen 095ca2204f Resource session page 2026-11-02 15:00:09 -05:00
Owen 8c11260ede Add resource session tracking page 2026-11-02 14:59:01 -05:00
Owen 5b8833f302 SSH log 2026-11-02 14:56:55 -05:00
Owen 9aa0d054c8 Merge branch 'main' into dev 2026-11-02 14:49:07 -05:00
Milo SchwartzandGitHub 9115808301 Merge pull request #4027 from S-NoF3aR/feature/idp-session-revalidation
Revalidate OIDC sessions with the IdP using refresh tokens
2026-10-30 14:44:23 -04:00
miloschwartz 451f89481c support special google session revalidation 2026-10-30 14:43:55 -04:00
miloschwartz 440e874aa1 add toggle to idp settings 2026-10-30 14:07:04 -04:00
miloschwartz 36f36d2ca1 address review feedback 2026-10-30 10:56:47 -04:00
Owen 8b784611c2 Support prices for custom models 2026-10-29 10:56:51 -04:00
Severin Enzler 7176fa4a40 Revalidate OIDC sessions with the IdP using refresh tokens
Pangolin consults the IdP only at login and keeps its own session
afterwards, so disabling a user or revoking their sessions in the IdP
does not end their Pangolin sessions.

Store the IdP refresh token at OIDC login as a grant and redeem it at
most every server.idp_session_revalidation_minutes (default 5). If the
IdP rejects it with invalid_grant, the grant is marked revoked and all
sessions backed by it and their resource sessions are deleted. Other
errors (IdP unreachable or slower than 10 seconds, invalid_client after
a secret change) keep the sessions valid and are retried after at most
a minute instead of on every request.

Only the instance holding a lease on the grant in the primary database
redeems its refresh token, and it writes the result only while it still
holds the lease, so instances never redeem the same token concurrently.
The per-request lookup reads from a replica through safeRead.

Device logins of the Pangolin clients share the grant of the browser
session that approved them, read from the primary database, so a rotated
refresh token is never redeemed twice by separate sessions.

The Entra ID provider type hardcodes its scopes, so it now requests
offline_access to get a refresh token.
2026-10-29 11:33:30 +01:00
Owen 8ce036b413 Clean up config for dns servers 2026-10-28 15:51:08 -04:00
Owen SchwartzandGitHub 8348e11ca9 Merge pull request #4021 from fosrl/dev
1.25.3-s.1
2026-10-28 14:18:01 -04:00
Owen cd39f2ecd6 Custom dns records 2026-10-28 11:01:29 -04:00
Owen SchwartzandGitHub 5f68236f49 Merge pull request #3922 from Tyagiquamar/fix/blueprint-basic-auth-race-3835
fix(blueprints): hash basic-auth before header-auth delete
2026-10-27 15:27:06 -04:00
Owen f4410cdbeb Sanitize values before including in treafik config 2026-10-27 15:10:08 -04:00
Owen c37dd72c8c Merge branch 'main' into dev 2026-10-26 11:58:16 -04:00
Owen SchwartzandGitHub f2342d7168 Merge pull request #3971 from samirasidd/ci-run-existing-tests
ci: run existing unit tests
2026-10-26 10:31:08 -04:00
RishavTiwari25 05d2874844 fix(status-history): order same-second events by id
Status rows written in the same second have equal timestamps, and the
batched query returns them in an order that depends on which other
resources are in the request. When a recovery event sorted before the
failure it followed, the resource stayed unhealthy until its next event.

Break timestamp ties by id in the queries and in computeBuckets.

Fixes #3994
2026-10-26 13:56:19 +05:30
Owen bd38b71b4d Add 1.25.3 migrations 2026-10-23 09:48:09 -04:00
Owen SchwartzandGitHub 8943d3d204 Merge pull request #3974 from fosrl/dev
Improve speed of register handlers
2026-10-22 16:27:52 -04:00
Owen 16a9d99b20 Improve latency on register messages for newt 2026-10-22 16:11:18 -04:00
Owen 5ff8ecdf78 Improve latency on register messages for olm 2026-10-22 16:04:38 -04:00
Owen 290f1f2ff0 Add olm agentVersion to separate the library from the agent 2026-10-22 14:59:33 -04:00
Mohd Quamar Tyagi 03d0496f94 fix(blueprints): include resource name in blueprint health check names
Health checks created from blueprints were named only ${targetData.hostname}:.
In contrast, health checks created via UI/API are named Resource  - :,
which makes it possible to identify which resource triggered health check alerts.

Include the resource name in blueprint health checks on creation and update (matching the UI/API
format), allow optional override via TargetHealthCheckSchema.name, and detect name changes in
checkIfHealthcheckChanged.

Fixes #3959.
2026-10-22 17:45:42 +05:30
Owen 3090c74131 Fix pg migration import 2026-10-20 16:31:52 -04:00
Owen 77c0c96823 Show protected when using mtls 2026-10-20 15:02:07 -04:00
Owen ee8724f117 Move the offline intervals to the regular config 2026-10-20 12:15:46 -04:00
Owen d02d2f79ba Make sure the MTLS is enforced for redirects 2026-10-20 11:53:44 -04:00
Owen 3510054a92 MTLS for all public resources 2026-10-20 11:51:43 -04:00
Owen c799d3ab6b Kebab case the request and response headers 2026-10-20 11:47:51 -04:00
Owen f4140fd6f6 Add mtls to blueprint, policy, and oss getTraefikConfig 2026-10-20 10:02:44 -04:00
samirasidd 82b1e79f63 ci: run existing unit tests 2026-10-20 16:30:57 +06:00
Owen ec184cdf33 Fix tier matrix bugs 2026-10-19 17:25:02 -04:00
Owen 4db8a49dfb Update tier matrix 2026-10-19 17:03:05 -04:00
Owen ab4c105e75 Make rekey not private and in integration api 2026-10-19 16:55:10 -04:00
Owen 7ffd46f133 Merge branch 'main' into dev 2026-10-19 11:04:49 -04:00
Tyagiquamar 3c0dc478da fix(blueprints): hash basic-auth before header-auth delete
Compute the header-auth hash before deleting existing rows so
concurrent blueprint applies keep delete and insert adjacent.

Fixes #3835
2026-10-18 22:45:34 +05:30
Owen 6989739bf9 Write mtls certs to files when using the TraefikConfigManager 2026-10-16 12:24:21 -04:00
Owen 2817af1816 Move mtls routes to private 2026-10-16 12:16:51 -04:00
Owen feb247dc16 Add export all blueprints cli command 2026-10-16 10:58:59 -04:00
Owen 04313e949d Fix the roles ui 2026-10-16 10:17:39 -04:00
miloschwartz a6a3816b56 more ui adjustments 2026-10-15 15:42:43 -04:00