Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ACL Tests #1803

Closed
EtaoinWu opened this issue Mar 1, 2024 · 2 comments
Closed

Support ACL Tests #1803

EtaoinWu opened this issue Mar 1, 2024 · 2 comments
Labels

Comments

@EtaoinWu
Copy link

EtaoinWu commented Mar 1, 2024

Why

ACL tests is a tailscale feature that allows ACL creators to do a sanity check on an ACL. It is a quality of life feature for access management.

// in ACL.hujson
{
  // ... other config
  "tests": [
    {
      "src": "alice-pc",
      "proto": "tcp",
      "accept": [ "jump-server:22", "tag:printer:80" ],
      "deny": [ "bob-laptop:443" ],
    },
  ],
}

Headscale currently parses but ignores ACL tests in an ACL config hujson or yaml file.

Description

Implement ACL testing as described in tailscale's KB. Note that the struct ACLTest misses some fields as defined by tailscale.

@EtaoinWu EtaoinWu added the enhancement New feature or request label Mar 1, 2024
Copy link
Contributor

github-actions bot commented Aug 7, 2024

This issue is stale because it has been open for 90 days with no activity.

@github-actions github-actions bot added the stale label Aug 7, 2024
Copy link
Contributor

This issue was closed because it has been inactive for 14 days since being marked as stale.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants