/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: 2016-02-21 12:55:39 UTC
  • Revision ID: teddy@recompile.se-20160221125539-wi1n8ci0ldbdxrar
plugins.d/mandos-client.c (get_flags): Use strncpy(), not strcpy().

* plugins.d/mandos-client.c (get_flags): Use strncpy() instead of
  strcpy().  Note that as the code works currently, this is never a
  problem in practice, since only interface names which were valid
  existing interface names (and therefore had names with lengths below
  IF_NAMESIZE) is ever passed to the get_flags() function.  But it
  doesn't hurt to check, anyway.

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