/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-monitor.xml

  • Committer: Teddy Hogeborn
  • Date: 2008-07-29 03:35:39 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080729033539-08zecoj3jwlkpjhw
* server.conf: New file.

* mandos-clients.conf: Renamed to clients.conf.

* Makefile (FORTIFY): New.
  (CFLAGS): Include $(FORTIFY).

* plugins.d/mandosclient.c (main): New "if_index" variable.  Bug fix:
                                   check if interface exists.  New
                                   "--connect" option.

* server.py (serviceInterface): Removed; replaced by
                                "AvahiService.interface".  All users
                                changed.
  (AvahiError, AvahiServiceError, AvahiGroupError): New exception
                                                    classes.
  (AvahiService): New class.
  (serviceName): Removed; replaced by "AvahiService.name".  All users
                 changed.
  (serviceType): Removed; replaced by "AvahiService.type".  All users
                 changed.
  (servicePort): Removed; replaced by "AvahiService.port".  All users
                 changed.
  (serviceTXT): Removed; replaced by "AvahiService.TXT".  All users
                changed.
  (domain): Removed; replaced by "AvahiService.domain".  All users
            changed.
  (host): Removed; replaced by "AvahiService.host".  All users
          changed.
  (rename_count): Removed; replaced by "AvahiService.rename_count" and
                 "AvahiService.max_renames".  All users changed.
  (Client.__init__): If no secret or secfile, raise TypeError instead
                     of RuntimeError.
  (Client.last_seen): Renamed to "Client.last_checked_ok".  All users
                      changed.
  (Client.stop, Client.stop_checker): Use "getattr" with default value
                                      instead of "hasattr".
  (Client.still_valid): Removed "now" argument.
  (Client.handle): Separate the "no client found" and "client invalid"
                   cases for clearer code.
  (IPv6_TCPServer.__init__): "options" argument replaced by
                             "settings".  All callers changed.
  (IPv6_TCPServer.options): Replaced by "IPv6_TCPServer.settings".
                            All users changed.
  (IPv6_TCPServer.server_bind): Use getattr instead of hasattr.
  (add_service): Removed; replaced by "AvahiService.add".  All callers
                 changed.
  (remove_service): Removed; replaced by "AvahiService.remove".  All
                    callers changed.
  (entry_group_state_changed): On entry group collision, call the new
                               AvahiService.rename method.  Raise
                               AvahiGroupError on group error.
  (if_nametoindex): Use ctypes.utils.find_library to locate the C
                    library.  Cache the result.  Loop on EINTR.
  (daemon): Use os.path.devnull to locate "/dev/null".
  (killme): Removed.  All callers changed to do "sys.exit()" instead,
            except where stated otherwise.
  (main): Removed "exitstatus".  Removed all default values from all
          non-bool options.  New option "--configdir".  New variables
          "server_defaults" and "server_settings", read from
          "%(configdir)s/server.conf".  Let any supplied command line
          options override server settings.   Variable "defaults"
          renamed to "client_defaults", which is read from
          "clients.conf" instead of "mandos-clients.conf".  New global
          AvahiService object "service" replaces old global variables.
          Catch AvahiError and exit with error if caught.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="UTF-8"?>
2
 
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3
 
        "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4
 
<!ENTITY COMMANDNAME "mandos-monitor">
5
 
<!ENTITY TIMESTAMP "2016-03-05">
6
 
<!ENTITY % common SYSTEM "common.ent">
7
 
%common;
8
 
]>
9
 
 
10
 
<refentry xmlns:xi="http://www.w3.org/2001/XInclude">
11
 
  <refentryinfo>
12
 
    <title>Mandos Manual</title>
13
 
    <!-- NWalsh’s docbook scripts use this to generate the footer: -->
14
 
    <productname>Mandos</productname>
15
 
    <productnumber>&version;</productnumber>
16
 
    <date>&TIMESTAMP;</date>
17
 
    <authorgroup>
18
 
      <author>
19
 
        <firstname>Björn</firstname>
20
 
        <surname>Påhlsson</surname>
21
 
        <address>
22
 
          <email>belorn@recompile.se</email>
23
 
        </address>
24
 
      </author>
25
 
      <author>
26
 
        <firstname>Teddy</firstname>
27
 
        <surname>Hogeborn</surname>
28
 
        <address>
