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

  • Committer: Teddy Hogeborn
  • Date: 2008-08-24 06:17:02 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080824061702-zxrru4r1vxmx4tuq
* Makefile (PREFIX, CONFDIR, MANDIR): Use $(DESTDIR).
  (install-server, install-client): Use "install --directory" instead
                                    of mkdir.

* mandos-keygen: New options --subtype and --sublength.
  (trap): Added semicolons and backslashes.
  (gpg): Added "--enable-dsa2" to all invocations.

* mandos-keygen.xml: Changed single quotes to double quotes for
                     consistency.
  (/refentry/refentryinfo/copyright) Split copyright holders.
  (SYNOPSIS): Added "--subtype", "--sublength", "-s", and "-L".
  (OPTIONS): Document the subtype and sublength options.
  (SECURITY): Also note the "--subtype" and "--sublength" options.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
-*- org -*-
2
 
 
3
 
* Prerequisites
4
 
  
5
 
** Operating System
6
 
   
7
 
   Debian 5.0 "lenny" or Ubuntu 8.04 "Hardy Heron".
8
 
   
9
 
   This is mostly for scripts to make sure that the client is
10
 
   installed and started in the initial RAM disk environment and that
11
 
   the initrd.img file is automatically made unreadable.  The programs
12
 
   themselves *could* be run in other distributions, but they *are*
13
 
   specific to GNU/Linux systems, and not intended to be portable to
14
 
   other Unix systems.
15
 
  
16
 
** Libraries
17
 
   
18
 
   The following libraries and packages are needed.  (It is possible
19
 
   that it might work with older versions of some of these, but these
20
 
   versions are confirmed to work.  Newer versions are almost
21
 
   certainly OK.)
22
 
   
23
 
*** Documentation
24
 
    These are required to build the manual pages for both the server
25
 
    and client:
26
 
    
27
 
    + DocBook 4.5         http://www.docbook.org/
28
 
    + DocBook XSL stylesheets 1.71.0
29
 
                   http://wiki.docbook.org/topic/DocBookXslStylesheets
30
 
    
31
 
    Package names:
32
 
    docbook docbook-xsl
33
 
   
34
 
*** Mandos Server
35
 
    + GnuTLS 2.4          http://www.gnu.org/software/gnutls/
36
 
    + Avahi 0.6.16        http://www.avahi.org/
37
 
    + Python 2.4          http://www.python.org/
38
 
    + Python-GnuTLS 1.1.5 http://pypi.python.org/pypi/python-gnutls/
39
 
    + dbus-python 0.82.4  http://dbus.freedesktop.org/doc/dbus-python/
40
 
    + python-ctypes 1.0.0 http://pypi.python.org/pypi/ctypes
41
 
    
42
 
    Strongly recommended:
43
 
    + fping 2.4b2-to-ipv6 http://www.fping.com/
44
 
    
45
 
    Package names:
46
 
    python-gnutls avahi-daemon python2.5 python-avahi python-dbus
47
 
    python-ctypes
48
 
   
49
 
*** Mandos Client
50
 
    + initramfs-tools 0.85i
51
 
                  http://packages.qa.debian.org/i/initramfs-tools.html
52
 
    + GnuTLS 2.4          http://www.gnu.org/software/gnutls/
53
 
    + Avahi 0.6.16        http://www.avahi.org/
54
 
    + GnuPG 1.4.9         http://www.gnupg.org/
55
 
    + GPGME 1.1.6         http://www.gnupg.org/related_software/gpgme/
56
 
    
57
 
    Package names:
58
 
    initramfs-tools libgnutls-dev libavahi-core-dev gnupg
59
 
    libgpgme11-dev
60
 
 
61
 
* Installing the Mandos server
62
 
  
63
 
  1. Do "make doc".
64
 
  
65
 
  2. On the computer to run as a Mandos server, run the following
66
 
     command: "sudo make install-server".
67
 
    
68
 
     (This creates a configuration without any clients configured; we
69
 
     need an actually configured client to do that; see below.)
70
 
 
71
 
* Installing the Mandos client.
72
 
  
73
 
  1. Do "make all doc".
74
 
  
75
 
  2. On the computer to run as a Mandos client, run the following
76
 
     command: "sudo make install-client".  This will also create an
77
 
     OpenPGP key, which will take some time and entropy, so either
78
 
     wait patiently or frob your mouse until it's done.
79
 
  
80
 
  3. Run "mandos-keygen --password".  When prompted, enter the
81
 
     password/passphrase for the encrypted root file system on this
82
 
     client computer.  It will output a section of text, starting with
83
 
     a [section header].  Copy and paste this into the file
84
 
     "/etc/mandos/clients.conf" *on the server computer*.
85
 
  
86
 
  4. On the server computer, start the server by running the command
87
 
     "invoke-rc.d mandos start".
88
 
 
89
 
* Further customizations
90
 
  
91
 
  You may want to tighten or loosen the timeouts in the server
92
 
  configuration files; see mandos.conf(5) and mandos-clients.conf(5).
93
 
  Is IPsec is not used, it is suggested that a more cryptographically
94
 
  secure checker program is used and configured, since without IPsec
95
 
  ping packets can be faked.