/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-04 16:32:22 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090904163222-l9wp25ng1e5ym0yq
* plugin-runner.c (main): When a plugin is killed by a signal, show
                          the signal name, not just the number, in the
                          debug log message.

* plugins.d/password-prompt.c (termination_handler): Store received
                                                     signal in
                                                     "signal_received".
  (main): If exiting due to signal, re-raise signal received instead
          of returning.

Show diffs side-by-side

added added

removed removed

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