Commit Graph
80 Commits
Author SHA1 Message Date
Eduardo Silva 832f91b5d4 Keep original Host on HTTPS upstreams, add use_upstream_host option 2026-11-25 17:42:14 -03:00
Eduardo Silva 543089b992 update version information 2026-11-25 08:31:45 -03:00
Eduardo Silva 7d4b083854 Fix speed limits of peers inside a limited network and require profile values 2026-11-24 19:41:20 -03:00
Eduardo Silva 3f2da7e545 Add speed profiles to limit the bandwidth of each peer 2026-11-24 17:05:13 -03:00
Eduardo Silva 1c3e162b5c Add tests for cluster agent responses and gateway shutdown 2026-11-23 13:15:16 -03:00
Eduardo Silva d00d52cc0e Handle non-JSON responses from the primary server in the cluster agent 2026-11-23 11:27:25 -03:00
Eduardo Silva 8682dc8ce6 Allow issuing a new self-signed certificate 2026-11-22 12:13:16 -03:00
Eduardo Silva 0cd9e8901e Add DNS challenge delegation to a support domain 2026-11-22 11:47:11 -03:00
Eduardo Silva bf71df194d Add gateway sessions page and end sessions on credential change 2026-11-21 16:43:06 -03:00
Eduardo Silva 7fd1a4fbc3 harden auth gateway 2026-11-21 12:26:28 -03:00
Eduardo Silva 0ee6c2b864 Add distributed cluster mode and sync peer network routes on reload 2026-11-20 20:42:42 -03:00
Eduardo Silva 7468cdf623 Rework cluster into v2: section-based worker sync and App Gateway on workers 2026-11-20 11:56:30 -03:00
Eduardo Silva 467bc48cce Warn about unexported App Gateway changes and restart Caddy when switching hosts to self-signed 2026-11-18 18:00:06 -03:00
Eduardo Silva 77e046dc1f Add certificate retry, optional fallback and DNS propagation fix to App Gateway hosts 2026-11-18 17:33:44 -03:00
Eduardo Silva c5f215d9df Add per-host certificate type and DNS challenge support to App Gateway
Each application host now selects how its TLS certificate is issued:
self-signed, ACME HTTP challenge, or ACME DNS challenge using a stored
DNS credential. ACME modes fall back to the internal CA when issuance
fails, so hosts stay reachable with a browser warning instead of a TLS
error.

