/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:
2
2
 
3
3
* mandos-client
4
4
** TODO [#B] use scandir(3) instead of readdir(3)
5
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
6
 
** TODO use error() instead of perror()
 
5
** TODO [#B] Prefix all debug output with argv[0]
7
6
** TODO [#B] Retry a server which has a non-definite reply:
8
7
*** A closed connection during the TLS handshake
9
8
*** A TCP timeout
10
9
** TODO [#B] Use capabilities instead of seteuid().
11
 
** TODO [#A] Retry --connect forever
12
10
 
13
11
* splashy
 
12
** TODO [#A] Re-raise signal received when exiting due to handled signal  :test:
14
13
** TODO [#B] use scandir(3) instead of readdir(3)
15
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
16
 
** TODO [#B] use error() instead of perror()
 
14
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
17
15
 
18
16
* usplash
19
 
** TODO [#A] Make it work again
 
17
** TODO [#A] Re-raise signal received when exiting due to handled signal.
20
18
** TODO [#B] use scandir(3) instead of readdir(3)
21
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
22
 
** TODO [#B] use error() instead of perror()
 
19
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
23
20
 
24
21
* askpass-fifo
25
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
26
 
** TODO [#B] use error() instead of perror()
 
22
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
27
23
** TODO [#B] Drop privileges after opening FIFO.
28
24
 
29
25
* password-prompt
30
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
31
 
** TODO [#B] use error() instead of perror()
32
 
** TODO [#B] lock stdin (with flock()?)
33
 
 
34
 
* TODO [#B] passdev
 
26
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
35
27
 
36
28
* plugin-runner
37
29
** TODO [#B] use scandir(3) instead of readdir(3)
38
30
** TODO [#C] use same file name rules as run-parts(8)
39
 
** kernel command line option for debug info
40
 
** TODO [#B] use error() instead of perror()
41
31
 
42
32
* mandos (server)
43
 
** TODO [#B] Log level                                                    :BUGS:
44
 
** TODO Persistent state                                                  :BUGS:
45
 
   /var/lib/mandos/*
46
 
*** TODO /etc/mandos/clients.d/*.conf
47
 
    Watch this directory and add/remove/update clients?
48
 
** TODO [#C] config for TXT record
49
 
** TODO Log level option
50
 
   syslogger.setLevel(logging.WARNING)
51
 
   + SetLogLevel D-Bus call
52
 
** TODO Implement --foreground                                            :BUGS:
 
33
** TODO [#B] Log level                          :BUGS:
 
34
** TODO /etc/mandos/clients.d/*.conf
 
35
   Watch this directory and add/remove/update clients?
 
36
** TODO config for TXT record
 
37
** TODO [#B] Run-time communication with server :BUGS:
 
38
   Probably using D-Bus
 
39
*** Client class
 
40
*** Main server
 
41
    + SetLogLevel
 
42
      syslogger.setLevel(logging.WARNING)
 
43
    + [[http://log.ometer.com/2007-05.html][Best D-Bus practices]]
 
44
** TODO Implement --foreground                  :BUGS:
53
45
   [[info:standards:Option%20Table][Table of Long Options]]
54
46
** TODO Implement --socket
55
47
   [[info:standards:Option%20Table][Table of Long Options]]
56
 
** TODO Date+time on console log messages                                 :BUGS:
 
48
** TODO Date+time on console log messages       :BUGS:
57
49
   Is this the default?
58
 
** TODO [#C] DBusServiceObjectUsingSuper
59
 
** TODO [#B] Global enable/disable flag
60
 
** TODO [#B] By-client countdown on secrets given
61
 
** TODO [#B] Fix problem with fsck taking a really long time
 
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
62
56
   Whenever a client successfully gets a secret it could get a
63
57
   one-time timeout boost to allow for an fsck-incurred delay
64
 
** TODO [#A] Delay before client receives key
65
 
   This would give an operator opportunity to cancel the request if
66
 
   desired.
67
 
** TODO [#A] Client manual approval mode
68
 
   A client needs manual approval on the server before it gets the
69
 
   secret
70
 
** TODO [#B] Support RFC 3339 time duration syntax
71
58
 
72
59
* mandos.xml
73
60
** [[file:mandos.xml::XXX][Document D-Bus interface]]
74
 
   Remove mention of lack of such interface in BUGS section
75
 
** Add mandos contact info in manual pages
76
61
 
77
 
* TODO [#A] Provide and install /etc/dbus-1/system.d/mandos.conf
 
62
* Provide and install /etc/dbus-1/system.d/mandos.conf
78
63
 
79
64
* mandos-ctl
80
65
*** Handle "no D-Bus server" and/or "no Mandos server found" better
81
66
*** [#B] --dump option
82
 
** TODO Support RFC 3339 time duration syntax
83
 
 
84
 
* TODO mandos-dispatch
85
 
  Listens for specified D-Bus signals and spawns shell commands with
86
 
  arguments.
87
 
 
88
 
* mandos-monitor
89
 
** Urwid client data displayer
90
 
   Better view of client data in the listing
 
67
 
 
68
* mandos-name
 
69
** D-Bus mail loop w/ signal receiver
 
70
** Urwid/Newt client data displayer
 
71
*** Urwid scaffolding
 
72
*** Client Widgets
91
73
*** Properties popup
92
74
 
93
75
* mandos-keygen
97
79
** TODO [#B] "--test" option
98
80
   For testing decryption before rebooting.
99
81
 
100
 
* Makefile
101
 
** TODO [#C] Implement DEB_BUILD_OPTIONS
102
 
   http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
103
 
 
104
82
* Package
105
83
** /usr/share/initramfs-tools/hooks/mandos
106
84
*** TODO [#C] use same file name rules as run-parts(8)