/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

The IPC pipes are now file objects, not file descriptors:
* mandos (ClientDBus.CheckedOK): Reorder to group methods, signals and
                                 properties together.
  (ClientHandler.handle,
  ForkingMixInWithPipes.process_request,
  ForkingMixInWithPipes.add_pipe_fds,
  MandosServer.add_pipe_fds): IPC pipes are now file objects, not FDs.
  (MandosServer.handle_ipc): - '' -  Take additional argument "sender"
                             containing the client IPC file object;
                             all callers changed.

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 argv[0]
 
5
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
6
** TODO use error() instead of perror()
6
7
** TODO [#B] Retry a server which has a non-definite reply:
7
8
*** A closed connection during the TLS handshake
8
9
*** A TCP timeout
9
10
** TODO [#B] Use capabilities instead of seteuid().
 
11
** TODO [#A] Retry --connect forever
10
12
 
11
13
* splashy
12
14
** TODO [#B] use scandir(3) instead of readdir(3)
13
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
 
15
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
16
** TODO [#B] use error() instead of perror()
14
17
 
15
18
* usplash
 
19
** TODO [#A] Make it work again
16
20
** TODO [#B] use scandir(3) instead of readdir(3)
17
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
 
21
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
22
** TODO [#B] use error() instead of perror()
18
23
 
19
24
* askpass-fifo
20
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
 
25
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
26
** TODO [#B] use error() instead of perror()
21
27
** TODO [#B] Drop privileges after opening FIFO.
22
28
 
23
29
* password-prompt
24
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
 
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
25
35
 
26
36
* plugin-runner
27
37
** TODO [#B] use scandir(3) instead of readdir(3)
28
38
** 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()
29
41
 
30
42
* mandos (server)
31
 
** TODO [#B] Log level                          :BUGS:
32
 
** TODO /etc/mandos/clients.d/*.conf
33
 
   Watch this directory and add/remove/update clients?
34
 
** TODO config for TXT record
35
 
** TODO [#B] Run-time communication with server :BUGS:
36
 
   Probably using D-Bus
37
 
*** Client class
38
 
*** Main server
39
 
    + SetLogLevel
40
 
      syslogger.setLevel(logging.WARNING)
41
 
    + [[http://log.ometer.com/2007-05.html][Best D-Bus practices]]
42
 
** TODO Implement --foreground                  :BUGS:
 
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:
43
53
   [[info:standards:Option%20Table][Table of Long Options]]
44
54
** TODO Implement --socket
45
55
   [[info:standards:Option%20Table][Table of Long Options]]
46
 
** TODO Date+time on console log messages       :BUGS:
 
56
** TODO Date+time on console log messages                                 :BUGS:
47
57
   Is this the default?
48
 
** TODO DBusServiceObjectUsingSuper
49
 
** Global enable/disable flag
50
 
** By-client countdown on secrets given
51
 
** Fix problem with fsck taking a really long time
 
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
52
62
   Whenever a client successfully gets a secret it could get a
53
63
   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
54
71
 
55
72
* mandos.xml
56
73
** [[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
57
76
 
58
 
* Provide and install /etc/dbus-1/system.d/mandos.conf
 
77
* TODO [#A] Provide and install /etc/dbus-1/system.d/mandos.conf
59
78
 
60
79
* mandos-ctl
61
80
*** Handle "no D-Bus server" and/or "no Mandos server found" better
62
81
*** [#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.
63
87
 
64
88
* mandos-monitor
65
 
** D-Bus mail loop w/ signal receiver
66
 
** Snack/Newt client data displayer
67
 
*** Client Widgets
 
89
** Urwid client data displayer
 
90
   Better view of client data in the listing
68
91
*** Properties popup
69
92
 
70
93
* mandos-keygen
75
98
   For testing decryption before rebooting.
76
99
 
77
100
* Makefile
78
 
** Implement DEB_BUILD_OPTIONS
 
101
** TODO [#C] Implement DEB_BUILD_OPTIONS
79
102
   http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
80
103
 
81
104
* Package