tailscale / tailscale/caddy-tailscale

Caddy authentication - allow nodes with tags?

Open
#97 0 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
978
Forks
96
PR merge metrics
No merged PRs in 30d

Description

Per https://github.com/tailscale/caddy-tailscale/blob/main/auth.go#L148, func (ta Auth) Authenticate disallows any nodes with tags. I'm curious what scenarios this is intended to prevent, and whether it would be reasonable to relax this constraint and handle the security concerns through ACLs?
Thank you

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in auth.go at line 148, in Auth.Authenticate, and trace why tagged nodes are rejected. Review how ACLs are applied in the surrounding authentication flow and identify the security scenarios the current restriction prevents. Done would require an agreed design for safely allowing tagged nodes, plus tests covering the new behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
authentication, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.