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

  • Committer: Teddy Hogeborn
  • Date: 2009-02-09 02:01:13 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090209020113-726hq380zvp8zt97
Four new interrelated features:

1. Support using a different network interface via both initramfs.conf
   (the DEVICE setting) and the kernel command line (sixth field of
   the "ip=" option as in Linux' Documentation/nfsroot.txt).

2. Support connecting to a specified Mandos server directly using a
   kernel command line option ("mandos=connect:<ADDRESS>:<PORT>").

3. Support connecting directly to an IPv4 address (and port) using the
   "--connect" option of mandos-client.

4. Support an empty string to the --interface option to mandos-client.

* Makefile (WARN): Increase strictness by changing to
                   "-Wstrict-aliasing=1".

* debian/mandos-client.README.Debian (Use the Correct Network
  Interface): Changed to refer to initramfs.conf and nfsroot.txt.
  (Test the Server): Improve wording.
  (Non-local Connection): New section.
* initramfs-tools-script: Obey DEVICE environment variable and setting
                          from "/conf/initramfs.conf".  Also let any
                          "ip=" kernel command line option override
                          it.  Support new "mandos=connect" option.
                          Call "configure_networking" to set up IP
                          address on interface if necessary.
* plugin-runner.conf: Change example.
* plugins.d/mandos-client.c: Some whitespace and comment changes.
  (start_mandos_communication): Take an additional argument for
                                address family, all callers changed.
                                Connect to an IPv4 address if address
                                family is AF_INET.  Only set IPv6
                                scope_id for link-local addresses.
  (main): Accept empty interface name; this will not bring up any
         interface and leave the interface as unspecified.  Also do
         not restore kernel log level if lowering it failed.
* plugins.d/mandos-client.xml (OPTIONS): Document that the
                                         "--interface" option accepts
                                         an empty string.
  (EXAMPLE): Change example IPv6 address to a link-local address.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
-*- org -*-
2
2
 
3
 
* [#A] README file
 
3
* mandos-client
 
4
** TODO [#A] Clean up /tmp directory on signal
 
5
** TODO [#C] IPv4 support
4
6
 
5
7
* plugin-runner
6
 
** [#B] Add more comments to code
7
 
** [#B] Add more if(debug) calls
8
 
** [#B] Seperate more code to function for more readability
9
 
 
10
 
* password-request
11
 
** [#B] Temporarily lower kernel log level
12
 
   for less printouts during sucessfull boot.
13
 
** IPv4 support
14
 
** use strsep instead of strtok?
15
 
** Do not depend on GnuPG key rings on disk
16
 
   This would mean creating new GnuPG key rings with GPGME by
17
 
   importing the key files from scratch on every program start.
18
 
** Keydir move: /etc/mandos -> /etc/keys/mandos
19
 
   Must create in preinst if not pre-depending on cryptsetup
20
 
 
21
 
* password-prompt
22
 
** [#C] Use getpass(3)?
23
 
   Man page says "obsolete", but [[info:libc:getpass][GNU LibC Manual: Reading Passwords]]
24
 
   does not.  See also [[http://sources.redhat.com/ml/libc-alpha/2003-05/msg00251.html][Marcus Brinkmann: Re: getpass obsolete?]] and
25
 
   [[http://article.gmane.org/gmane.comp.lib.glibc.alpha/4906][Petter Reinholdtsen: Re: getpass obsolete?]], and especially also
26
 
   [[http://www.steve.org.uk/Reference/Unix/faq_4.html#SEC48][Unix Programming FAQ 3.1 How can I make my program not echo input?]]
 
8
** TODO [#B] use scandir(3) instead of readdir(3)
27
9
 
28
10
* mandos (server)
29
 
** [#A] /etc/init.d/mandos-server               :teddy:
30
 
** [#B] Log level                               :bugs:
31
 
** /etc/mandos/clients.d/*.conf
 
11
** TODO [#B] Log level                          :bugs:
 
12
** TODO /etc/mandos/clients.d/*.conf
32
13
   Watch this directory and add/remove/update clients?
33
 
** config for TXT record
34
 
** [#B] Run-time communication with server      :bugs:
 
14
** TODO config for TXT record
 
15
** TODO [#B] Run-time communication with server :bugs:
35
16
   Probably using D-Bus
36
17
   See also [[*Mandos-tools]]
37
 
** Implement --foreground                       :bugs:
38
 
   [[info:standards:Option%20Table][Table of Long Options]]
39
 
** Implement --socket
40
 
   [[info:standards:Option%20Table][Table of Long Options]]
41
 
** Date+time on console log messages            :bugs:
 
18
*** Client class
 
19
*** Main server
 
20
    + SetLogLevel
 
21
      syslogger.setLevel(logging.WARNING)
 
22
    + Quit
 
23
    + [[http://log.ometer.com/2007-05.html][Best D-Bus practices]]
 
24
** TODO Implement --foreground                  :bugs:
 
25
   [[info:standards:Option%20Table][Table of Long Options]]
 
26
** TODO Implement --socket
 
27
   [[info:standards:Option%20Table][Table of Long Options]]
 
28
** TODO Date+time on console log messages       :bugs:
42
29
   Is this the default?
43
 
 
44
 
* Mandos-tools/utilities
45
 
  All of this probably using D-Bus
46
 
** List clients
47
 
** Disable client
48
 
** Enable client
49
 
 
50
 
* Man pages
51
 
** Use xinclude for common sections
52
 
   Like authors, etc.
53
 
 
54
 
 
55
 
* Installer
56
 
** Client-side
57
 
*** Update initrd.img after installation
58
 
    This seems to use some kind of "trigger" system
59
 
    [[file:/usr/share/doc/dpkg/triggers.txt.gz]]
60
 
    dpkg-trigger(1), deb-triggers(5)
61
 
*** Keydir move: /etc/mandos -> /etc/keys/mandos
62
 
    Must create in preinst if not pre-depending on cryptsetup
63
 
*** mandos-keygen
64
 
**** "--passfile" option
65
 
     Using the "secfile" option instead of "secret"
66
 
**** [#A] "--test" option
67
 
     For testing decryption before rebooting.
68
 
** Server-side
69
 
*** [#A] Create mandos user and group for server
70
 
*** [#A] Create /var/run/mandos directory with perm and ownership
71
 
 
72
 
* [#A] Package
 
30
** TODO delete hook when clients fall out by timeout
 
31
   This will not be strictly necessary when the D-Bus interface is
 
32
   implemented.
 
33
 
 
34
* mandos.xml
 
35
** [[file:mandos.xml::XXX][Document D-Bus interface]]
 
36
 
 
37
* Provide and install /etc/dbus-1/system.d/mandos.conf
 
38
 
 
39
* mandos-list
 
40
*** Handle "no D-Bus server" and/or "no Mandos server found" better
 
41
*** [#B] --dump option
 
42
 
 
43
* Curses interface
 
44
 
 
45
* mandos-keygen
 
46
** TODO Loop until passwords match when run interactively
 
47
** TODO "--secfile" option
 
48
   Using the "secfile" option instead of "secret"
 
49
** TODO [#B] "--test" option
 
50
   For testing decryption before rebooting.
 
51
 
 
52
* Package
73
53
** /usr/share/initramfs-tools/hooks/mandos
74
 
*** Do not install in initrd.img if configured not to.
 
54
*** TODO [#C] Do not install in initrd.img if configured not to.
75
55
    Use "/etc/initramfs-tools/conf.d/mandos"?  Definitely a debconf
76
56
    question.
77
 
** /etc/bash_completion.d/mandos
 
57
** TODO [#C] /etc/bash_completion.d/mandos
78
58
   From XML sources directly?
79
 
** unperish
80
 
** bzr-builddeb
81
 
 
82
 
* INSTALL file
83
 
 
84
 
* Web site
85
 
 
86
 
* Mailing list
87
 
 
88
 
* Announce project on news
89
 
  [[news:comp.os.linux.announce]]
90
59
 
91
60
 
92
61
#+STARTUP: showall