Current ipv6 implementation doesn't account for interface #134
Labels
exp/novice
Someone with a little familiarity can pick up
help wanted
Seeking public contribution on this issue
kind/bug
A bug in existing code (including security flaws)
released
status/ready
Ready to be worked
Suppose this is my following multiaddr string:
After parsing, the host should be
but the interface and the
%
is omitted.This means that ipv6 link/local addresses are not parsed correctly.
This also creates issues with
libp2p-tcp
, when attempting to bootstrap a node with a local "neighbor node" as the interface is omitted when converting the string to a multiaddr object.I've started working on a fix, and will hopefully have a pull request soon, just thought of creating an issue before in case anyone else runs into this
See:
libp2p/js-libp2p-bootstrap#105
The text was updated successfully, but these errors were encountered: