You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
headscale serve starts even with an invalid ACL policy defined, leading to misconfiguration during runtime as the policies are not enforced. If you set an ACL for developers to only access database.local:5432 but to deny prod-servers.local:22 and the ACL policy file has a typo, developers would have access to both production servers and databases.
2022-04-06T13:55:16Z ERR Could not load the ACL policy error="hujson: line 1, column 1: invalid literal: a" path=/etc/headscale/acls.hujson
2022-04-06T13:55:16Z INF Setting up a DERPMap update worker frequency=86400000
[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
[GIN-debug] [WARNING] Running in"debug" mode. Switch to "release" mode in production.
- using env: export GIN_MODE=release
- using code: gin.SetMode(gin.ReleaseMode)
[GIN-debug] GET /health --> github.com/juanfont/headscale.(*Headscale).createRouter.func1 (3 handlers)
[GIN-debug] GET /key --> github.com/juanfont/headscale.(*Headscale).KeyHandler-fm (3 handlers)
[GIN-debug] GET /register --> github.com/juanfont/headscale.(*Headscale).RegisterWebAPI-fm (3 handlers)
[GIN-debug] POST /machine/:id/map --> github.com/juanfont/headscale.(*Headscale).PollNetMapHandler-fm (3 handlers)
[GIN-debug] POST /machine/:id --> github.com/juanfont/headscale.(*Headscale).RegistrationHandler-fm (3 handlers)
[GIN-debug] GET /oidc/register/:mkey --> github.com/juanfont/headscale.(*Headscale).RegisterOIDC-fm (3 handlers)
[GIN-debug] GET /oidc/callback --> github.com/juanfont/headscale.(*Headscale).OIDCCallback-fm (3 handlers)
[GIN-debug] GET /apple --> github.com/juanfont/headscale.(*Headscale).AppleConfigMessage-fm (3 handlers)
[GIN-debug] GET /apple/:platform --> github.com/juanfont/headscale.(*Headscale).ApplePlatformConfig-fm (3 handlers)
[GIN-debug] GET /windows --> github.com/juanfont/headscale.(*Headscale).WindowsConfigMessage-fm (3 handlers)
[GIN-debug] GET /windows/tailscale.reg --> github.com/juanfont/headscale.(*Headscale).WindowsRegConfig-fm (3 handlers)
[GIN-debug] GET /api/v1/*any --> github.com/gin-gonic/gin.WrapF.func1 (4 handlers)
[GIN-debug] POST /api/v1/*any --> github.com/gin-gonic/gin.WrapF.func1 (4 handlers)
[GIN-debug] PUT /api/v1/*any --> github.com/gin-gonic/gin.WrapF.func1 (4 handlers)
[GIN-debug] PATCH /api/v1/*any --> github.com/gin-gonic/gin.WrapF.func1 (4 handlers)
[GIN-debug] HEAD /api/v1/*any --> github.com/gin-gonic/gin.WrapF.func1 (4 handlers)
[GIN-debug] OPTIONS /api/v1/*any --> github.com/gin-gonic/gin.WrapF.func1 (4 handlers)
[GIN-debug] DELETE /api/v1/*any --> github.com/gin-gonic/gin.WrapF.func1 (4 handlers)
[GIN-debug] CONNECT /api/v1/*any --> github.com/gin-gonic/gin.WrapF.func1 (4 handlers)
[GIN-debug] TRACE /api/v1/*any --> github.com/gin-gonic/gin.WrapF.func1 (4 handlers)
2022-04-06T13:55:16Z INF listening and serving HTTP on: 0.0.0.0:8081
Headscale should exit if it cannot parse the ACL policy file.
The text was updated successfully, but these errors were encountered:
headscale serve
starts even with an invalid ACL policy defined, leading to misconfiguration during runtime as the policies are not enforced. If you set an ACL fordevelopers
to only accessdatabase.local:5432
but to denyprod-servers.local:22
and the ACL policy file has a typo,developers
would have access to both production servers and databases.Headscale should exit if it cannot parse the ACL policy file.
The text was updated successfully, but these errors were encountered: