Skip to content

basichost: advertise all interface addrs for unspecified listen addrs#3468

Merged
sukunrt merged 1 commit into
masterfrom
sukun/all-interface-addrs
Mar 16, 2026
Merged

basichost: advertise all interface addrs for unspecified listen addrs#3468
sukunrt merged 1 commit into
masterfrom
sukun/all-interface-addrs

Conversation

@sukunrt
Copy link
Copy Markdown
Member

@sukunrt sukunrt commented Feb 26, 2026

commit to #3460

Previously, when listening on an unspecified address (0.0.0.0 or ::),
we used go-netroute to query the kernel routing table and only
advertised the primary interface's address. This was overly restrictive
and caused issues with VPN/WireGuard setups where the primary interface
wasn't the desired one.

Now we advertise all interface addresses when listening on an unspecified
address. This aligns with the expected behavior: if a node binds to
0.0.0.0, it should be reachable on all interfaces and advertise
accordingly.

Removes the netroute-based filtering logic and the internal backoff
package that supported it.

Fixes #3460
Fixes #3076
@sukunrt sukunrt marked this pull request as ready for review February 26, 2026 11:46
@sukunrt sukunrt requested a review from MarcoPolo February 26, 2026 11:46
@MarcoPolo
Copy link
Copy Markdown
Collaborator

Please update the release notes #3470 as well

@sukunrt sukunrt merged commit 7d0752e into master Mar 16, 2026
10 of 11 checks passed
@MarcoPolo MarcoPolo mentioned this pull request Mar 17, 2026
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants