/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: 2010-09-12 03:15:54 UTC
  • Revision ID: teddy@fukt.bsnet.se-20100912031554-le622fn5c0hy61ys
* Makefile: Compile and install new "plymouth" plugin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
-*- org -*-
2
2
 
 
3
* Use _attribute_((nonnull)) wherever possible.
 
4
 
 
5
* Release critical
 
6
** TODO Change make-run-server to not include --no-dbus
 
7
** plymouth.8mandos
 
8
 
3
9
* mandos-client
4
 
** TODO [#A] Clean up /tmp directory on signal
 
10
** TODO [#B] use scandir(3) instead of readdir(3)
 
11
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
12
** TODO [#B] Retry a server which has a non-definite reply:
 
13
*** A closed connection during the TLS handshake
 
14
*** A TCP timeout
 
15
** TODO [#B] Use capabilities instead of seteuid().
 
16
** TODO [#A] Retry --connect forever
 
17
 
 
18
* splashy
 
19
** TODO [#B] use scandir(3) instead of readdir(3)
 
20
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
21
 
 
22
* usplash
 
23
** TODO [#A] Make it work again
 
24
** TODO [#B] use scandir(3) instead of readdir(3)
 
25
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
26
** TODO Use [[info:libc:Argz%20Functions][argz_extract]]
 
27
 
 
28
* askpass-fifo
 
29
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
30
** TODO [#B] Drop privileges after opening FIFO.
 
31
 
 
32
* password-prompt
 
33
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
34
** TODO [#B] lock stdin (with flock()?)
 
35
 
 
36
* plymouth
 
37
** TODO Use [[info:libc:Argz%20Functions][argz_extract]]
 
38
 
 
39
* TODO [#B] passdev
5
40
 
6
41
* plugin-runner
7
42
** TODO [#B] use scandir(3) instead of readdir(3)
 
43
** TODO [#C] use same file name rules as run-parts(8)
 
44
** kernel command line option for debug info
 
45
** TODO [#B] Use openat()
8
46
 
9
47
* mandos (server)
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:
 
48
** TODO [#B] Log level                                                    :BUGS:
 
49
** TODO Persistent state                                                  :BUGS:
 
50
   /var/lib/mandos/*
 
51
*** TODO /etc/mandos/clients.d/*.conf
 
52
    Watch this directory and add/remove/update clients?
 
53
** TODO [#C] config for TXT record
 
54
** TODO Log level option
 
55
   syslogger.setLevel(logging.WARNING)
 
56
   + SetLogLevel D-Bus call
 
57
** TODO Implement --foreground                                            :BUGS:
22
58
   [[info:standards:Option%20Table][Table of Long Options]]
23
59
** TODO Implement --socket
24
60
   [[info:standards:Option%20Table][Table of Long Options]]
25
 
** TODO Date+time on console log messages       :BUGS:
 
61
** TODO Date+time on console log messages                                 :BUGS:
26
62
   Is this the default?
27
 
** TODO Split IPv6_TCPServer into a generic and Mandos-specific class
28
 
** TODO move handle_ipc out of IPv6_TCPServer
29
 
** TODO DBusServiceObjectUsingSuper
 
63
** TODO [#C] DBusServiceObjectUsingSuper
 
64
** TODO [#B] Global enable/disable flag
 
65
** TODO [#B] By-client countdown on secrets given
 
66
** TODO [#B] Fix problem with fsck taking a really long time
 
67
   Whenever a client successfully gets a secret it could get a
 
68
   one-time timeout boost to allow for an fsck-incurred delay
 
69
** TODO [#A] Delay before client receives key
 
70
   This would give an operator opportunity to cancel the request if
 
71
   desired.
 
72
** TODO [#A] Client manual approval mode
 
73
   A client needs manual approval on the server before it gets the
 
74
   secret
 
75
** TODO [#B] Support RFC 3339 time duration syntax
 
76
** More D-Bus methods
 
77
*** NeedsApproval(50, True) -> timeout, default approve
 
78
    Default approval is configurable, but True by default
 
79
    + Approve(True) -> approve sending saved
 
80
    + Approve(False) -> Close client connection immediately
 
81
*** NeedsPassword(50) - Timeout, default disapprove
 
82
    + SetPass(u"gazonk", True) -> Approval, persistent
 
83
    + Approve(False) -> Close client connection immediately
 
84
** TODO [#C] python-parsedatetime
 
85
** TODO [#C] systemd/launchd
 
86
   http://0pointer.de/blog/projects/systemd.html
 
87
** TODO Separate logging logic to own object
 
88
** TODO make clients to a dict!
 
89
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
30
90
 
31
91
* mandos.xml
32
 
** [[file:mandos.xml::XXX][Document D-Bus interface]]
33
 
 
34
 
* Provide and install /etc/dbus-1/system.d/mandos.conf
 
92
** Add mandos contact info in manual pages
35
93
 
36
94
* mandos-ctl
37
95
*** Handle "no D-Bus server" and/or "no Mandos server found" better
38
96
*** [#B] --dump option
39
 
 
40
 
* mandos-name
41
 
** D-Bus mail loop w/ signal receiver
42
 
** Urwid/Newt client data displayer
43
 
*** Urwid scaffolding
44
 
*** Client Widgets
 
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
** TODO help should be toggable
 
105
** Urwid client data displayer
 
106
   Better view of client data in the listing
45
107
*** Properties popup
 
108
** Nicer crashes. Stack traces Messes up shell.
 
109
*** Print a nice "We are sorry" message, save stack trace to log.
46
110
 
47
111
* mandos-keygen
48
112
** TODO Loop until passwords match when run interactively
51
115
** TODO [#B] "--test" option
52
116
   For testing decryption before rebooting.
53
117
 
 
118
* Makefile
 
119
** TODO Add "--Xlinker --as-needed"
 
120
   http://udrepper.livejournal.com/19395.html
 
121
** TODO [#C] Implement DEB_BUILD_OPTIONS
 
122
   http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
 
123
 
54
124
* Package
55
125
** /usr/share/initramfs-tools/hooks/mandos
 
126
*** TODO [#C] use same file name rules as run-parts(8)
56
127
*** TODO [#C] Do not install in initrd.img if configured not to.
57
128
    Use "/etc/initramfs-tools/hooksconf.d/mandos"?
58
129
** TODO [#C] /etc/bash_completion.d/mandos
59
130
   From XML sources directly?
60
131
 
 
132
* Side Stuff
 
133
** TODO Locate which packet move the other bin/sh when busy box is deactivated
 
134
** TODO contact owner of packet, and ask them to have that shell static in position regardless of busybox
 
135
 
61
136
 
62
137
#+STARTUP: showall