Skip to content

feat(iroh)!: update QNT config defaults & update to latest noq main#4213

Merged
flub merged 12 commits into
mainfrom
matheus23/updated-qnt-defaults
May 5, 2026
Merged

feat(iroh)!: update QNT config defaults & update to latest noq main#4213
flub merged 12 commits into
mainfrom
matheus23/updated-qnt-defaults

Conversation

@matheus23
Copy link
Copy Markdown
Member

Description

  • Updates to latest noq main & applies fixes
  • Renames QuicTransportConfig::set_max_remote_nat_traversal_addresses to QuicTransportConfig::max_remote_nat_traversal_addresses for consistency with noq & other configuration function names
  • Changes the defaults for maximum number of QNT addresses and multipath paths according to discussions in Tweak concurrent use numbers noq#613 and here

Breaking Changes

  • Renamed QuicTransportConfig::set_max_remote_nat_traversal_addresses to QuicTransportConfig::max_remote_nat_traversal_addresses

Change checklist

  • Self-review.
  • Documentation updates following the style guide, if relevant.
  • All breaking changes documented.
    • List all breaking changes in the above "Breaking Changes" section.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 29, 2026

Netsim report & logs for this PR have been generated and is available at: LOGS
This report will remain available for 3 days.

Last updated for commit: 4e3d5f2

@n0bot n0bot Bot added this to iroh Apr 29, 2026
@github-project-automation github-project-automation Bot moved this to 🚑 Needs Triage in iroh Apr 29, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 29, 2026

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.
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.
@dignifiedquire dignifiedquire changed the title feat(iroh): Update QNT config defaults & update to latest noq main feat(iroh)!: update QNT config defaults & update to latest noq main May 4, 2026
@dignifiedquire dignifiedquire added this to the v1.0.0-rc.0 milestone May 4, 2026
@flub flub merged commit 00f961b into main May 5, 2026
35 of 36 checks passed
@github-project-automation github-project-automation Bot moved this from 🚑 Needs Triage to ✅ Done in iroh May 5, 2026
@flub flub deleted the matheus23/updated-qnt-defaults branch May 5, 2026 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

3 participants