29
 
          <email>teddy@recompile.se</email>
30
 
        </address>
31
 
      </author>
32
 
    </authorgroup>
33
 
    <copyright>
34
 
      <year>2010</year>
35
 
      <year>2011</year>
36
 
      <year>2012</year>
37
 
      <year>2013</year>
38
 
      <year>2014</year>
39
 
      <year>2015</year>
40
 
      <year>2016</year>
41
 
      <holder>Teddy Hogeborn</holder>
42
 
      <holder>Björn Påhlsson</holder>
43
 
    </copyright>
44
 
    <xi:include href="legalnotice.xml"/>
45
 
  </refentryinfo>
46
 
  
47
 
  <refmeta>
48
 
    <refentrytitle>&COMMANDNAME;</refentrytitle>
49
 
    <manvolnum>8</manvolnum>
50
 
  </refmeta>
51
 
  
52
 
  <refnamediv>
53
 
    <refname><command>&COMMANDNAME;</command></refname>
54
 
    <refpurpose>
55
 
      Text-based GUI to control the Mandos server.
56
 
    </refpurpose>
57
 
  </refnamediv>
58
 
  
59
 
  <refsynopsisdiv>
60
 
    <cmdsynopsis>
61
 
      <command>&COMMANDNAME;</command>
62
 
    </cmdsynopsis>
63
 
  </refsynopsisdiv>
64
 
  
65
 
  <refsect1 id="description">
66
 
    <title>DESCRIPTION</title>
67
 
    <para>
68
 
      <command>&COMMANDNAME;</command> is an interactive program to
69
 
      monitor and control the operations of the Mandos server (see
70
 
      <citerefentry><refentrytitle>mandos</refentrytitle><manvolnum
71
 
      >8</manvolnum></citerefentry>).
72
 
    </para>
73
 
  </refsect1>
74
 
  
75
 
  <refsect1 id="purpose">
76
 
    <title>PURPOSE</title>
77
 
    <para>
78
 
      The purpose of this is to enable <emphasis>remote and unattended
79
 
      rebooting</emphasis> of client host computer with an
80
 
      <emphasis>encrypted root file system</emphasis>.  See <xref
81
 
      linkend="overview"/> for details.
82
 
    </para>
83
 
  </refsect1>
84
 
  
85
 
  <refsect1 id="overview">
86
 
    <title>OVERVIEW</title>
87
 
    <xi:include href="overview.xml"/>
88
 
    <para>
89
 
      This program is used to monitor and control the Mandos server.
90
 
      In particular, it can be used to approve Mandos clients which
91
 
      have been configured to require approval.  It also shows all
92
 
      significant events reported by the Mandos server.
93
 
    </para>
94
 
  </refsect1>
95
 
  
96
 
  <refsect1 id="keys">
97
 
    <title>KEYS</title>
98
 
    <para>
99
 
      This program is used to monitor and control the Mandos server.
100
 
      In particular, it can be used to approve Mandos clients which
101
 
      have been configured to require approval.  It also shows all
102
 
      significant events reported by the Mandos server.
103
 
    </para>
104
 
    <table>
105
 
      <title>Global Keys</title><tgroup cols="2"><thead>
106
 
      <row>
107
 
        <entry>Keys</entry>
108
 
        <entry>Function</entry>
109
 
      </row>
110
 
      </thead><tbody>
111
 
      <row>
112
 
        <entry>q, Q</entry>
113
 
        <entry>Quit</entry>
114
 
      </row>
115
 
      <row>
116
 
        <entry>Ctrl-L</entry>
117
 
        <entry>Redraw screen</entry>
118
 
      </row>
119
 
      <row>
120
 
        <entry>?, F1</entry>
121
 
        <entry>Show help</entry>
122
 
      </row>
123
 
      <row>
124
 
        <entry>l, D</entry>
125
 
        <entry>Toggle log window</entry>
126
 
      </row>
127
 
      <row>
128
 
        <entry>TAB</entry>
129
 
        <entry>Switch window</entry>
130
 
      </row>
131
 
      <row>
132
 
        <entry>w, i</entry>
133
 
        <entry>Toggle log window line wrap</entry>
134
 
      </row>
135
 
      <row>
136
 
        <entry>v</entry>
137
 
        <entry>Toggle verbose logging</entry>
