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

Netcheck fails to find working IPv6 connection #2022

Closed
flub opened this issue Feb 13, 2024 · 0 comments · Fixed by #2030
Closed

Netcheck fails to find working IPv6 connection #2022

flub opened this issue Feb 13, 2024 · 0 comments · Fixed by #2030
Labels
Milestone

Comments

@flub
Copy link
Contributor

flub commented Feb 13, 2024

We saw a case of @ramfox having an IPv6 connection, default-net correctly knowing about the IPv6 addresses assigned and yet netcheck not finding that I can use IPv6. It never even runs the StunIpv6 probe. It should run an IPv6 probe and know there's IPv6 connectivity.

@github-project-automation github-project-automation bot moved this to 📋 Backlog in iroh Feb 13, 2024
@flub flub added this to the v0.14.0 milestone Feb 15, 2024
@flub flub added the c-iroh label Feb 16, 2024
@dignifiedquire dignifiedquire modified the milestones: v0.14.0, v0.13.0 Feb 19, 2024
github-merge-queue bot pushed a commit that referenced this issue Feb 19, 2024
## Description

We were incorrectly identifying globally routable IPv6 addresses as
not routable.  This make netcheck skip IPv6 addresses.

## Notes & open questions

Closes #2022 

The fix in the netcheck, test is curious, it fails on this PR fairly
consistently yet it is really a flaky test introduced in combination
with #2027.
Now that we have IPv6 resolving properly we might get an IPv6 result.
Since
this test only has a single DerpUrl it only needs one result to
complete.
This could be an IPv4 OR an IPv6 result, we don't know which one will be
faster. And if the other is slow enough then it won't be received. I
think
this behaviour is fine, we simply can't guarantee that both must have a
result
and the point of netcheck is to return something working quickly.

## Change checklist

- [x] Self-review.
- [x] Documentation updates if relevant.
- [x] Tests if relevant.
@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in iroh Feb 19, 2024
fubuloubu pushed a commit to ApeWorX/iroh that referenced this issue Feb 21, 2024
…computer#2030)

## Description

We were incorrectly identifying globally routable IPv6 addresses as
not routable.  This make netcheck skip IPv6 addresses.

## Notes & open questions

Closes n0-computer#2022 

The fix in the netcheck, test is curious, it fails on this PR fairly
consistently yet it is really a flaky test introduced in combination
with n0-computer#2027.
Now that we have IPv6 resolving properly we might get an IPv6 result.
Since
this test only has a single DerpUrl it only needs one result to
complete.
This could be an IPv4 OR an IPv6 result, we don't know which one will be
faster. And if the other is slow enough then it won't be received. I
think
this behaviour is fine, we simply can't guarantee that both must have a
result
and the point of netcheck is to return something working quickly.

## Change checklist

- [x] Self-review.
- [x] Documentation updates if relevant.
- [x] Tests if relevant.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants