-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Permanent p2p forwarding #5460
Comments
@Stebalien, I'm interested in this, could you explain it in more detail? |
Basically, I'd like to be able to run:
And have ipfs save these mappings in my config file. IPFS would then automatically restore them on start. |
@Stebalien I got it. |
@Stebalien if save these mappings in the config file, can i save them as follow?
WDYT? |
SGTM. Thoughts @magik6k? |
Not sure about the names, can think of anything better though, so I'd call this good enough. |
Well, we could just say
However, I really don't have any strong opinions here so I'd just say, go with whatever makes sense to you. |
@Stebalien I make a pr in ipfs/go-ipfs-config#8 about this issue, could you help me review it? |
Not sure we should keep adding |
The libp2p daemon is still a ways off and we're even further away from having go-ipfs use it. When it does, we can migrate over but I'd rather not block on that. |
I don’t necessarily see this as libp2p daemon material. OTOH, it does feel well motivated to make the libp2p |
@Stebalien Does this issue still need to be solved? It looks like |
At the moment, it's unclear what the libp2p daemon will handle (it doesn't currently do much of anything). IMO, the libp2p daemon should actually be extremely minimal and services like this one should be provided by external applications. Eventually, we may migrate this functionality to a different component (maybe the libp2p daemon, maybe some daemon that uses the libp2p daemon). However, that shouldn't block this. |
One thing that came up: #5523 IMO, we should refuse to persist "dynamic" addresses. |
@Stebalien Any update on this issue? |
Unfortunately, no.
|
Now that we have the shiny refactored
ipfs p2p
command, it would be awesome if we could make forwards/listens permanent. That is, have a--save
or a--sticky
flag to save these mappings in either the config file or, possibly, the datastore (IMO, the config file actually makes the most sense here).The text was updated successfully, but these errors were encountered: