You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm thinking we should look at integrating it into the ipfs daemon. A simple way would be to make an ipfs diag nat utility that runs the diagnostic, then advises the user on potential config changes they should make.
Slightly more interesting is doing this automatically (either on init, or on daemon startup) and automatically setting certain config options (as described here).
Hey @whyrusleeping , does this work need to continue? I found the compiling error undefined: swarm.NewNetwork in https://github.com/whyrusleeping/natest/blob/master/main.go. Maybe it should use new libp2p method.
Activity
overbool commentedon Sep 9, 2018
Hey @whyrusleeping , does this work need to continue? I found the compiling error
undefined: swarm.NewNetworkinhttps://github.com/whyrusleeping/natest/blob/master/main.go. Maybe it should use newlibp2pmethod.Stebalien commentedon Sep 12, 2018
It should.
vyzo commentedon Sep 13, 2018
We are planning to integrate services for NAT autodetection: see #4993.
vyzo commentedon Sep 13, 2018
Implementation WIP: libp2p/go-libp2p-autonat#1
overbool commentedon Sep 14, 2018
@vyzo I'm interested in it, is there anything I can do to help?
Stebalien commentedon May 16, 2019
Blocked on libp2p/go-libp2p#467. At the moment, there's no good way to access the NAT client from go-ipfs.
momack2 commentedon Mar 5, 2020
Checking in on this issue - is it still blocked?
Stebalien commentedon Mar 5, 2020
We've worked around the issue with an event bus. We can (once we cut a libp2p release) listen for nat routability events.
I've filed #6951 to track printing this to stdout automatically.