question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add flags to configure bootstrapping for peer discovery

See original GitHub issue

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

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:5
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
okdistributecommented, Mar 29, 2019

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?)

0reactions
okdistributecommented, Mar 29, 2019

sweet!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configuration flags
This needs to match the key used in the flag if using static bootstrapping. When using discovery, each member must have a unique...
Read more >
Configuration flags - etcd
Configuration flags. etcd is configurable through a configuration file, various command-line flags, and environment variables.
Read more >
how to create my own bootstrap peer like ...
I use it as a relay node. deploy code: package main import ( "context" "flag" "fmt" "github.com/libp2p/go-libp2p ...
Read more >
Configure Tessera
If peer discovery is disabled, then only peers defined in the configuration file will be communicated with; any peers notified by other nodes...
Read more >
Bootstrap a Datacenter | Consul - HashiCorp Developer
All three methods can be set in the agent configuration file or the command line flag. Manually Join the Servers. To manually create...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found