Merge branch 'master' into 1.1
[tinc] / doc / tincd.8.in
1 .Dd 2002-03-25
2 .Dt TINCD 8
3 .\" Manual page created by:
4 .\" Ivo Timmermans
5 .\" Guus Sliepen <guus@tinc-vpn.org>
6 .Sh NAME
7 .Nm tincd
8 .Nd tinc VPN daemon
9 .Sh SYNOPSIS
10 .Nm
11 .Op Fl cdDKnL
12 .Op Fl -config Ns = Ns Ar DIR
13 .Op Fl -no-detach
14 .Op Fl -debug Ns Op = Ns Ar LEVEL
15 .Op Fl -net Ns = Ns Ar NETNAME
16 .Op Fl -mlock
17 .Op Fl -logfile Ns Op = Ns Ar FILE
18 .Op Fl -bypass-security
19 .Op Fl -help
20 .Op Fl -version
21 .Sh DESCRIPTION
22 This is the daemon of tinc, a secure virtual private network (VPN) project.
23 When started,
24 .Nm
25 will read it's configuration file to determine what virtual subnets it has to serve
26 and to what other tinc daemons it should connect.
27 It will connect to the ethertap or tun/tap device
28 and set up a socket for incoming connections.
29 Optionally a script will be executed to further configure the virtual device.
30 If that succeeds,
31 it will detach from the controlling terminal and continue in the background,
32 accepting and setting up connections to other tinc daemons
33 that are part of the virtual private network.
34 Under Windows (not Cygwin) tinc will install itself as a service,
35 which will be restarted automatically after reboots.
36 .Sh OPTIONS
37 .Bl -tag -width indent
38 .It Fl c, -config Ns = Ns Ar DIR
39 Read configuration files from
40 .Ar DIR
41 instead of
42 .Pa @sysconfdir@/tinc/ .
43 .It Fl D, -no-detach
44 Don't fork and detach.
45 This will also disable the automatic restart mechanism for fatal errors.
46 If not mentioned otherwise, this will show log messages on the standard error output.
47 .It Fl d, -debug Ns Op = Ns Ar LEVEL
48 Increase debug level or set it to
49 .Ar LEVEL
50 (see below).
51 .It Fl n, -net Ns = Ns Ar NETNAME
52 Connect to net
53 .Ar NETNAME .
54 .It Fl L, -mlock
55 Lock tinc into main memory.
56 This will prevent sensitive data like shared private keys to be written to the system swap files/partitions.
57 .It Fl -logfile Ns Op = Ns Ar FILE
58 Write log entries to a file instead of to the system logging facility.
59 If
60 .Ar FILE
61 is omitted, the default is
62 .Pa @localstatedir@/log/tinc. Ns Ar NETNAME Ns Pa .log.
63 .It Fl -controlsocket Ns = Ns Ar FILENAME
64 Open control socket at
65 .Ar FILENAME .
66 If
67 .Ar FILE
68 is omitted, the default is
69 .Pa @localstatedir@/run/tinc. Ns Ar NETNAME Ns Pa .control.
70 .It Fl -bypass-security
71 Disables encryption and authentication of the meta protocol.
72 Only useful for debugging.
73 .It Fl -help
74 Display short list of options.
75 .It Fl -version
76 Output version information and exit.
77 .El
78 .Sh SIGNALS
79 .Bl -tag -width indent
80 .It HUP
81 Partially rereads configuration files.
82 Connections to hosts whose host config file are removed are closed.
83 New outgoing connections specified in
84 .Pa tinc.conf
85 will be made.
86 .El
87 .Sh DEBUG LEVELS
88 The tinc daemon can send a lot of messages to the syslog.
89 The higher the debug level,
90 the more messages it will log.
91 Each level inherits all messages of the previous level:
92 .Bl -tag -width indent
93 .It 0
94 This will log a message indicating
95 .Nm
96 has started along with a version number.
97 It will also log any serious error.
98 .It 1
99 This will log all connections that are made with other tinc daemons.
100 .It 2
101 This will log status and error messages from scripts and other tinc daemons.
102 .It 3
103 This will log all requests that are exchanged with other tinc daemons. These include
104 authentication, key exchange and connection list updates.
105 .It 4
106 This will log a copy of everything received on the meta socket.
107 .It 5
108 This will log all network traffic over the virtual private network.
109 .El
110 .Sh FILES
111 .Bl -tag -width indent
112 .It Pa @sysconfdir@/tinc/
113 Directory containing the configuration files tinc uses.
114 For more information, see
115 .Xr tinc.conf 5 .
116 .It Pa @localstatedir@/run/tinc. Ns Ar NETNAME Ns Pa .pid
117 The PID of the currently running
118 .Nm
119 is stored in this file.
120 .El
121 .Sh BUGS
122 The
123 .Va BindToInterface
124 option may not work correctly.
125 .Pp
126 .Sy The cryptography in tinc is not well tested yet. Use it at your own risk!
127 .Pp
128 If you find any bugs, report them to tinc@tinc-vpn.org.
129 .Sh TODO
130 A lot, especially security auditing.
131 .Sh SEE ALSO
132 .Xr tincctl 8 ,
133 .Xr tinc.conf 5 ,
134 .Pa http://www.tinc-vpn.org/ ,
135 .Pa http://www.cabal.org/ .
136 .Pp
137 The full documentation for tinc is maintained as a Texinfo manual.
138 If the info and tinc programs are properly installed at your site,
139 the command
140 .Ic info tinc
141 should give you access to the complete manual.
142 .Pp
143 tinc comes with ABSOLUTELY NO WARRANTY.
144 This is free software, and you are welcome to redistribute it under certain conditions;
145 see the file COPYING for details.
146 .Sh AUTHORS
147 .An "Ivo Timmermans"
148 .An "Guus Sliepen" Aq guus@tinc-vpn.org
149 .Pp
150 And thanks to many others for their contributions to tinc!