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