The DHT bootstrap server can be used as an introducer to the sectorrent
DHT network. Like the ones running at router.sectorrent.com
.
SecTorrent clients can use this server to join the DHT, assuming some number of clients are agreeing on using the same server.
If you want to use the Rust version.
You will need to download the jar.
The code can be found here if you wish to build it yourself.
To run the node go to terminal and type
java -jar jbootstrap.jar
The command line options are:
usage: jbootstrap-dht <external-IP> [options]
OPTIONS:
--help prints this message.
--nodes <n> sets the number of nodes to keep in
the node buffer. Once full, the oldest
nodes are replaced as new nodes come in.
--ping-queue <n> sets the max number of nodes to keep in
the ping queue. Nodes are held in the queue
for 15 minutes.
--no-verify-id disable filtering nodes based on their node ID
and external IP (allow any node in on the
node list to hand out).
--ipv6 <ip> listen for IPv6 packets on the given address
can be specified more than once
--version <version> The client version to insert into all outgoing
packets. The version format must be 2 characters
followed by a dash and an integer.
--dir <path> specify the directory where the node buckets are
stored on disk. Defaults to ".".
--port <listen-port> Sets the port to listen on (for all interfaces)
defaults to 6881
--x-pollinate <ip> <port>
if the ping queue becomes too small, request more
nodes from this DHT node.
To port forward here is a guide. However we have an option to use UPnP to also open the port for you.