TPD(1)

NAME
tpd - tesseras-paste daemon

SYNOPSIS
tpd [-g] [-p port] [-d dir] [-s sock] [-w http_port] [-b host:port]

DESCRIPTION
tpd is the tesseras-paste daemon. It participates in the tesseras-dht distributed hash table network to store and serve encrypted pastes. It listens on a Unix domain socket for commands from tp(1) and optionally serves an HTTP interface.

The options are as follows:

-b host:port
    Bootstrap peer address. This option can be specified multiple times to connect to several peers at startup.

-d dir
    Data directory for paste storage and identity key. The default is /var/tesseras-paste.

-g  Enable global NAT mode for public servers.

-p port
    UDP port for the DHT protocol. A value of 0 selects a random port. The default is 0.

-s sock
    Path to the Unix domain socket. The default is daemon.sock inside the data directory.

-w http_port
    Enable the HTTP server on the specified port.

FILES
/var/tesseras-paste/
    Default data directory.
/var/tesseras-paste/daemon.sock
    Default Unix domain socket.
/var/tesseras-paste/identity.key
    Persistent Ed25519 identity key. Generated automatically on first run.

EXIT STATUS

EXAMPLES
Start the daemon with default settings:

    # tpd

Start with a bootstrap peer and HTTP interface:

    # tpd -b 198.51.100.1:6881 -w 8080

Start as a public server on port 6881:

    # tpd -g -p 6881

SEE ALSO
tp(1)

AUTHORS
Murilo Ijanc <murilo@ijanc.org>