"invalid peer address" with ipv6 in swarm peer connect #3082
Labels
help wanted
Seeking public contribution on this issue
kind/bug
A bug in existing code (including security flaws)
status/deferred
Conscious decision to pause or backlog
topic/windows
Windows specific
Projects
dokterbob commentedAug 13, 2016
•
edited by whyrusleeping
Version/Platform/Processor information (from
ipfs version --all): 0.4.2Type (bug, feature, meta, test failure, question): bug
Area (api, commands, daemon, fuse, etc): commands
Priority (from P0: functioning, to P4: operations on fire): P2
Description:
Explicitly connecting to peers works fine for ip4 addresses but with ip6 it yields the following result:
The error results from /core/commands/swarm.go#L358, the parse error from which originates from thirdparty/ipfsaddr/ipfsaddr.go#L57 which again reaches into
go-multiaddr, which seems to be maintained here - and which suggests this is a dependency issue.However, actually looking at the code it seems this is just a regular string split and something might be fishy about the command argument parser. (This is about as far as I'm willing to follow down this rabbit's hole, for now.)
The text was updated successfully, but these errors were encountered: