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

fix(iroh-net): Handle unreachable IPv6 networks better #2029

Merged
merged 1 commit into from
Feb 19, 2024

Conversation

flub
Copy link
Contributor

@flub flub commented Feb 16, 2024

Description

Now that we start supporting IPv6 we see this a lot more. If we have
a dual-stack machine it does not mean the IPv6 network is routable.

If the network is not routable there is no point in trying more
attempts in the probeset, this just delays the failure. This results
in a visible speed up on my local machine.

Notes & open questions

Tested on routed and unrouted dual-stack machines

Change checklist

  • Self-review.
  • Documentation updates if relevant.
  • Tests if relevant.

Now that we start supporting IPv6 we see this a lot more.  If we have
a dual-stack machine it does not mean the IPv6 network is routable.

If the network is not routable there is no point in trying more
attempts in the probeset, this just delays the failure.  This results
in a visible speed up on my local machine.
@dignifiedquire dignifiedquire added this to the v0.13.0 milestone Feb 19, 2024
@flub flub added this pull request to the merge queue Feb 19, 2024
Merged via the queue into main with commit 436121f Feb 19, 2024
19 checks passed
@flub flub deleted the flub/netcheck-ipv6-probes branch February 19, 2024 13:22
fubuloubu pushed a commit to ApeWorX/iroh that referenced this pull request Feb 21, 2024
)

## Description

Now that we start supporting IPv6 we see this a lot more.  If we have
a dual-stack machine it does not mean the IPv6 network is routable.

If the network is not routable there is no point in trying more
attempts in the probeset, this just delays the failure.  This results
in a visible speed up on my local machine.

## Notes & open questions

Tested on routed and unrouted dual-stack machines

## 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
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants