3509 Commits
Author SHA1 Message Date
miloschwartz b1a6e82fbd add user and agent table filters 2026-11-04 09:44:11 -05:00
miloschwartz 52701ae8c4 update ios models 2026-11-04 09:25:07 -05:00
miloschwartz ddc4934ab8 make session revalidation private 2026-11-03 16:49:26 -05:00
Owen a4ebefdbf8 Save resource session client info 2026-11-03 12:23:30 -05:00
Owen 611ef67169 Fix missing scope for redirects 2026-11-03 11:21:11 -05:00
Owen ec0370f0b8 Add badger 1.8.0 update to migrations 2026-11-03 10:40:36 -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
Owen SchwartzandGitHub 5270fb485c Merge pull request #4052 from pcbeingused333/c0520-bedrock-cache
fix(ai-gateway): stop subtracting Bedrock Converse cache reads from inputTokens
2026-11-03 10:19:25 -05:00
miloschwartz 8538fff0ef store metadata on session 2026-11-03 09:56:56 -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
miloschwartz da94c496b3 ui improvements to resource sessions 2026-11-02 17:29:20 -05:00
Owen abd66e2cd8 Fix license 2026-11-02 16:46:42 -05:00
Owen a4cc0fb8f7 Fill in autoProvision 2026-11-02 16:28:12 -05:00
miloschwartz 388349ff23 support auto provision toggle per org for org idp mode 2026-11-02 16:19:05 -05:00
Owen d0b84edb3d Fix formatting 2026-11-02 16:16:45 -05:00
Owen be4100c9a3 Bump version 2026-11-02 16:13:05 -05:00
Owen bb47ba56f2 Complete 1.26 migration 2026-11-02 16:12:49 -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
miloschwartz b3c6b3f242 Merge branch '1.26' into dev 2026-10-30 15:07:38 -04:00
miloschwartz ae012e0d90 add remote node hybrid endpoint for session revalidation 2026-10-30 15:05:02 -04: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 476a41622d restore in memory coalescing 2026-10-30 11:07:10 -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
miloschwartz 3cacaedb8b recover olm based on last seen 2026-10-28 16:48:18 -04:00
Owen 8ce036b413 Clean up config for dns servers 2026-10-28 15:51:08 -04:00
Owen 3dd46e48ec Standalone dns server 2026-10-28 15:41:31 -04:00
Owen SchwartzandGitHub 3f352ef2d3 Merge pull request #4023 from fosrl/dev
Match wildcard domains properly
2026-10-28 14:51:10 -04:00
Owen 0be847ce9e Match wildcard domains properly 2026-10-28 14:50:47 -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 c64fd9cce6 Adjust how multi record items are stored 2026-10-28 13:42:59 -04:00
Owen a44e1c927d Support multiple records where required 2026-10-28 11:45:30 -04:00
Owen cd39f2ecd6 Custom dns records 2026-10-28 11:01:29 -04:00
Owen e650774629 Fix api key lockout on getting users 2026-10-28 10:07:52 -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 a85b633ca0 Include the resource in the cache 2026-10-27 14:57:11 -04:00
Owen 42d672cfc6 Include orgId in the filter for the policy 2026-10-27 14:47:07 -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