-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[Bug] ACL policy not working after update to v23.0 beta1 #2024
Comments
adding text:
|
@masterwishx could you run
|
Sure, will post here... |
i think like no acl file was located when tryed beta1 |
I too having issues with acl’s. In alpha12 nodes that don’t have access to other nodes, now can access other nodes in beta1, when using file mode. Appears file mode does not work. I switched to database mode then Now restricted nodes based on acl can’t communicate to other nodes as configured. |
@pallabpain, let me know if you could help have a look at this one, might not be related, but worth a check. |
I also encountered an issue after upgrading to beta1. My config contains:
Without |
That's what I wrote in discord |
@kradalby @pallabpain |
I confirm having this bug too. I suggest removing the "for SSH" part in the title as the issue affects all ACLs. |
I know this is 99% certain that it is related to the ACL changes, but could you help test if the DNS breakage had an impact? I think #2034 addresses DNS issues, would it be possible for you to help me test it? would be great to avoid another bad release like beta1. Binary is available here: https://github.com/juanfont/headscale/actions/runs/10195837541?pr=2034 |
Sure I can check it tomorrow, what is link for docker? :pr2034 |
Also I don't have any dns issues for now with beta1, but also installed and using Adguard home as container in host network and using it in config as dns, enabled also tailscale dns on same host becose otherwise magic DNS not working in this machine |
We do not build docker containers for prs/branches sadly, so you will have to build it. |
OK, got it. Did you asked from me to check? |
Can you give a hint how to build docker for this pr, I'm not sure |
I think I've found the error, Cobra, the framework we use for reading the config file has a lot of sharp edges for aliases from old to new configs, so I will make the Sorry for the inconvenience! |
It's OK, I'm really sorry for was unable to help becose of docker build... |
@kradalby Yes, that was my hunch as well. Apologies for not being able to take a look at the issue. Per this comment, the Thanks for addressing the issue. :) |
also had this issue, why is YAML no longer supported for ACLs? it's so much easier to edit in something like nano/vim |
We are reducing the maintenance cost for developers, sorry for the inconvenience, but we will only support one format (hujson) forward. |
Can't you just add like 2-3 lines of code, if the files ends with |
According to juanfont#2024 (comment)
Is this a support request?
Is there an existing issue for this?
Current Behavior
SSH not working after updated to beta1 and changed config for it:
Expected Behavior
wokring in versions befor
Steps To Reproduce
...
Environment
Runtime environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: