tinc/doc
Guus Sliepen ced4c1a327 Add an invitation protocol.
Using the tinc command, an administrator of an existing VPN can generate
invitations for new nodes. The invitation is a small URL that can easily
be copy&pasted into email or live chat. Another person can have tinc
automatically setup the necessary configuration files and exchange keys
with the server, by only using the invitation URL.

The invitation protocol uses temporary ECDSA keys. The invitation URL
consists of the hostname and port of the server, a hash of the server's
temporary ECDSA key and a cookie. When the client wants to accept an
invitation, it also creates a temporary ECDSA key, connects to the server
and says it wants to accept an invitation. Both sides exchange their
temporary keys. The client verifies that the server's key matches the hash
in the invitation URL. After setting up an SPTPS connection using the
temporary keys, the client gives the cookie to the server. If the cookie
is valid, the server sends the client an invitation file containing the
client's new name and a copy of the server's host config file. If everything
is ok, the client will generate a long-term ECDSA key and send it to the
server, which will add it to a new host config file for the client.

The invitation protocol currently allows multiple host config files to be
send from the server to the client. However, the client filters out
most configuration variables for its own host configuration file. In
particular, it only accepts Name, Mode, Broadcast, ConnectTo, Subnet and
AutoConnect. Also, at the moment no tinc-up script is generated.

When an invitation has succesfully been accepted, the client needs to start
the tinc daemon manually.
2013-05-29 18:31:10 +02:00
..
sample-config Simplify logging, update copyrights and some minor cleanups. 2003-07-12 17:41:48 +00:00
CONNECTIVITY Remove all occurences of $Id$. 2009-09-24 23:39:16 +02:00
Makefile.am Rename tincctl to tinc. 2013-03-08 16:22:56 +01:00
NETWORKING Remove all occurences of $Id$. 2009-09-24 23:39:16 +02:00
PROTOCOL Remove all occurences of $Id$. 2009-09-24 23:39:16 +02:00
SECURITY2 Remove all occurences of $Id$. 2009-09-24 23:39:16 +02:00
SPTPS Make sure the signature also covers the session label. 2012-03-18 21:24:46 +01:00
tinc-gui.8.in Add manpage for tinc-gui. 2011-06-26 13:17:50 +02:00
tinc.8.in Add an invitation protocol. 2013-05-29 18:31:10 +02:00
tinc.conf.5.in Enable the SPTPS protocol by default. 2013-05-10 21:18:32 +02:00
tinc.texi Add an invitation protocol. 2013-05-29 18:31:10 +02:00
tincd.8.in Rename tincctl to tinc. 2013-03-08 16:22:56 +01:00
tincinclude.texi.in Remove unused stuff from doc/. 2003-08-08 14:07:12 +00:00