65
<arg choice="plain"><option>--keydir
66
<replaceable>DIRECTORY</replaceable></option></arg>
67
<arg choice="plain"><option>-d
68
<replaceable>DIRECTORY</replaceable></option></arg>
65
72
<arg choice="plain"><option>--interface
66
73
<replaceable>NAME</replaceable></option></arg>
67
74
<arg choice="plain"><option>-i
194
<term><option>--keydir=<replaceable
195
>DIRECTORY</replaceable></option></term>
197
<replaceable>DIRECTORY</replaceable></option></term>
200
Directory to read the OpenPGP key files
201
<filename>pubkey.txt</filename> and
202
<filename>seckey.txt</filename> from. The default is
203
<filename>/conf/conf.d/mandos</filename> (in the initial
204
<acronym>RAM</acronym> disk environment).
187
210
<term><option>--interface=
188
211
<replaceable>NAME</replaceable></option></term>
209
232
<replaceable>FILE</replaceable></option></term>
212
OpenPGP public key file name. The default name is
213
<quote><filename>/conf/conf.d/mandos/pubkey.txt</filename
235
OpenPGP public key file base name. This will be combined
236
with the directory from the <option>--keydir</option>
237
option to form an absolute file name. The default name is
238
<quote><literal>pubkey.txt</literal></quote>.
223
247
<replaceable>FILE</replaceable></option></term>
226
OpenPGP secret key file name. The default name is
227
<quote><filename>/conf/conf.d/mandos/seckey.txt</filename
250
OpenPGP secret key file base name. This will be combined
251
with the directory from the <option>--keydir</option>
252
option to form an absolute file name. The default name is
253
<quote><literal>seckey.txt</literal></quote>.
311
336
<filename>/etc/crypttab</filename>, but it would then be
312
337
impossible to enter a password for the encrypted root disk at
313
338
the console, since this program does not read from the console
314
at all. This is why a separate plugin (<citerefentry>
315
<refentrytitle>password-prompt</refentrytitle>
316
<manvolnum>8mandos</manvolnum></citerefentry>) does that, which
317
will be run in parallell to this one by the plugin runner.
339
at all. This is why a separate plugin does that, which will be
340
run in parallell to this one by the plugin runner.
395
418
</informalexample>
396
419
<informalexample>
398
Run in debug mode, and use a custom key:
421
Run in debug mode, and use a custom key directory:
402
<!-- do not wrap this line -->
403
<userinput>&COMMANDNAME; --debug --pubkey keydir/pubkey.txt --seckey keydir/seckey.txt</userinput>
424
<!-- do not wrap this line -->
425
<userinput>&COMMANDNAME; --debug --keydir keydir</userinput>
406
427
</informalexample>
407
428
<informalexample>
409
Run in debug mode, with a custom key, and do not use Zeroconf
410
to locate a server; connect directly to the IPv6 address
411
<quote><systemitem class="ipaddress"
430
Run in debug mode, with a custom key directory, and do not use
431
Zeroconf to locate a server; connect directly to the IPv6
432
address <quote><systemitem class="ipaddress"
412
433
>2001:db8:f983:bd0b:30de:ae4a:71f2:f672</systemitem></quote>,
413
434
port 4711, using interface eth2:
417
438
<!-- do not wrap this line -->
418
<userinput>&COMMANDNAME; --debug --pubkey keydir/pubkey.txt --seckey keydir/seckey.txt --connect 2001:db8:f983:bd0b:30de:ae4a:71f2:f672:4711 --interface eth2</userinput>
439
<userinput>&COMMANDNAME; --debug --keydir keydir --connect 2001:db8:f983:bd0b:30de:ae4a:71f2:f672:4711 --interface eth2</userinput>
421
442
</informalexample>
454
474
>mandos</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
457
It will also help if the checker program on the server is
458
configured to request something from the client which can not be
459
spoofed by someone else on the network, unlike unencrypted
460
<acronym>ICMP</acronym> echo (<quote>ping</quote>) replies.
463
<emphasis>Note</emphasis>: This makes it completely insecure to
464
have <application >Mandos</application> clients which dual-boot
465
to another operating system which is <emphasis>not</emphasis>
466
trusted to keep the initial <acronym>RAM</acronym> disk image
477
<emphasis>Note</emphasis>: This makes it impossible to have
478
<application >Mandos</application> clients which dual-boot to
479
another operating system which does <emphasis>not</emphasis> run
480
a <application>Mandos</application> client.
471
484
<refsect1 id="see_also">
472
485
<title>SEE ALSO</title>
474
<citerefentry><refentrytitle>cryptsetup</refentrytitle>
475
<manvolnum>8</manvolnum></citerefentry>,
476
<citerefentry><refentrytitle>crypttab</refentrytitle>
477
<manvolnum>5</manvolnum></citerefentry>,
478
487
<citerefentry><refentrytitle>mandos</refentrytitle>
479
488
<manvolnum>8</manvolnum></citerefentry>,
480
489
<citerefentry><refentrytitle>password-prompt</refentrytitle>
482
491
<citerefentry><refentrytitle>plugin-runner</refentrytitle>
483
492
<manvolnum>8mandos</manvolnum></citerefentry>
488
<ulink url="http://www.zeroconf.org/">Zeroconf</ulink>
492
Zeroconf is the network protocol standard used for finding
493
Mandos servers on the local network.
499
<ulink url="http://www.avahi.org/">Avahi</ulink>
503
Avahi is the library this program calls to find Zeroconf
510
<ulink url="http://www.gnu.org/software/gnutls/"
515
GnuTLS is the library this client uses to implement TLS for
516
communicating securely with the server, and at the same time
517
send the public OpenPGP key to the server.
523
<ulink url="http://www.gnupg.org/related_software/gpgme/"
528
GPGME is the library used to decrypt the OpenPGP data sent
535
RFC 4291: <citetitle>IP Version 6 Addressing
536
Architecture</citetitle>
541
<term>Section 2.2: <citetitle>Text Representation of
542
Addresses</citetitle></term>
543
<listitem><para/></listitem>
546
<term>Section 2.5.5.2: <citetitle>IPv4-Mapped IPv6
547
Address</citetitle></term>
548
<listitem><para/></listitem>
551
<term>Section 2.5.6, <citetitle>Link-Local IPv6 Unicast
552
Addresses</citetitle></term>
555
This client uses IPv6 link-local addresses, which are
556
immediately usable since a link-local addresses is
557
automatically assigned to a network interfaces when it
567
RFC 4346: <citetitle>The Transport Layer Security (TLS)
568
Protocol Version 1.1</citetitle>
572
TLS 1.1 is the protocol implemented by GnuTLS.
578
RFC 4880: <citetitle>OpenPGP Message Format</citetitle>
582
The data received from the server is binary encrypted
589
RFC 5081: <citetitle>Using OpenPGP Keys for Transport Layer
594
This is implemented by GnuTLS and used by this program so
595
that OpenPGP keys can be used.
496
<ulink url="http://www.zeroconf.org/">Zeroconf</ulink>
500
<ulink url="http://www.avahi.org/">Avahi</ulink>
505
url="http://www.gnu.org/software/gnutls/">GnuTLS</ulink>
510
url="http://www.gnupg.org/related_software/gpgme/"
515
<citation>RFC 4880: <citetitle>OpenPGP Message
516
Format</citetitle></citation>
520
<citation>RFC 5081: <citetitle>Using OpenPGP Keys for
521
Transport Layer Security</citetitle></citation>
525
<citation>RFC 4291: <citetitle>IP Version 6 Addressing
526
Architecture</citetitle>, section 2.5.6, Link-Local IPv6
527
Unicast Addresses</citation>