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

switch.peerInfo reports with INADDR_ANY or INADDR6_ANY multiaddresses. #1087

Closed
cheatfate opened this issue Apr 25, 2024 · 0 comments · Fixed by #1099
Closed

switch.peerInfo reports with INADDR_ANY or INADDR6_ANY multiaddresses. #1087

cheatfate opened this issue Apr 25, 2024 · 0 comments · Fixed by #1099
Assignees
Labels
priority - urgent should be worked on immediately

Comments

@cheatfate
Copy link
Contributor

nim-libp2p provides non-usable multiaddresses via switch.peerInfo.
This method is used in nimbus-eth2 to report locally bound addresses to remote caller (Original issue is status-im/nimbus-eth2#6060).
But there should be a way to receive list of addresses of local interfaces. Address 0.0.0.0 or [::] should be expanded to proper local interface addresses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority - urgent should be worked on immediately
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants