Skip to content
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

design doc: private network #63

Closed
gitaaron opened this issue Mar 19, 2022 · 8 comments · Fixed by #67
Closed

design doc: private network #63

gitaaron opened this issue Mar 19, 2022 · 8 comments · Fixed by #67
Assignees
Milestone

Comments

@gitaaron
Copy link
Collaborator

gitaaron commented Mar 19, 2022

One use case might be for a geographically distributed data-reserve to prevent loss

@gitaaron gitaaron added this to the Docs v0.1 milestone Mar 19, 2022
@gitaaron gitaaron changed the title private network for personal data back-up RFC design doc: private network for personal data back-up Mar 19, 2022
@gitaaron gitaaron changed the title design doc: private network for personal data back-up design doc: private network for personal data back-ups Mar 19, 2022
@gitaaron
Copy link
Collaborator Author

gitaaron commented Mar 21, 2022

Base on my experience we can still use Rely v2 and webrtc signaling server for hole punching

Where are the relay v2s/webrtc signalling servers coming from? Who is providing them?

Note: this is continuation of conversation starting here - #60 (comment)

@farhoud
Copy link
Contributor

farhoud commented Mar 21, 2022

Base on my experience we can still use Rely v2 and webrtc signaling server for hole punching

Where are the relay v2s/webrtc signalling servers coming from? Who is providing them?

Note: this is continuation of conversation starting here - #60 (comment)

Public ipfs infestructure and node's

@farhoud
Copy link
Contributor

farhoud commented Mar 21, 2022

You can test it our js implimention, you can pass the pkey and still listen on public ipfs webrtc signaling servers

@gitaaron gitaaron changed the title design doc: private network for personal data back-ups design doc: private network Mar 22, 2022
@gitaaron
Copy link
Collaborator Author

@masih - you mentioned we can work around the lack of public bootstrappers by finding our own way to provision each BOX with a peer list.

What about the lack of public relays? I am looking at IPFS cluster architecture and it mentions -

This also means that Cluster peers operate separately from IPFS with regards to NAT hole punching, ports etc.

I am interpreting this as we will have to setup our own relays?

@masih
Copy link
Contributor

masih commented Mar 25, 2022

There are two separate things that I see here: one is bootstrapping, and the other is connectivity over NAT.

We don't need public node to do bootstrapping. As for the latter, you are correct. We either use existing relays or need to set up our own for connectivity to work over NAT.

If I recall correctly there is a separate issue captured, dedicated to investigating NAT traversal? Would it make sense to leave the NAT related issues to that and focus on the simpler case for now?

@gitaaron
Copy link
Collaborator Author

gitaaron commented Mar 25, 2022

Hi @masih the nat traversal issue I raised a few weeks back is related but a little different. In that scenario we are assuming we have full access to public relays.

My question here is more a clarification around the line in the ipfs-cluster docs regarding NAT hole punching.

This also means that Cluster peers operate separately from IPFS with regards to NAT hole punching, ports etc.

I am wondering what the docs mean by 'operate separately'. My assumption is they mean we are unable to make use of public relays and will have to setup our own ( ? )

@masih
Copy link
Contributor

masih commented Mar 25, 2022

Correct

@farhoud farhoud linked a pull request Mar 25, 2022 that will close this issue
@gitaaron
Copy link
Collaborator Author

Ok thanks - a follow-up question is who is going to provide the relays we are using here?

A few thoughts -

  1. Can we make use of the public relays then upgrade to a private network somehow? If the answer is 'yes' then I would also ask if BOX customers should rely on public infra. for any use case involving replication?

  2. Perhaps data syncing can simply be a paid service in the fula network? The resource miner in this case would be a relay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done-previous-sprints
Development

Successfully merging a pull request may close this issue.

3 participants