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

  • Committer: Teddy Hogeborn
  • Date: 2008-08-02 10:48:24 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080802104824-fx0miwp9o4g9r31e
* plugbasedclient.c (struct process): New fields "eof", "completed",
                                      and "status".
  (handle_sigchld): New function.
  (main): Initialize "dir" to NULL to only closedir() it if necessary.
          Move "process_list" to be a global variable to be accessible
          by "handle_sigchld".  Make "handle_sigchld" handle SIGCHLD.
          Remove redundant check for NULL "dir".  Free "filename" when
          no longer used.  Block SIGCHLD around fork()/exec().
          Restore normal signals in child.  Only loop while running
          processes exist.  Print process buffer when the process is
          done and it has emitted EOF, not when it only emits EOF.
          Remove processes from list which exit non-cleanly.  In
          cleaning up, closedir() if necessary.  Bug fix: set next
          pointer correctly when freeing process list.

* plugins.d/passprompt.c (main): Do not ignore SIGQUIT.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
-*- org -*-
2
 
 
3
 
* mandos-client
4
 
** TODO [#A] Clean up /tmp directory and take down interface on signal
5
 
 
6
 
* plugin-runner
7
 
** TODO [#B] use scandir(3) instead of readdir(3)
8
 
** TODO [#C] use same file name rules as run-parts(8)
9
 
 
10
 
* mandos (server)
11
 
** TODO [#B] Log level                          :BUGS:
12
 
** TODO /etc/mandos/clients.d/*.conf
13
 
   Watch this directory and add/remove/update clients?
14
 
** TODO config for TXT record
15
 
** TODO [#B] Run-time communication with server :BUGS:
16
 
   Probably using D-Bus
17
 
*** Client class
18
 
*** Main server
19
 
    + SetLogLevel
20
 
      syslogger.setLevel(logging.WARNING)
21
 
    + [[http://log.ometer.com/2007-05.html][Best D-Bus practices]]
22
 
** TODO Implement --foreground                  :BUGS:
23
 
   [[info:standards:Option%20Table][Table of Long Options]]
24
 
** TODO Implement --socket
25
 
   [[info:standards:Option%20Table][Table of Long Options]]
26
 
** TODO Date+time on console log messages       :BUGS:
27
 
   Is this the default?
28
 
** TODO Split IPv6_TCPServer into a generic and Mandos-specific class
29
 
** TODO move handle_ipc out of IPv6_TCPServer
30
 
** TODO DBusServiceObjectUsingSuper
31
 
 
32
 
* mandos.xml
33
 
** [[file:mandos.xml::XXX][Document D-Bus interface]]
34
 
 
35
 
* Provide and install /etc/dbus-1/system.d/mandos.conf
36
 
 
37
 
* mandos-ctl
38
 
*** Handle "no D-Bus server" and/or "no Mandos server found" better
39
 
*** [#B] --dump option
40
 
 
41
 
* mandos-name
42
 
** D-Bus mail loop w/ signal receiver
43
 
** Urwid/Newt client data displayer
44
 
*** Urwid scaffolding
45
 
*** Client Widgets
46
 
*** Properties popup
47
 
 
48
 
* mandos-keygen
49
 
** TODO Loop until passwords match when run interactively
50
 
** TODO "--secfile" option
51
 
   Using the "secfile" option instead of "secret"
52
 
** TODO [#B] "--test" option
53
 
   For testing decryption before rebooting.
54
 
 
55
 
* Package
56
 
** /usr/share/initramfs-tools/hooks/mandos
57
 
*** TODO [#C] use same file name rules as run-parts(8)
58
 
*** TODO [#C] Do not install in initrd.img if configured not to.
59
 
    Use "/etc/initramfs-tools/hooksconf.d/mandos"?
60
 
** TODO [#C] /etc/bash_completion.d/mandos
61
 
   From XML sources directly?
62
 
 
63
 
 
64
 
#+STARTUP: showall
 
1
[Mandos client]
 
2
configuration for OpenPGP key dir
 
3
header files/symbols tally
 
4
check exit codes of all system calls
 
5
IPv4 support
 
6
protocol version header
 
7
use strsep instead of strtok?
 
8
 
 
9
[Pluginbasedclient]
 
10
header files/symbols tally
 
11
check exit codes of all system calls
 
12
change uid to nobody:nogroup
 
13
        other drop privs stuff?
 
14
pass things in environment, like device name, etc
 
15
        Does cryptsetup already do this?
 
16
use strsep instead of strtok?
 
17
 
 
18
[Server]
 
19
config for:
 
20
        TXT record
 
21
protocol version header
 
22
Run-time communication with server
 
23
        probably using D-Bus
 
24
 
 
25
[Mandos-tools/utilities]
 
26
        List clients
 
27
        Enable client
 
28
        Disable client
 
29
 
 
30
[Installer]
 
31
...