/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-18 08:47:40 UTC
  • Revision ID: teddy@fukt.bsnet.se-20091018084740-fa1qgm22lg125r10
* plugins.d/splashy.c: Use exit codes from <sysexits.h>.

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
 
* [[http://www.undeadly.org/cgi?action=article&sid=20110530221728][OpenBSD]]
6
 
 
7
 
* mandos-applet
8
 
 
9
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
10
** TODO [#B] Use capabilities instead of seteuid().
11
 
** TODO [#B] Use struct sockaddr_storage instead of a union
12
 
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
13
 
** TODO [#B] Use getnameinfo(serv=NULL, NI_NUMERICHOST) instead of inet_ntop()
14
 
** TODO [#B] Prefer /run/tmp over /tmp, if it exists
 
11
** TODO use EX_* from <sysexits.h>
15
12
 
16
13
* splashy
17
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 use error() instead of perror()
18
17
 
19
 
* usplash (Deprecated)
20
 
** TODO [#A] Make it work again
 
18
* usplash
21
19
** TODO [#B] use scandir(3) instead of readdir(3)
22
 
** TODO Use [[info:libc:Argz%20Functions][argz_extract]]
 
20
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
21
** TODO use EX_* from <sysexits.h>
 
22
** TODO use error() instead of perror()
23
23
 
24
24
* askpass-fifo
 
25
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
25
26
** TODO [#B] Drop privileges after opening FIFO.
 
27
** TODO use EX_* from <sysexits.h>
 
28
** TODO use error() instead of perror()
26
29
 
27
30
* password-prompt
28
 
** TODO [#B] lock stdin (with flock()?)
29
 
 
30
 
* plymouth
31
 
 
32
 
* TODO [#B] passdev
 
31
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
32
** TODO use EX_* from <sysexits.h>
 
33
** TODO use error() instead of perror()
 
34
 
 
35
* TODO passdev
33
36
 
34
37
* plugin-runner
35
 
** TODO handle printing for errors for plugins
36
 
*** Hook up stderr of plugins, buffer them, and prepend mandos pluig [plugin name]
37
38
** TODO [#B] use scandir(3) instead of readdir(3)
38
39
** TODO [#C] use same file name rules as run-parts(8)
39
 
** kernel command line option for debug info
40
 
** TODO [#B] Use openat()
 
40
** TODO use EX_* from <sysexits.h>
 
41
** TODO use error() instead of perror()
41
42
 
42
43
* 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:
 
44
** TODO [#B] Log level                          :BUGS:
 
45
** TODO /etc/mandos/clients.d/*.conf
 
46
   Watch this directory and add/remove/update clients?
 
47
** TODO config for TXT record
 
48
** TODO [#B] Run-time communication with server :BUGS:
 
49
   Probably using D-Bus
 
50
*** Client class
 
51
*** Main server
 
52
    + SetLogLevel
 
53
      syslogger.setLevel(logging.WARNING)
 
54
    + [[http://log.ometer.com/2007-05.html][Best D-Bus practices]]
 
55
** TODO Implement --foreground                  :BUGS:
53
56
   [[info:standards:Option%20Table][Table of Long Options]]
54
57
** TODO Implement --socket
55
58
   [[info:standards:Option%20Table][Table of Long Options]]
56
 
** TODO Date+time on console log messages                                 :BUGS:
 
59
** TODO Date+time on console log messages       :BUGS:
57
60
   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] Support RFC 3339 time duration syntax
62
 
** More D-Bus methods
63
 
*** NeedsPassword(50) - Timeout, default disapprove
64
 
    + SetPass(u"gazonk", True) -> Approval, persistent
65
 
    + Approve(False) -> Close client connection immediately
66
 
** TODO [#C] python-parsedatetime
67
 
** TODO [#C] systemd/launchd
68
 
   http://0pointer.de/blog/projects/systemd.html
69
 
   http://wiki.debian.org/systemd
70
 
** TODO Separate logging logic to own object
71
 
** TODO make clients to a dict!
72
 
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
73
 
** TODO [#B] break the wait on approval_delay if connection dies
74
 
** TODO Generate Client.runtime_expansions from client options + extra
75
 
** TODO Allow %%(checker)s as a runtime expansion
76
 
** TODO Use python-tlslite?
 
61
** TODO DBusServiceObjectUsingSuper
 
62
** TODO Global enable/disable flag
 
63
** TODO By-client countdown on secrets given
 
64
** TODO Fix problem with fsck taking a really long time
 
65
   Whenever a client successfully gets a secret it could get a
 
66
   one-time timeout boost to allow for an fsck-incurred delay
 
67
** TODO Delay before client receives key
 
68
   This would give an operator opportunity to cancel the request if
 
69
   desired.
 
70
** TODO Client manual approval mode
 
71
   A client needs manual approval on the server before it gets the
 
72
   secret
 
73
** TODO Persistent state
 
74
   /var/lib/mandos/*
77
75
 
78
76
* mandos.xml
79
 
** Add mandos contact info in manual pages
 
77
** [[file:mandos.xml::XXX][Document D-Bus interface]]
 
78
 
 
79
* Provide and install /etc/dbus-1/system.d/mandos.conf
80
80
 
81
81
* mandos-ctl
82
82
*** Handle "no D-Bus server" and/or "no Mandos server found" better
83
83
*** [#B] --dump option
84
 
** TODO Support RFC 3339 time duration syntax
85
 
** TODO Send milliseconds if bare integer is passed as time duration
86
84
 
87
85
* TODO mandos-dispatch
88
86
  Listens for specified D-Bus signals and spawns shell commands with
89
87
  arguments.
90
88
 
91
89
* mandos-monitor
92
 
** TODO help should be toggleable
 
90
** D-Bus main loop w/ signal receiver
93
91
** Urwid client data displayer
94
 
   Better view of client data in the listing
 
92
*** Urwid scaffolding
 
93
*** Client Widgets
95
94
*** Properties popup
96
 
** Nicer crashes. Stack traces Messes up shell.
97
 
*** Print a nice "We are sorry" message, save stack trace to log.
98
 
** Show timeout countdown for approval
99
95
 
100
96
* mandos-keygen
 
97
** TODO Loop until passwords match when run interactively
101
98
** TODO "--secfile" option
102
99
   Using the "secfile" option instead of "secret"
103
100
** TODO [#B] "--test" option
104
101
   For testing decryption before rebooting.
105
102
 
106
103
* Makefile
107
 
** TODO [#C] Implement DEB_BUILD_OPTIONS
 
104
** Implement DEB_BUILD_OPTIONS
108
105
   http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
109
106
 
110
107
* Package
115
112
** TODO [#C] /etc/bash_completion.d/mandos
116
113
   From XML sources directly?
117
114
 
118
 
* Side Stuff
119
 
** TODO Locate which package moves the other bin/sh when busybox is deactivated
120
 
** TODO contact owner of package, and ask them to have that shell static in position regardless of busybox
121
 
 
122
115
 
123
116
#+STARTUP: showall