/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 README

  • Committer: Teddy Hogeborn
  • Date: 2009-04-16 19:16:49 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090416191649-stvuj37ts165w5j2
Code cleanup.  Move some global stuff into main.

* mandos (service, bus): No longer global variables.
  (AvahiService.__init__, ClientDBus.__init__): Take new "bus"
                                                argument.  All callers
                                                changed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
  
50
50
  Now, of course the initial RAM disk image is not on the encrypted
51
51
  root file system, so anyone who had physical access could take the
52
 
  server offline and read the disk with their own tools to get the
53
 
  authentication keys used by a client.  *But*, by then the Mandos
54
 
  server should notice that the original server has been offline for
55
 
  too long, and will no longer give out the encrypted key.  The timing
56
 
  here is the only real weak point, and the method, frequency and
57
 
  timeout of the server’s checking can be adjusted to any desired
58
 
  level of paranoia
 
52
  Mandos client computer offline and read the disk with their own
 
53
  tools to get the authentication keys used by a client.  *But*, by
 
54
  then the Mandos server should notice that the original server has
 
55
  been offline for too long, and will no longer give out the encrypted
 
56
  key.  The timing here is the only real weak point, and the method,
 
57
  frequency and timeout of the server’s checking can be adjusted to
 
58
  any desired level of paranoia
59
59
  
60
60
  (The encrypted keys on the Mandos server is on its normal file
61
61
  system, so those are safe, provided the root file system of *that*
69
69
   to do.  An attacker would have to physically disassemble the client
70
70
   computer, extract the key from the initial RAM disk image, and then
71
71
   connect to a *still online* Mandos server to get the encrypted key,
72
 
   all *before* the Mandos server timeout kicks in and the Mandos
73
 
   server refuses to give out the key to anyone.
 
72
   and do all this *before* the Mandos server timeout kicks in and the
 
73
   Mandos server refuses to give out the key to anyone.
74
74
   
75
 
   Now, as the typical SOP seems to be to barge in and turn off and
76
 
   grab *all* computers, to maybe look at them months later, this is
77
 
   not likely.  If someone does that, the whole system *will* lock
 
75
   Now, as the typical procedure seems to be to barge in and turn off
 
76
   and grab *all* computers, to maybe look at them months later, this
 
77
   is not likely.  If someone does that, the whole system *will* lock
78
78
   itself up completely, since Mandos servers are no longer running.
79
79
   
80
80
   For sophisticated attackers who *could* do the clever thing, *and*
130
130
  on your door and the sudden absence of all the servers in your
131
131
  server room.  Which it does nicely.
132
132
 
 
133
* The Plugin System
 
134
  In the early designs, the mandos-client(8mandos) program (which
 
135
  retrieves a password from the Mandos server) also prompted for a
 
136
  password on the terminal, in case a Mandos server could not be
 
137
  found.  Other ways of retrieving a password could easily be
 
138
  envisoned, but this multiplicity of purpose was seen to be too
 
139
  complex to be a viable way to continue.  Instead, the original
 
140
  program was separated into mandos-client(8mandos) and
 
141
  password-prompt(8mandos), and a plugin-runner(8mandos) exist to run
 
142
  them both in parallel, allowing the first successful plugin to
 
143
  provide the password.  This opened up for any number of additional
 
144
  plugins to run, all competing to be the first to find a password and
 
145
  provide it to the plugin runner.
 
146
  
 
147
  Three additional plugins are provided:
 
148
  * usplash(8mandos)
 
149
    This prompts for a password when using usplash(8).
 
150
  * splashy(8mandos)
 
151
    This prompts for a password when using splashy(8).
 
152
  * askpass-fifo(8mandos)
 
153
    To provide compatibility with the "askpass" program from
 
154
    cryptsetup, this plugin listens to the same FIFO as askpass would
 
155
    do.
 
156
  
 
157
  More plugins can easily be written and added by the system
 
158
  administrator; see the section called "WRITING PLUGINS" in
 
159
  plugin-runner(8mandos) to learn the plugin requirements.
 
160
 
133
161
* Copyright
134
162
 
135
 
    Copyright (C) 2008 Teddy Hogeborn
136
 
                  2008 Björn Påhlsson
137
 
 
 
163
    Copyright © 2008,2009 Teddy Hogeborn
 
164
    Copyright © 2008,2009 Björn Påhlsson
 
165
  
138
166
** License:
139
 
 
 
167
   
140
168
   This program is free software: you can redistribute it and/or
141
169
   modify it under the terms of the GNU General Public License as
142
170
   published by the Free Software Foundation, either version 3 of the