/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: 2014-06-14 23:29:00 UTC
  • Revision ID: teddy@recompile.se-20140614232900-vhcywskev4u8rz2d
mandos-client: Fix some bugs on error conditions.

* plugins.d/mandos-client.c (run_network_hooks): Init "dirent" to NULL
                                                 and, later, always
                                                 free() it unless
                                                 scandirat() or
                                                 scandir() failed.
  (main): Fix free() of uninitalized memory in case scandirat() or
          scandir() of "/sys/class/net" failed.  Also, when cleaning
          up, even if GPGME temp directory is empty, do
          free(direntries) and remove the directory.

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 "2016-03-05">
 
5
<!ENTITY TIMESTAMP "2013-10-26">
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
40
      <holder>Teddy Hogeborn</holder>
44
41
      <holder>Björn Påhlsson</holder>
45
42
    </copyright>
109
106
      <replaceable>FD</replaceable></option></arg>
110
107
      <sbr/>
111
108
      <arg><option>--foreground</option></arg>
112
 
      <sbr/>
113
 
      <arg><option>--no-zeroconf</option></arg>
114
109
    </cmdsynopsis>
115
110
    <cmdsynopsis>
116
111
      <command>&COMMANDNAME;</command>
239
234
        <term><option>--priority <replaceable>
240
235
        PRIORITY</replaceable></option></term>
241
236
        <listitem>
242
 
          <xi:include href="mandos-options.xml" xpointer="priority"/>
 
237
          <xi:include href="mandos-options.xml"
 
238
                      xpointer="priority_compat"/>
243
239
        </listitem>
244
240
      </varlistentry>
245
241
      
327
323
        </listitem>
328
324
      </varlistentry>
329
325
      
330
 
      <varlistentry>
331
 
        <term><option>--no-zeroconf</option></term>
332
 
        <listitem>
333
 
          <xi:include href="mandos-options.xml" xpointer="zeroconf"/>
334
 
        </listitem>
335
 
      </varlistentry>
336
 
      
337
326
    </variablelist>
338
327
  </refsect1>
339
328
  
542
531
        </listitem>
543
532
      </varlistentry>
544
533
      <varlistentry>
 
534
        <term><filename class="devicefile">/dev/log</filename></term>
 
535
      </varlistentry>
 
536
      <varlistentry>
545
537
        <term><filename
546
538
        class="directory">/var/lib/mandos</filename></term>
547
539
        <listitem>
553
545
        </listitem>
554
546
      </varlistentry>
555
547
      <varlistentry>
556
 
        <term><filename class="devicefile">/dev/log</filename></term>
 
548
        <term><filename>/dev/log</filename></term>
557
549
        <listitem>
558
550
          <para>
559
551
            The Unix domain socket to where local syslog messages are
588
580
      This server does not check the expire time of clients’ OpenPGP
589
581
      keys.
590
582
    </para>
591
 
    <xi:include href="bugs.xml"/>
592
583
  </refsect1>
593
584
  
594
585
  <refsect1 id="example">
707
698
      </varlistentry>
708
699
      <varlistentry>
709
700
        <term>
710
 
          <ulink url="http://gnutls.org/">GnuTLS</ulink>
 
701
          <ulink url="http://www.gnu.org/software/gnutls/"
 
702
          >GnuTLS</ulink>
711
703
        </term>
712
704
      <listitem>
713
705
        <para>
751
743
      </varlistentry>
752
744
      <varlistentry>
753
745
        <term>
754
 
          RFC 5246: <citetitle>The Transport Layer Security (TLS)
755
 
          Protocol Version 1.2</citetitle>
 
746
          RFC 4346: <citetitle>The Transport Layer Security (TLS)
 
747
          Protocol Version 1.1</citetitle>
756
748
        </term>
757
749
      <listitem>
758
750
        <para>
759
 
          TLS 1.2 is the protocol implemented by GnuTLS.
 
751
          TLS 1.1 is the protocol implemented by GnuTLS.
760
752
        </para>
761
753
      </listitem>
762
754
      </varlistentry>
772
764
      </varlistentry>
773
765
      <varlistentry>
774
766
        <term>
775
 
          RFC 6091: <citetitle>Using OpenPGP Keys for Transport Layer
776
 
          Security (TLS) Authentication</citetitle>
 
767
          RFC 5081: <citetitle>Using OpenPGP Keys for Transport Layer
 
768
          Security</citetitle>
777
769
        </term>
778
770
      <listitem>
779
771
        <para>