/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to TODO

merge
new approve/deny functionallity in mandos-monitor

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
 
3
* _attribute_((nonnull))
 
4
* FIX XXX
8
5
 
9
6
* mandos-client
10
 
** TODO [#A] Document network hook functionality
 
7
** TODO [#B] use scandir(3) instead of readdir(3)
 
8
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
9
** TODO use error() instead of perror()
 
10
** TODO [#B] Retry a server which has a non-definite reply:
 
11
*** A closed connection during the TLS handshake
 
12
*** A TCP timeout
11
13
** TODO [#B] Use capabilities instead of seteuid().
12
 
** TODO [#B] Use struct sockaddr_storage instead of a union
13
 
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
14
 
** TODO [#B] Use getnameinfo(serv=NULL, NI_NUMERICHOST) instead of inet_ntop()
15
 
** TODO [#B] Prefer /run/tmp over /tmp, if it exists
 
14
** TODO [#A] Retry --connect forever
16
15
 
17
16
* splashy
18
17
** TODO [#B] use scandir(3) instead of readdir(3)
 
18
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
19
** TODO [#B] use error() instead of perror()
19
20
 
20
 
* usplash (Deprecated)
 
21
* usplash
21
22
** TODO [#A] Make it work again
22
23
** TODO [#B] use scandir(3) instead of readdir(3)
23
 
** TODO Use [[info:libc:Argz%20Functions][argz_extract]]
 
24
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
25
** TODO [#B] use error() instead of perror()
24
26
 
25
27
* askpass-fifo
 
28
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
29
** TODO [#B] use error() instead of perror()
26
30
** TODO [#B] Drop privileges after opening FIFO.
27
31
 
28
32
* password-prompt
 
33
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
34
** TODO [#B] use error() instead of perror()
29
35
** TODO [#B] lock stdin (with flock()?)
30
36
 
31
 
* plymouth
32
 
 
33
37
* TODO [#B] passdev
34
38
 
35
39
* plugin-runner
36
 
** TODO handle printing for errors for plugins
37
 
*** Hook up stderr of plugins, buffer them, and prepend mandos pluig [plugin name]
38
40
** TODO [#B] use scandir(3) instead of readdir(3)
39
41
** TODO [#C] use same file name rules as run-parts(8)
40
42
** kernel command line option for debug info
41
 
** TODO [#B] Use openat()
 
43
** TODO [#B] use error() instead of perror()
 
44
** TODO [$B] Use openat() and readdir64()
 
45
   http://udrepper.livejournal.com/19395.html
42
46
 
43
47
* mandos (server)
 
48
** TODO [#B] Log level                                                    :BUGS:
44
49
** TODO Persistent state                                                  :BUGS:
45
50
   /var/lib/mandos/*
46
51
*** TODO /etc/mandos/clients.d/*.conf
47
52
    Watch this directory and add/remove/update clients?
48
53
** TODO [#C] config for TXT record
49
 
** TODO Log level dbus option
50
 
   SetLogLevel D-Bus call
 
54
** TODO Log level option
 
55
   syslogger.setLevel(logging.WARNING)
 
56
   + SetLogLevel D-Bus call
51
57
** TODO Implement --foreground                                            :BUGS:
52
58
   [[info:standards:Option%20Table][Table of Long Options]]
53
59
** TODO Implement --socket
56
62
   Is this the default?
57
63
** TODO [#C] DBusServiceObjectUsingSuper
58
64
** TODO [#B] Global enable/disable flag
59
 
** TODO [#B] By-client countdown on number of secrets given
 
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
60
75
** TODO [#B] Support RFC 3339 time duration syntax
61
76
** More D-Bus methods
 
77
*** NeedsApproval(50, True) -> timeout, default approve
 
78
    Default approval is configurable, but True by default
 
79
    + Approval(True) -> approve sending saved
 
80
    + Approval(False) -> Close client connection immediately
62
81
*** NeedsPassword(50) - Timeout, default disapprove
63
82
    + SetPass(u"gazonk", True) -> Approval, persistent
64
 
    + Approve(False) -> Close client connection immediately
 
83
    + Approval(False) -> Close client connection immediately
65
84
** TODO [#C] python-parsedatetime
66
85
** TODO [#C] systemd/launchd
67
86
   http://0pointer.de/blog/projects/systemd.html
68
 
   http://wiki.debian.org/systemd
69
87
** TODO Separate logging logic to own object
70
88
** TODO make clients to a dict!
71
 
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
72
 
** TODO [#B] break the wait on approval_delay if connection dies
73
 
** TODO Generate Client.runtime_expansions from client options + extra
74
 
** TODO Allow %%(checker)s as a runtime expansion
75
 
** TODO Use python-tlslite?
 
89
** TODO PropertyChanged should be a python generic property for client variables
76
90
 
77
91
* mandos.xml
 
92
** [[file:mandos.xml::XXX][Document D-Bus interface]]
 
93
   Remove mention of lack of such interface in BUGS section
78
94
** Add mandos contact info in manual pages
79
95
 
 
96
* TODO [#A] Provide and install /etc/dbus-1/system.d/mandos.conf
 
97
 
80
98
* mandos-ctl
81
99
*** Handle "no D-Bus server" and/or "no Mandos server found" better
82
100
*** [#B] --dump option
83
101
** TODO Support RFC 3339 time duration syntax
84
 
** TODO Send milliseconds if bare integer is passed as time duration
85
102
 
86
103
* TODO mandos-dispatch
87
104
  Listens for specified D-Bus signals and spawns shell commands with
88
105
  arguments.
89
106
 
90
107
* mandos-monitor
91
 
** TODO help should be toggleable
92
108
** Urwid client data displayer
93
109
   Better view of client data in the listing
94
110
*** Properties popup
95
111
** Nicer crashes. Stack traces Messes up shell.
96
112
*** Print a nice "We are sorry" message, save stack trace to log.
97
 
** Show timeout countdown for approval
98
113
 
99
114
* mandos-keygen
 
115
** TODO Loop until passwords match when run interactively
100
116
** TODO "--secfile" option
101
117
   Using the "secfile" option instead of "secret"
102
118
** TODO [#B] "--test" option
103
119
   For testing decryption before rebooting.
104
120
 
105
121
* Makefile
 
122
** TODO Add "--Xlinker --as-needed"
 
123
   http://udrepper.livejournal.com/19395.html
106
124
** TODO [#C] Implement DEB_BUILD_OPTIONS
107
125
   http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
108
126
 
115
133
   From XML sources directly?
116
134
 
117
135
* Side Stuff
118
 
** TODO Locate which package moves the other bin/sh when busybox is deactivated
119
 
** TODO contact owner of package, and ask them to have that shell static in position regardless of busybox
 
136
** TODO Locate which packet move the other bin/sh when busy box is deactivated
 
137
** TODO contact owner of packet, and ask them to have that shell static in position regardless of busybox
120
138
 
121
139
 
122
140
#+STARTUP: showall