ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/doc/gvpe.8.pod
Revision: 1.8
Committed: Tue Jun 21 08:46:53 2005 UTC (18 years, 11 months ago) by pcg
Branch: MAIN
CVS Tags: rel-2_01, rel-2_0
Changes since 1.7: +2 -2 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 =head1 NAME
2
3 C<gvpe> - GNU Virtual Private Ethernet Daemon
4
5 =head1 SYNOPSIS
6
7 C<gvpe> [B<-cDlL>] [B<--config=>I<DIR>] [B<--no-detach>] [B<-l=>I<LEVEL]>]
8 [B<--kill>[B<=>I<SIGNAL>]] [B<--mlock>] [B<--help>] [B<--version>]
9 I<NODENAME> [I<option...>]
10
11 =head1 DESCRIPTION
12
13 See the gvpe(5) manpage for an introduction to the gvpe suite.
14
15 This is the manual page for gvpe, the virtual private ethernet daemon.
16 When started, C<gvpe> will read it's configuration file to determine the
17 network topology, and other configuration information, assuming the role
18 of node I<NODENAME>. It will then connect to the tun/tap device and set
19 up a socket for incoming connections. Then a script will be executed to
20 further configure the virtual device. If that succeeds, it will detach
21 from the controlling terminal and continue in the background, accepting
22 and setting up connections to other gvpe daemons that are part of the
23 virtual private ethernet.
24
25 The optional arguments after the node name have to be of the form:
26
27 [I<nodename>.]var=value
28
29 If the argument has a prefix of C<nodename.>
30 (i.e. C<laptop.enable-dns=yes>) then it will be parsed after all the
31 config directives for that node, if not, it is parsed befroe the first
32 node directive in the config file, and can be used to set global options
33 or default variables.
34
35 For example, to start C<gvpe> in the foreground, with log-level C<info> on
36 the node C<laptop>, with TCP enabled and HTTP-Proxy host and Port set, use
37 this:
38
39 gvpe -D -l info laptop \
40 http-proxy-host=10.0.0.18 http-proxy-port=3128 \
41 laptop.enable-tcp=yes
42
43 =head1 OPTIONS
44
45 =over 4
46
47 =item B<-c>, B<--config=>I<DIR>
48
49 Read configuration options from I<DIR>
50
51 =item B<-d>, B<--l=>I<LEVEL>
52
53 Set logging level to I<LEVEL> (one of: noise, trace, debug, info, notice,
54 warn, error, critical).
55
56 =item B<--help>
57
58 Display short list of options.
59
60 =item B<-D>, B<--no-detach>
61
62 Don't fork and detach but stay in foreground and log messages to stderr in
63 addition to syslog.
64
65 =item B<-L>, B<--mlock>
66
67 Lock C<gvpe> into main memory. This will prevent sensitive data like
68 shared private keys to be written to the system swap files/partitions.
69
70 =item B<--version>
71
72 Output version information and exit.
73
74 =back
75
76 =head1 SIGNALS
77
78 =over 4
79
80 =item HUP
81
82 Closes/resets all connections, resets the retry time and will start connecting
83 again (it will NOT re-read the config file). This is useful e.g. in a
84 C</etc/ppp/if-up> script.
85
86 =item TERM
87
88 Closes/resets all connections and exits.
89
90 =item USR1
91
92 Dump current network status into the syslog (at loglevel C<notice>, so make
93 sure your loglevel allows this).
94
95 =back
96
97 =head1 FILES
98
99 =over 4
100
101 =item C</etc/gvpe/gvpe.conf>
102
103 The configuration file for C<gvpe>.
104
105 =item C</etc/gvpe/if-up>
106
107 Script which is executed as soon as the virtual network device has been
108 allocated. Purpose is to further configure that device.
109
110 =item C</etc/gvpe/node-up>
111
112 Script which is executed whenever a node connects to this node. This can
113 be used for example to run nsupdate.
114
115 =item C</etc/gvpe/node-down>
116
117 Script which is executed whenever a connection to another node is lost.
118 for example to run nsupdate.
119
120 =item C</etc/gvpe/pubkey/*>
121
122 The directory containing the public keys for every node, usually
123 autogenerated by executing C<gvpectrl --generate-keys>.
124
125 =item C</var/run/gvpe.pid>
126
127 The PID of the currently running C<gvpe> is stored in this file.
128
129 =back
130
131 =head1 BUGS
132
133 The cryptography in gvpe has not been thoroughly checked by many people
134 yet. Use it at your own risk!
135
136 If you find any bugs, report them to C<gvpe@schmorp.de>.
137
138 =head1 SEE ALSO
139
140 gvpe(5) for an introduction, gvpe.conf(5), gvpectrl(8).
141
142 The GVPE mailing list, at L<http://lists.schmorp.de/> or
143 C<gvpe@lists.schmorp.de>.
144
145 gvpe comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
146 welcome to redistribute it under certain conditions; see the file COPYING
147 for details.
148
149 =head1 AUTHOR
150
151 Marc Lehmann C<< <gvpe@schmorp.de> >>.
152
153 And thanks to many others for their contributions to gvpe, especially the
154 tincd authors, who inspired me to write this program (after scavenging
155 their sourcecode ;).
156