/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-03-27 13:33:17 UTC
  • mfrom: (288.1.2 mandos-pipe-ipc)
  • Revision ID: teddy@fukt.bsnet.se-20090327133317-riwt5s5orrisozuj
Merge from pipe IPC branch.

* mandos (AvahiService.rename, main): Include PID in log messages when
                                      using a different service name.
  (Client.ReceivedSecret, Client.Rejected): New D-Bus signals.
  (TCP_handler.handle): Send IPC to parent process.
  (ForkingMixInWithPipe): New mixin class.
  (IPv6_TCPServer): Inherit from ForkingMixInWithPipe instead of
                    SocketServer.ForkingMixIn.
  (IPv6_TCPServer.handle_ipc): New method.
  (main/mandos_server): Renamed to "mandos_dbus_service" and made
                        global.
  (main/MandosServer): Renamed to "MandosDBusService".
  (main/MandosDBusService.ClientNotFound): New D-Bus signal.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
-*- org -*-
2
2
 
3
3
* mandos-client
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()
7
 
** TODO [#B] Retry a server which has a non-definite reply:
8
 
*** A closed connection during the TLS handshake
9
 
*** A TCP timeout
10
 
** TODO [#B] Use capabilities instead of seteuid().
11
 
** TODO [#A] Retry --connect forever
12
 
 
13
 
* splashy
14
 
** 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()
17
 
 
18
 
* usplash
19
 
** TODO [#A] Make it work again
20
 
** 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()
23
 
 
24
 
* askpass-fifo
25
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
26
 
** TODO [#B] use error() instead of perror()
27
 
** TODO [#B] Drop privileges after opening FIFO.
28
 
 
29
 
* 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
 
4
** TODO [#A] Clean up /tmp directory on signal
35
5
 
36
6
* plugin-runner
37
7
** TODO [#B] use scandir(3) instead of readdir(3)
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()
41
8
 
42
9
* 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:
 
10
** TODO [#B] Log level                          :BUGS:
 
11
** TODO /etc/mandos/clients.d/*.conf
 
12
   Watch this directory and add/remove/update clients?
 
13
** TODO config for TXT record
 
14
** TODO [#B] Run-time communication with server :BUGS:
 
15
   Probably using D-Bus
 
16
*** Client class
 
17
*** Main server
 
18
    + SetLogLevel
 
19
      syslogger.setLevel(logging.WARNING)
 
20
    + [[http://log.ometer.com/2007-05.html][Best D-Bus practices]]
 
21
** TODO Implement --foreground                  :BUGS:
53
22
   [[info:standards:Option%20Table][Table of Long Options]]
54
23
** TODO Implement --socket
55
24
   [[info:standards:Option%20Table][Table of Long Options]]
56
 
** TODO Date+time on console log messages                                 :BUGS:
 
25
** TODO Date+time on console log messages       :BUGS:
57
26
   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
62
 
   Whenever a client successfully gets a secret it could get a
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
71
 
** More D-Bus methods
72
 
*** NeedsApproval(50, True) -> timeout, default approve
73
 
    Default approval is configurable, but True by default
74
 
    + Approval(True) -> approve sending saved
75
 
    + Approval(False) -> Close client connection immediately
76
 
*** NeedsPassword(50) - Timeout, default disapprove
77
 
    + SetPass(u"gazonk", True) -> Approval, persistent
78
 
    + Approval(False) -> Close client connection immediately
 
27
** DBusClient inheriting from Client
 
28
** fingerprint as a member of TCP_handler
 
29
** peer_certificate as a member of TCP_handler
 
30
** TCP_handler needs a better name!
 
31
** move handle_ipc out of IPv6_TCPServer
79
32
 
80
33
* mandos.xml
81
34
** [[file:mandos.xml::XXX][Document D-Bus interface]]
82
 
   Remove mention of lack of such interface in BUGS section
83
 
** Add mandos contact info in manual pages
84
35
 
85
 
* TODO [#A] Provide and install /etc/dbus-1/system.d/mandos.conf
 
36
* Provide and install /etc/dbus-1/system.d/mandos.conf
86
37
 
87
38
* mandos-ctl
88
39
*** Handle "no D-Bus server" and/or "no Mandos server found" better
89
40
*** [#B] --dump option
90
 
** TODO Support RFC 3339 time duration syntax
91
 
 
92
 
* TODO mandos-dispatch
93
 
  Listens for specified D-Bus signals and spawns shell commands with
94
 
  arguments.
95
 
 
96
 
* mandos-monitor
 
41
 
 
42
* mandos-name
 
43
** D-Bus mail loop w/ signal receiver
97
44
** Urwid client data displayer
98
 
   Better view of client data in the listing
 
45
*** Urwid scaffolding
 
46
*** Client Widgets
99
47
*** Properties popup
100
48
 
101
49
* mandos-keygen
105
53
** TODO [#B] "--test" option
106
54
   For testing decryption before rebooting.
107
55
 
108
 
* Makefile
109
 
** TODO [#C] Implement DEB_BUILD_OPTIONS
110
 
   http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
111
 
 
112
56
* Package
113
57
** /usr/share/initramfs-tools/hooks/mandos
114
 
*** TODO [#C] use same file name rules as run-parts(8)
115
58
*** TODO [#C] Do not install in initrd.img if configured not to.
116
59
    Use "/etc/initramfs-tools/hooksconf.d/mandos"?
117
60
** TODO [#C] /etc/bash_completion.d/mandos