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

Add flags to configure bootstrapping for peer discovery #1082

Open
RangerMauve opened this issue Mar 26, 2019 · 5 comments
Open

Add flags to configure bootstrapping for peer discovery #1082

RangerMauve opened this issue Mar 26, 2019 · 5 comments

Comments

@RangerMauve
Copy link
Contributor

Feature request

Dat works great out of the box when you're on the same wifi, or are connected to the internet at large, but it's not as great when you're connected to a network that's not totally local, but isn't connected to the internet. Key uses would be something like #1066 where China was blocking traffic, or #1071 talking about mesh networks, which could be relevant to dweb camp 2019.

I was thinking it could be addressed with CLI flags added to dat clone and dat share which would be passed into discovery-swarm. Maybe just IP addresses to use for bootstrapping to start so that we can get more bang for our buck.

dat clone --bootstrap-dns 192.168.1.1:666 --bootstrap-dht 127.0.0.1:420

CC @pfrazee since this applies to Beaker

@benhylau
Copy link

@RangerMauve is this proposal simply to add / swap Internet bootstrap nodes? Similar to ipfs bootstrap add?

@RangerMauve
Copy link
Contributor Author

Yup!

@okdistribute
Copy link
Collaborator

how about a config file which can set a lot of networking options, and those options can also be set through commandline parameters (they would be named the same?)

@RangerMauve
Copy link
Contributor Author

I really like the config file idea! Maybe we could set something up on top of dat-swarm-defaults so that it can be handled in the same way across tools.

@okdistribute
Copy link
Collaborator

sweet!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants