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

Exit Headscale if ACL policy file cannot be parsed #537

Merged
merged 4 commits into from
Apr 12, 2022

Conversation

reynico
Copy link
Contributor

@reynico reynico commented Apr 6, 2022

  • read the CONTRIBUTING guidelines
  • raised a GitHub issue or discussed it on the projects chat beforehand
  • added unit tests
  • added integration tests
  • updated documentation if needed
  • updated CHANGELOG.md

Closes #536

@kradalby
Copy link
Collaborator

kradalby commented Apr 6, 2022

I think this sounds sensible, what do you think @juanfont @restanrm ?

@reynico can you add Changelog?

@reynico
Copy link
Contributor Author

reynico commented Apr 6, 2022

done!

@restanrm
Copy link
Contributor

restanrm commented Apr 7, 2022

I think the current behavior of opening everything if the file is wrongly parsed is horrible. I made this choice to not break anything, but from a security point of view, it already bit me some times.

So I'm in favor for this change !

restanrm
restanrm previously approved these changes Apr 7, 2022
@kradalby
Copy link
Collaborator

kradalby commented Apr 7, 2022

Linter failing, can you run prettier?

@reynico
Copy link
Contributor Author

reynico commented Apr 7, 2022

done!

@kradalby kradalby merged commit bc63c57 into juanfont:main Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Headscale shouldn't start if ACL policy is wrong
3 participants