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

ACL refactor #1381

Merged
merged 13 commits into from
May 3, 2023
Merged

ACL refactor #1381

merged 13 commits into from
May 3, 2023

Commits on May 2, 2023

  1. simplify expandAlias function, move seperate logic out

    Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
    kradalby committed May 2, 2023
    Configuration menu
    Copy the full SHA
    c5303c4 View commit details
    Browse the repository at this point in the history
  2. clear up the acl function naming

    Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
    kradalby committed May 2, 2023
    Configuration menu
    Copy the full SHA
    9241d7c View commit details
    Browse the repository at this point in the history
  3. make generateFilterRule a pol struct func

    Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
    kradalby committed May 2, 2023
    Configuration menu
    Copy the full SHA
    3891f5b View commit details
    Browse the repository at this point in the history
  4. outline tests for full filter generate

    Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
    kradalby committed May 2, 2023
    Configuration menu
    Copy the full SHA
    9fffd63 View commit details
    Browse the repository at this point in the history
  5. testing without that horrible filtercode

    Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
    kradalby committed May 2, 2023
    Configuration menu
    Copy the full SHA
    0e55c7a View commit details
    Browse the repository at this point in the history
  6. update flake hash

    Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
    kradalby committed May 2, 2023
    Configuration menu
    Copy the full SHA
    122049b View commit details
    Browse the repository at this point in the history
  7. remove terrible filter code

    Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
    kradalby committed May 2, 2023
    Configuration menu
    Copy the full SHA
    4d6c864 View commit details
    Browse the repository at this point in the history
  8. lint and nolint tailscale borrowed func

    Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
    kradalby committed May 2, 2023
    Configuration menu
    Copy the full SHA
    7af8fde View commit details
    Browse the repository at this point in the history
  9. add a filter case with really large destination set juanfont#1372

    Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
    kradalby committed May 2, 2023
    Configuration menu
    Copy the full SHA
    230ea7b View commit details
    Browse the repository at this point in the history
  10. use netipx.IPSet for matcher

    Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
    kradalby committed May 2, 2023
    Configuration menu
    Copy the full SHA
    922de90 View commit details
    Browse the repository at this point in the history
  11. move matcher to separate file

    Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
    kradalby committed May 2, 2023
    Configuration menu
    Copy the full SHA
    d84eb95 View commit details
    Browse the repository at this point in the history
  12. Add basic testcases for Machine.canAccess

    Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
    kradalby committed May 2, 2023
    Configuration menu
    Copy the full SHA
    0365086 View commit details
    Browse the repository at this point in the history
  13. use IPSet in acls instead of string slice

    Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
    kradalby committed May 2, 2023
    Configuration menu
    Copy the full SHA
    1b26e5d View commit details
    Browse the repository at this point in the history