feat(iroh)!: update QNT config defaults & update to latest noq main#4213
Merged
Conversation
2 tasks
flub
approved these changes
Apr 29, 2026
3 tasks
|
Documentation for this PR has been generated and is available at: https://n0-computer.github.io/iroh/pr/4213/docs/iroh/ Last updated: 2026-05-05T11:44:20Z |
Stanley00
pushed a commit
to stanley-fork/noq
that referenced
this pull request
Apr 29, 2026
…ata` (n0-computer#622) ## Description - Raises `MAX_PATH_RESPONSES` from 16 to 32. 16 is not enough with users potentially having 25 interfaces or more configured. Now that we send off-path PATH_CHALLENGEs all from a single `PathId`, we need to be able to keep around 32 PATH_RESPONSEs queued for sending for potentially that many challenges. I've considered other values for this such as 64 or 128, but the worst-case memory use caused by malicious attackers is quite bad, so I've opted for the lowest reasonable value. - Raises `MAX_QNT_ADDRS` in the proptests from 12 to 32, to match values that will be set in iroh: n0-computer/iroh#4213 Closes n0-computer#613 (together with n0-computer/iroh#4213). ## Change checklist <!-- Remove any that are not relevant. --> - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant.
Merged
2 tasks
Stanley00
pushed a commit
to stanley-fork/noq
that referenced
this pull request
Apr 30, 2026
…on issues (n0-computer#629) ## Description - Introduces a `CanonicalIpPort` wrapper around `IpPort` that makes sure `IpAddr::to_canonical` is called. - Fixes a bug in `check_remote_address` so it compares the canonical address instead of mixing the compared types. - Makes `next_probe_addr` return an `IpPort` and `mark_probe_sent` take an `IpPort` to save needless conversions. ## Notes & open questions This should unblock n0-computer/iroh#4213 and seems to fix the test problems with ipv4-only hosts. ## Change checklist <!-- Remove any that are not relevant. --> - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant.
This was referenced May 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
QuicTransportConfig::set_max_remote_nat_traversal_addressestoQuicTransportConfig::max_remote_nat_traversal_addressesfor consistency with noq & other configuration function namesBreaking Changes
QuicTransportConfig::set_max_remote_nat_traversal_addressestoQuicTransportConfig::max_remote_nat_traversal_addressesChange checklist