Skip to content

feat: Add dynamic multi-interface support for mDNS discovery#4025

Open
DarkmatterVale wants to merge 1 commit inton0-computer:mainfrom
saronic-technologies:vt/multi-interface
Open

feat: Add dynamic multi-interface support for mDNS discovery#4025
DarkmatterVale wants to merge 1 commit inton0-computer:mainfrom
saronic-technologies:vt/multi-interface

Conversation

@DarkmatterVale
Copy link
Copy Markdown

@DarkmatterVale DarkmatterVale commented Mar 17, 2026

Description

This PR adds support for dynamic multi-interface mDNS discovery in iroh. Specifically, previously, if interfaces dynamically changed after creating the endpoint, it would not discover the new endpoints and add them to mDNS. With this PR, interfaces that are added / removed are properly handled.

Breaking Changes

There are no breaking changes.

Notes & open questions

Change checklist

  • Self-review.
  • Documentation updates following the style guide, if relevant.
  • Tests if relevant.
  • All breaking changes documented.
    • List all breaking changes in the above "Breaking Changes" section.
    • Open an issue or PR on any number0 repos that are affected by this breaking change. Give guidance on how the updates should be handled or do the actual updates themselves. The major ones are:

@n0bot n0bot bot added this to iroh Mar 17, 2026
@github-project-automation github-project-automation bot moved this to 🚑 Needs Triage in iroh Mar 17, 2026
.filter_map(|(_, iface)| {
iface
.addrs()
.find(|i| i.addr().is_ipv4())
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this basically filter_map?

@dignifiedquire dignifiedquire moved this from 🚑 Needs Triage to 🏗 In progress in iroh Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🏗 In progress

Development

Successfully merging this pull request may close these issues.

3 participants