138
 
      </row>
139
 
      <row>
140
 
        <entry>Up, Ctrl-P, k</entry>
141
 
        <entry>Move up a line</entry>
142
 
      </row>
143
 
      <row>
144
 
        <entry>Down, Ctrl-N, j</entry>
145
 
        <entry>Move down a line</entry>
146
 
      </row>
147
 
      <row>
148
 
        <entry>PageUp, Meta-V, b</entry>
149
 
        <entry>Move up a page</entry>
150
 
      </row>
151
 
      <row>
152
 
        <entry>PageDown, Ctrl-V, SPACE, f</entry>
153
 
        <entry>Move down a page</entry>
154
 
      </row>
155
 
    </tbody></tgroup></table>
156
 
    <table>
157
 
      <title>Client List Keys</title><tgroup cols="2"><thead>
158
 
      <row>
159
 
        <entry>Keys</entry>
160
 
        <entry>Function</entry>
161
 
      </row>
162
 
      </thead><tbody>
163
 
      <row>
164
 
        <entry>+</entry>
165
 
        <entry>Enable client</entry>
166
 
      </row>
167
 
      <row>
168
 
        <entry>-</entry>
169
 
        <entry>Disable client</entry>
170
 
      </row>
171
 
      <row>
172
 
        <entry>a</entry>
173
 
        <entry>Approve client</entry>
174
 
      </row>
175
 
      <row>
176
 
        <entry>d</entry>
177
 
        <entry>Deny client</entry>
178
 
      </row>
179
 
      <row>
180
 
        <entry>R, _, Ctrl-K</entry>
181
 
        <entry>Remove client</entry>
182
 
      </row>
183
 
      <row>
184
 
        <entry>s</entry>
185
 
        <entry>Start checker for client</entry>
186
 
      </row>
187
 
      <row>
188
 
        <entry>S</entry>
189
 
        <entry>Stop checker for client</entry>
190
 
      </row>
191
 
      <row>
192
 
        <entry>C</entry>
193
 
        <entry>Force a successful check for this client.</entry>
194
 
      </row>
195
 
    </tbody></tgroup></table>
196
 
  </refsect1>
197
 
  
198
 
  <refsect1 id="bugs">
199
 
    <title>BUGS</title>
200
 
    <para>
201
 
      This program can currently only be used to monitor and control a
202
 
      Mandos server with the default D-Bus bus name of
203
 
      <quote>se.recompile.Mandos</quote>.
204
 
    </para>
205
 
    <xi:include href="bugs.xml"/>
206
 
  </refsect1>
207
 
  
208
 
  <refsect1 id="example">
209
 
    <title>EXAMPLE</title>
210
 
    <informalexample>
211
 
      <para>
212
 
        This program takes no options:
213
 
      </para>
214
 
      <para>
215
 
        <userinput>&COMMANDNAME;</userinput>
216
 
      </para>
217
 
    </informalexample>
218
 
  </refsect1>
219
 
  
220
 
  <refsect1 id="security">
221
 
    <title>SECURITY</title>
222
 
    <para>
223
 
      This program must be permitted to access the Mandos server via
224
 
      the D-Bus interface.  This normally requires the root user, but
225
 
      could be configured otherwise by reconfiguring the D-Bus server.
226
 
    </para>
227
 
  </refsect1>
228
 
  
229
 
  <refsect1 id="see_also">
230
 
    <title>SEE ALSO</title>
231
 
    <para>
232
 
      <citerefentry><refentrytitle>intro</refentrytitle>
233
 
      <manvolnum>8mandos</manvolnum></citerefentry>,
234
 
      <citerefentry><refentrytitle>mandos</refentrytitle>
235
 
      <manvolnum>8</manvolnum></citerefentry>,
236
 
      <citerefentry><refentrytitle>mandos-ctl</refentrytitle>
237
 
      <manvolnum>8</manvolnum></citerefentry>
238
 
    </para>
239
 
  </refsect1>
240
 
  
241
 
</refentry>
242
 
<!-- Local Variables: -->
243
 
<!-- time-stamp-start: "<!ENTITY TIMESTAMP [\"']" -->
244
 
<!-- time-stamp-end: "[\"']>" -->
245
 
<!-- time-stamp-format: "%:y-%02m-%02d" -->
246
 
<!-- End: -->