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

zeronsd does not handle subnet changes well #108

Open
erikh opened this issue Sep 17, 2021 · 3 comments
Open

zeronsd does not handle subnet changes well #108

erikh opened this issue Sep 17, 2021 · 3 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@erikh
Copy link
Contributor

erikh commented Sep 17, 2021

Reproduction:

  • Create a network
  • configure zeronsd to use that network with two authorized members
  • change the subnet and trash the old addresses

Congratulations, your server is now unusable until restart.

Will get to this over the next few weeks.

@erikh
Copy link
Contributor Author

erikh commented Sep 17, 2021

this is likely because the listening IP changed from underneath it. I think the best solution for now is to detect when there are no known addresses that zerotier-one has assigned to that interface. If that occurs, gracefully terminate non-zero to force a restart by the supervisor.

@erikh
Copy link
Contributor Author

erikh commented Feb 22, 2022

I know I said "the next few weeks" but we all saw how that went. I'm going to leave this alone as a known issue for now, it'll be complicated to resolve trivially with the current state of things.

Basically, if you do this; restart your zeronsd instance.

@czy1996
Copy link

czy1996 commented Sep 30, 2022

had to delete old addresses manually from the memeber list, then restart the zeronsd instance, and the dns resolution works

@laduke laduke added bug Something isn't working enhancement New feature or request labels Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants