-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Deleted node is back online #232
Comments
Hi, thanks for reporting this, I am currently working on the registration workflow and I'll add some time for this; However, in a way, this is somewhat expected if you used an authkey without expiry, as the node will have that and just try to redirect. In a PR I am working on, there will be an option to expire nodes, which will not let them connect without a valid auth again. That said, you must ensure that the node does not have a valid auth key if you dont want it to connect again. |
So instead of the "regular" auth, should I switch to expiring
Can I somehow do this from the serverside or do I effectively need to stop |
I have encountered this issue as well, it has nothing to with authkeys. The issue is, there is a |
Basically, as long as the long poll connection remains active, clients can not be forcefully dropped from the tailnet. |
There seems to be some support for it, |
Running a test network with 4 nodes on headscale v0.11.0.
On the headscale server, I tried to remove a currently active node. I want to block/delete it from the network.
List nodes:
Delete node
headscale -n net1 nodes delete 4 Do you want to remove the node bullseye? Yes Node deleted
After deletion:
Just a short time later, without touching any of the nodes or connections
Logs
How do I block a node from my network without touching the node itself?
Please bear with me, its the first time I play with headscale - maybe missed something.
The text was updated successfully, but these errors were encountered: