Closed daviddias closed 5 years ago
well thats weird.
My guess is that's the fallback listener. I see it too.
or fallback dialer or what it's called
Does the TCP port change in "/ip4/85.246.63.197/tcp/58157/ipfs/QmU1sz7zVrrR4TkHdFxaJc124CAjuyXZJAnEWUJp6KpnLk"?
This issue probably comes from go-libp2p/p2p/host/basic/basic_host.go where we add addresses that we've been observed to have to the ipfs id output. This touches on another issue where if someone tells us they see us coming from a port above 32000 or so, its definitely not something we're dialable on.
Found the info, we shouldnt ever claim to be listening on ephemeral ports: https://en.wikipedia.org/wiki/Ephemeral_port unless we're actually 100% certain we're doing so (i.e. we have an active listener on one)
This should probably be changed here: https://github.com/libp2p/go-libp2p/blob/master/p2p/protocol/identify/obsaddr.go
Fixed. One source of this, at least, was NAT hole punching.
Version information:
go-ipfs version: 0.4.5-dev-ea36c38 Repo version: 4 System version: amd64/darwin Golang version: go1.7.1
Type: Bug
Priority: P3
Description:
When only listing a
WebSockets
addr for go-ipfs, it still creates a listener on TCPConfig file
Output of ipfs id
Note that I also removed all of the bootstrapers from the config.