- Add DnsChallengeCredential model and provider registry (Cloudflare)
- Add certificate_type and dns_credential to ApplicationHost
- Sync WireGuard WebAdmin hosts from .env into the reserved application
- Export per-host TLS settings to tls.json, read only by Caddy
- Group hosts by certificate settings into separate Caddy site blocks
- Build Caddy with the Cloudflare DNS module using xcaddy
- Regenerate the Caddyfile without DNS challenge if validation fails
2026-11-17 15:59:40 -03:00
Eduardo Silva e51f64fa5d Use python:3.14-slim as base for auth-gateway image
Shares base layers with the main and rrdtool images, reducing
total disk usage.
2026-11-17 12:28:47 -03:00
Eduardo Silva 894993226f Slim down container images and move them to Python 3.14 and Debian Trixie 2026-11-17 09:49:59 -03:00
Eduardo Silva aeff2d9b6a Prevent invalid Caddy config from app gateway applications 2026-11-16 21:13:50 -03:00
Eduardo Silva 065f278c06 Update auth-gateway TemplateResponse calls for Starlette 1.x 2026-11-16 17:51:37 -03:00
Eduardo Silva 4e8ebce289 Generate auth-gateway test fixtures from the Django config exporter 2026-11-16 11:00:25 -03:00
Eduardo Silva 16521223f9 Handle short TOTP secrets rejected by PyOTP 2.12 in auth-gateway and gatekeeper forms 2026-11-16 10:27:01 -03:00
Eduardo Silva 9f25b6ccc7 update python stack 2026-11-16 10:24:56 -03:00
Eduardo Silva f72f7d9856 Update TOTP verification page names 2026-03-24 16:14:00 -03:00
Eduardo Silva 0a6d70d144 Add robots meta tag to prevent indexing and archiving of pages 2026-03-24 12:38:18 -03:00
Eduardo Silva 5c5375cb9a implement challenge verification flow with altcha integration and add challenge page 2026-03-18 08:56:48 -03:00
Eduardo Silva c3c7fa37cd add dark mode support 2026-03-17 13:29:37 -03:00
Eduardo Silva 8418beb482 enhance policy validation by ensuring protected policies have authentication methods and defaulting to HTTPS in external URL construction 2026-03-16 21:05:16 -03:00
Eduardo Silva cf4674b933 enhance validation in forms by checking hostname and path prefix for invalid characters and reserved prefixes 2026-03-16 20:48:44 -03:00
Eduardo Silva fb17394099 enhance security by adding cache control headers, validating password length, and rejecting encoded slashes in path processing 2026-03-16 20:36:49 -03:00
Eduardo Silva ca63b87123 implement CSRF protection by adding token generation, validation, and cookie management in login flows 2026-03-16 20:23:18 -03:00
Eduardo Silva a9bfcac771 enhance security by sanitizing headers and preventing open redirects 2026-03-16 19:53:05 -03:00
Eduardo Silva 4c109957e9 enhance security by adding HTTP security headers and disabling OpenAPI documentation 2026-03-16 19:49:11 -03:00
Eduardo Silva 76048593f1 refactor login flow to use context path for redirects and enhance path normalization to prevent traversal bypasses 2026-03-16 19:47:48 -03:00
Eduardo Silva bf1991457a enhance security by enforcing strict SameSite cookies, validating OIDC callback host, and improving path matching logic 2026-03-16 19:35:24 -03:00
Eduardo Silva 5cadfba3b7 add allow_invalid_cert field to application model and update related forms and config processing 2026-03-16 14:27:03 -03:00
Eduardo Silva c707d278f3 add error handling for policy configuration issues in authentication 2026-03-16 14:16:28 -03:00
Eduardo Silva e1f128f217 implement rate limiting for authentication routes and add custom error handling page 2026-03-16 13:42:20 -03:00
Eduardo Silva 685b4eb971 refactor templates to extend base layout and improve styling 2026-03-16 11:58:48 -03:00
Eduardo Silva 66a3895eff enhance logging and error handling in authentication process 2026-03-16 11:26:16 -03:00
Eduardo Silva a68820fd98 add session management routes and session page template 2026-03-16 10:34:10 -03:00
Eduardo Silva 59ca60c642 update libs 2026-03-16 10:18:46 -03:00
Eduardo Silva 76326aded7 update libs 2026-03-16 10:14:52 -03:00
Eduardo Silva 491e78efdb move from authelia implementation to custom authentication gateway 2026-03-16 09:49:17 -03:00
Eduardo Silva d84cf0a174 add initial implementation of auth gateway with models, routes, and session management 2026-03-16 09:47:02 -03:00
Eduardo Silva 218bd32e93 refactor session cookie handling for Authelia integration 2026-03-15 16:30:28 -03:00
Eduardo Silva 517bd14bdb remove unused TOTP field and update user model constraints 2026-03-15 16:29:20 -03:00
Eduardo Silva 6b70701c9c refactor Caddyfile generation to improve policy handling and cookie collection 2026-03-15 11:37:25 -03:00
Eduardo Silva a5ab2f65e8 update Authelia internal URL 2026-03-15 10:57:56 -03:00
Eduardo Silva 715332f384 refactor Authelia setup and configuration handling 2026-03-15 10:16:26 -03:00
Eduardo Silva f2c00d59ee increase wait interval for Authelia configuration file check 2026-03-14 23:01:32 -03:00