/mandos/release

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

« back to all changes in this revision

Viewing changes to mandos.xml

* mandos (Client.timeout, Client.interval): Changed from being a
                                            property to be a normal
                                            attribute.
  (Client._timeout, Client._interval): Removed.
  (Client._timeout_milliseconds): Changed from being an attribute to
                                  be a method "timeout_milliseconds".
                                  All users changed.
  (Client._interval_milliseconds): Changed from being an attribute to
                                   be method "interval_milliseconds".
                                   All users changed.
  (Client.__init__): Take additional "use_dbus" keyword argument.
                     Only provide D-Bus interface if "use_dbus" is
                     True.
  (Client.use_dbus): New attribute.
  (Client.dbus_object_path): Changed to only be set if "self.use_dbus"
                             is True.
  (Client.enable, Client.disable, Client.checker_callback,
  Client.bump_timeout, Client.start_checker, Client.stop_checker):
  Only emit D-Bus signals if "self.use_dbus".
  (Client.SetChecker, Client.SetHost, Client.Enable): Bug fix: Emit
                                                      D-Bus signals.
  (Client.SetInterval, Client.SetTimeout): Changed to emit D-Bus
                                           signals.

  (main): Remove deprecated "default" keyword argument to "--check"
          option.  Added new "--no-dbus" option.  Added corresponding
          "use_dbus" server configuration option.  Only provide D-Bus
          interface and emit D-Bus signals if "use_dbus".  Pass
          "use_dbus" on to Client constructor.

* mandos-options.xml ([@id="dbus"]): New option.

* mandos.conf (use_dbus): New option.

* mandos.conf.xml (OPTIONS): New option "use_dbus".
  (EXAMPLE): - '' -

* mandos.xml (SYNOPSIS): New option "--no-dbus".
  (D-BUS INTERFACE): New section.

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 "2008-09-30">
 
5
<!ENTITY TIMESTAMP "2008-12-28">
6
6
<!ENTITY % common SYSTEM "common.ent">
7
7
%common;
8
8
]>
84
84
      <replaceable>DIRECTORY</replaceable></option></arg>
85
85
      <sbr/>
86
86
      <arg><option>--debug</option></arg>
 
87
      <sbr/>
 
88
      <arg><option>--no-dbus</option></arg>
87
89
    </cmdsynopsis>
88
90
    <cmdsynopsis>
89
91
      <command>&COMMANDNAME;</command>
228
230
          </para>
229
231
        </listitem>
230
232
      </varlistentry>
 
233
      
 
234
      <varlistentry>
 
235
        <term><option>--no-dbus</option></term>
 
236
        <listitem>
 
237
          <xi:include href="mandos-options.xml" xpointer="dbus"/>
 
238
          <para>
 
239
            See also <xref linkend="dbus"/>.
 
240
        </listitem>
 
241
      </varlistentry>
231
242
    </variablelist>
232
243
  </refsect1>
233
244
  
323
334
    </para>
324
335
  </refsect1>
325
336
  
 
337
  <refsect1 id="dbus">
 
338
    <title>D-BUS INTERFACE</title>
 
339
    <para>
 
340
      The server will by default provide a D-Bus system bus interface.
 
341
      This interface will only be accessible by the root user or a
 
342
      Mandos-specific user, if such a user exists.
 
343
      <!-- XXX -->
 
344
    </para>
 
345
  </refsect1>
 
346
 
326
347
  <refsect1 id="exit_status">
327
348
    <title>EXIT STATUS</title>
328
349
    <para>
351
372
    </variablelist>
352
373
  </refsect1>
353
374
  
354
 
  <refsect1 id="file">
 
375
  <refsect1 id="files">
355
376
    <title>FILES</title>
356
377
    <para>
357
378
      Use the <option>--configdir</option> option to change where
421
442
      Currently, if a client is declared <quote>invalid</quote> due to
422
443
      having timed out, the server does not record this fact onto
423
444
      permanent storage.  This has some security implications, see
424
 
      <xref linkend="CLIENTS"/>.
 
445
      <xref linkend="clients"/>.
425
446
    </para>
426
447
    <para>
427
448
      There is currently no way of querying the server of the current
483
504
  
484
505
  <refsect1 id="security">
485
506
    <title>SECURITY</title>
486
 
    <refsect2 id="SERVER">
 
507
    <refsect2 id="server">
487
508
      <title>SERVER</title>
488
509
      <para>
489
510
        Running this <command>&COMMANDNAME;</command> server program
492
513
        soon after startup.
493
514
      </para>
494
515
    </refsect2>
495
 
    <refsect2 id="CLIENTS">
 
516
    <refsect2 id="clients">
496
517
      <title>CLIENTS</title>
497
518
      <para>
498
519
        The server only gives out its stored data to clients which