/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-09-10 17:21:36 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090910172136-plhvv6jjz8bjrhz4
* plugins.d/mandos-client.c (init_gnutls_session): Retry interrupted
                                                   GnuTLS functions.
  (main): Drop privileges early, and raise them only where needed and
          lower them whenever possible.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
-*- org -*-
2
2
 
3
3
* mandos-client
4
 
** TODO [#B] Temporarily lower kernel log level
5
 
   for less printouts during sucessfull boot.
6
 
   klogctl(6, NULL, 0); klogctl(7, NULL, 0);
7
 
** TODO [#C] IPv4 support
 
4
** TODO [#B] use scandir(3) instead of readdir(3)
 
5
** TODO [#B] Prefix all debug output with argv[0]
 
6
** TODO [#B] Retry a server which has a non-definite reply:
 
7
*** A closed connection during the TLS handshake
 
8
*** A TCP timeout
 
9
** TODO [#B] Use capabilities instead of seteuid().
 
10
 
 
11
* splashy
 
12
** TODO [#A] Re-raise signal received when exiting due to handled signal  :test:
 
13
** TODO [#B] use scandir(3) instead of readdir(3)
 
14
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
 
15
 
 
16
* usplash
 
17
** TODO [#A] Re-raise signal received when exiting due to handled signal.
 
18
** TODO [#B] use scandir(3) instead of readdir(3)
 
19
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
 
20
 
 
21
* askpass-fifo
 
22
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
 
23
** TODO [#B] Drop privileges after opening FIFO.
 
24
 
 
25
* password-prompt
 
26
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
 
27
 
 
28
* plugin-runner
 
29
** TODO [#B] use scandir(3) instead of readdir(3)
 
30
** TODO [#C] use same file name rules as run-parts(8)
8
31
 
9
32
* mandos (server)
10
 
** TODO [#B] Log level                          :bugs:
 
33
** TODO [#B] Log level                          :BUGS:
11
34
** TODO /etc/mandos/clients.d/*.conf
12
35
   Watch this directory and add/remove/update clients?
13
36
** TODO config for TXT record
14
 
** TODO [#B] Run-time communication with server :bugs:
 
37
** TODO [#B] Run-time communication with server :BUGS:
15
38
   Probably using D-Bus
16
 
   See also [[*Mandos-tools]]
17
39
*** Client class
18
40
*** Main server
19
41
    + SetLogLevel
20
42
      syslogger.setLevel(logging.WARNING)
21
 
    + Quit
22
43
    + [[http://log.ometer.com/2007-05.html][Best D-Bus practices]]
23
 
** TODO Implement --foreground                  :bugs:
 
44
** TODO Implement --foreground                  :BUGS:
24
45
   [[info:standards:Option%20Table][Table of Long Options]]
25
46
** TODO Implement --socket
26
47
   [[info:standards:Option%20Table][Table of Long Options]]
27
 
** TODO Date+time on console log messages       :bugs:
 
48
** TODO Date+time on console log messages       :BUGS:
28
49
   Is this the default?
29
 
** TODO delete hook when clients fall out by timeout
30
 
   This will not be strictly necessary when the D-Bus interface is
31
 
   implemented.
32
 
 
33
 
* Mandos-tools/utilities
34
 
  All of this probably using D-Bus
35
 
** TODO List clients
36
 
** TODO Disable client
37
 
** TODO Enable client
38
 
** TODO Reset timer
 
50
** TODO Split IPv6_TCPServer into a generic and Mandos-specific class
 
51
** TODO move handle_ipc out of IPv6_TCPServer
 
52
** TODO DBusServiceObjectUsingSuper
 
53
** Global enable/disable flag
 
54
** By-client countdown on secrets given
 
55
** Fix problem with fsck taking a really long time
 
56
   Whenever a client successfully gets a secret it could get a
 
57
   one-time timeout boost to allow for an fsck-incurred delay
 
58
 
 
59
* mandos.xml
 
60
** [[file:mandos.xml::XXX][Document D-Bus interface]]
 
61
 
 
62
* Provide and install /etc/dbus-1/system.d/mandos.conf
 
63
 
 
64
* mandos-ctl
 
65
*** Handle "no D-Bus server" and/or "no Mandos server found" better
 
66
*** [#B] --dump option
 
67
 
 
68
* mandos-name
 
69
** D-Bus mail loop w/ signal receiver
 
70
** Urwid/Newt client data displayer
 
71
*** Urwid scaffolding
 
72
*** Client Widgets
 
73
*** Properties popup
39
74
 
40
75
* mandos-keygen
 
76
** TODO Loop until passwords match when run interactively
41
77
** TODO "--secfile" option
42
78
   Using the "secfile" option instead of "secret"
43
79
** TODO [#B] "--test" option
44
80
   For testing decryption before rebooting.
45
81
 
46
 
* [#A] Package
 
82
* Package
47
83
** /usr/share/initramfs-tools/hooks/mandos
48
 
*** TODO Do not install in initrd.img if configured not to.
49
 
    Use "/etc/initramfs-tools/conf.d/mandos"?  Definitely a debconf
50
 
    question.
51
 
** TODO /etc/bash_completion.d/mandos
 
84
*** TODO [#C] use same file name rules as run-parts(8)
 
85
*** TODO [#C] Do not install in initrd.img if configured not to.
 
86
    Use "/etc/initramfs-tools/hooksconf.d/mandos"?
 
87
** TODO [#C] /etc/bash_completion.d/mandos
52
88
   From XML sources directly?
53
89
 
54
90