/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-10-26 21:16:16 UTC
  • Revision ID: teddy@fukt.bsnet.se-20091026211616-38e9wynf4428ip2l
Merge from release branch.

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