Tesseras DHT daemon for running bootstrap nodes on the Tesseras P2P network.
tesd is a lightweight daemon that runs a
Tesseras DHT node in the background. It
is designed to operate as a long-running bootstrap node that other peers can
connect to when joining the network.
Features:
- Classic Unix daemonization with double fork
- Syslog logging in background mode, stderr in foreground
- DNS and IP literal resolution for bootstrap peers
- Dual-stack IPv4/IPv6 support
- Graceful shutdown on SIGTERM/SIGINT
- Platform-specific default data directories
usage: tesd [-46dhv] [-a ip[@port]] [-b host[@port]] [-D datadir] [-V level]
Options:
-4 Only listen to IPv4 connections
-6 Only listen to IPv6 connections
-a ADDR Listen address ip[@port] (default: [::]:4000)
-b PEER Bootstrap peer host[@port]
-d Do not fork, stay in foreground
-D DIR Data directory
-V LEVEL Verbosity level (0=error, 1=warn, 2=info, 3=debug, 4=trace)
-h Print help and exit
-v Print version and exit
Run in foreground with info-level logging:
tesd -d -V 2Listen on a specific address and bootstrap from an existing node:
tesd -d -a 127.0.0.1@4001 -b bootstrap.tesseras.netRun as a background daemon with a custom data directory:
tesd -D /srv/tesd -a 0.0.0.0@4000 -b 192.0.2.1@4000| Platform | Path |
|---|---|
| Linux, *BSD | /var/lib/tesd |
| macOS | /usr/local/var/lib/tesd |
| Windows | %LOCALAPPDATA%\tesd |
ISC — see LICENSE.