/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to mandos.xml

  • Committer: Teddy Hogeborn
  • Date: 2015-07-12 01:57:54 UTC
  • Revision ID: teddy@recompile.se-20150712015754-1lq7u2ejo7fdyfvi
* debian/mandos.prerm: Don't run init script, use only invoke-rc.d.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3
3
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4
4
<!ENTITY COMMANDNAME "mandos">
5
 
<!ENTITY TIMESTAMP "2019-02-09">
 
5
<!ENTITY TIMESTAMP "2015-01-25">
6
6
<!ENTITY % common SYSTEM "common.ent">
7
7
%common;
8
8
]>
37
37
      <year>2011</year>
38
38
      <year>2012</year>
39
39
      <year>2013</year>
40
 
      <year>2014</year>
41
 
      <year>2015</year>
42
 
      <year>2016</year>
43
 
      <year>2017</year>
44
 
      <year>2018</year>
45
40
      <holder>Teddy Hogeborn</holder>
46
41
      <holder>Björn Påhlsson</holder>
47
42
    </copyright>
241
236
        <term><option>--priority <replaceable>
242
237
        PRIORITY</replaceable></option></term>
243
238
        <listitem>
244
 
          <xi:include href="mandos-options.xml" xpointer="priority"/>
 
239
          <xi:include href="mandos-options.xml"
 
240
                      xpointer="priority_compat"/>
245
241
        </listitem>
246
242
      </varlistentry>
247
243
      
361
357
      start a TLS protocol handshake with a slight quirk: the Mandos
362
358
      server program acts as a TLS <quote>client</quote> while the
363
359
      connecting Mandos client acts as a TLS <quote>server</quote>.
364
 
      The Mandos client must supply a TLS public key, and the key ID
365
 
      of this public key is used by the Mandos server to look up (in a
366
 
      list read from <filename>clients.conf</filename> at start time)
367
 
      which binary blob to give the client.  No other authentication
368
 
      or authorization is done by the server.
 
360
      The Mandos client must supply an OpenPGP certificate, and the
 
361
      fingerprint of this certificate is used by the Mandos server to
 
362
      look up (in a list read from <filename>clients.conf</filename>
 
363
      at start time) which binary blob to give the client.  No other
 
364
      authentication or authorization is done by the server.
369
365
    </para>
370
366
    <table>
371
367
      <title>Mandos Protocol (Version 1)</title><tgroup cols="3"><thead>
391
387
        </emphasis></entry>
392
388
      </row>
393
389
      <row>
394
 
        <entry>Public key (part of TLS handshake)</entry>
 
390
        <entry>OpenPGP public key (part of TLS handshake)</entry>
395
391
        <entry>-><!-- &rarr; --></entry>
396
392
      </row>
397
393
      <row>
544
540
        </listitem>
545
541
      </varlistentry>
546
542
      <varlistentry>
 
543
        <term><filename class="devicefile">/dev/log</filename></term>
 
544
      </varlistentry>
 
545
      <varlistentry>
547
546
        <term><filename
548
547
        class="directory">/var/lib/mandos</filename></term>
549
548
        <listitem>
555
554
        </listitem>
556
555
      </varlistentry>
557
556
      <varlistentry>
558
 
        <term><filename class="devicefile">/dev/log</filename></term>
 
557
        <term><filename>/dev/log</filename></term>
559
558
        <listitem>
560
559
          <para>
561
560
            The Unix domain socket to where local syslog messages are
586
585
    <para>
587
586
      There is no fine-grained control over logging and debug output.
588
587
    </para>
589
 
    <xi:include href="bugs.xml"/>
 
588
    <para>
 
589
      This server does not check the expire time of clients’ OpenPGP
 
590
      keys.
 
591
    </para>
590
592
  </refsect1>
591
593
  
592
594
  <refsect1 id="example">
642
644
      <title>CLIENTS</title>
643
645
      <para>
644
646
        The server only gives out its stored data to clients which
645
 
        does have the correct key ID of the stored key ID.  This is
646
 
        guaranteed by the fact that the client sends its public key in
647
 
        the TLS handshake; this ensures it to be genuine.  The server
648
 
        computes the key ID of the key itself and looks up the key ID
649
 
        in its list of clients. The <filename>clients.conf</filename>
650
 
        file (see
 
647
        does have the OpenPGP key of the stored fingerprint.  This is
 
648
        guaranteed by the fact that the client sends its OpenPGP
 
649
        public key in the TLS handshake; this ensures it to be
 
650
        genuine.  The server computes the fingerprint of the key
 
651
        itself and looks up the fingerprint in its list of
 
652
        clients. The <filename>clients.conf</filename> file (see
651
653
        <citerefentry><refentrytitle>mandos-clients.conf</refentrytitle>
652
654
        <manvolnum>5</manvolnum></citerefentry>)
653
655
        <emphasis>must</emphasis> be made non-readable by anyone
705
707
      </varlistentry>
706
708
      <varlistentry>
707
709
        <term>
708
 
          <ulink url="https://gnutls.org/">GnuTLS</ulink>
 
710
          <ulink url="http://gnutls.org/">GnuTLS</ulink>
709
711
        </term>
710
712
      <listitem>
711
713
        <para>
712
714
          GnuTLS is the library this server uses to implement TLS for
713
715
          communicating securely with the client, and at the same time
714
 
          confidently get the client’s public key.
 
716
          confidently get the client’s public OpenPGP key.
715
717
        </para>
716
718
      </listitem>
717
719
      </varlistentry>
770
772
      </varlistentry>
771
773
      <varlistentry>
772
774
        <term>
773
 
          RFC 7250: <citetitle>Using Raw Public Keys in Transport
774
 
          Layer Security (TLS) and Datagram Transport Layer Security
775
 
          (DTLS)</citetitle>
776
 
        </term>
777
 
      <listitem>
778
 
        <para>
779
 
          This is implemented by GnuTLS version 3.6.6 and is, if
780
 
          present, used by this server so that raw public keys can be
781
 
          used.
782
 
        </para>
783
 
      </listitem>
784
 
      </varlistentry>
785
 
      <varlistentry>
786
 
        <term>
787
775
          RFC 6091: <citetitle>Using OpenPGP Keys for Transport Layer
788
776
          Security (TLS) Authentication</citetitle>
789
777
        </term>
790
778
      <listitem>
791
779
        <para>
792
 
          This is implemented by GnuTLS before version 3.6.0 and is,
793
 
          if present, used by this server so that OpenPGP keys can be
794
 
          used.
 
780
          This is implemented by GnuTLS and used by this server so
 
781
          that OpenPGP keys can be used.
795
782
        </para>
796
783
      </listitem>
797
784
      </varlistentry>