/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

* network-hooks.d/openvpn: Tolerate relative MANDOSNETHOOKDIR path.
  (stop): Bug fix: Fix quote escapes.
* network-hooks.d/openvpn.conf: Remove compression.

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
 
3
9
* 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
** TODO [#B] Flag fprintf_plus so compiler checks the format string.
 
11
** TODO [#A] OpenVPN network hook
 
12
** TODO [#A] Wireless network hook
10
13
** TODO [#B] Use capabilities instead of seteuid().
11
 
** TODO [#A] Retry --connect forever
 
14
** TODO [#B] Use struct sockaddr_storage instead of a union
 
15
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
 
16
** TODO [#B] Use getnameinfo(serv=NULL, NI_NUMERICHOST) instead of inet_ntop()
 
17
** TODO [#B] Prefer /run/tmp over /tmp, if it exists
12
18
 
13
19
* splashy
14
20
** 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 [#B] use error() instead of perror()
17
21
 
18
 
* usplash
 
22
* usplash (Deprecated)
 
23
** TODO [#A] Make it work again
19
24
** TODO [#B] use scandir(3) instead of readdir(3)
20
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
21
 
** TODO [#B] use error() instead of perror()
22
 
** TODO [#A] Check if it still works
 
25
** TODO Use [[info:libc:Argz%20Functions][argz_extract]]
23
26
 
24
27
* askpass-fifo
25
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
26
 
** TODO [#B] use error() instead of perror()
27
28
** TODO [#B] Drop privileges after opening FIFO.
28
29
 
29
30
* password-prompt
30
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
31
 
** TODO [#B] use error() instead of perror()
32
31
** TODO [#B] lock stdin (with flock()?)
33
32
 
 
33
* plymouth
 
34
 
34
35
* TODO [#B] passdev
35
36
 
36
37
* plugin-runner
 
38
** TODO handle printing for errors for plugins
 
39
*** Hook up stderr of plugins, buffer them, and prepend mandos pluig [plugin name]
37
40
** TODO [#B] use scandir(3) instead of readdir(3)
38
41
** TODO [#C] use same file name rules as run-parts(8)
39
 
** TODO [#B] use error() instead of perror()
 
42
** kernel command line option for debug info
 
43
** TODO [#B] Use openat()
40
44
 
41
45
* mandos (server)
42
46
** TODO [#B] Log level                                                    :BUGS:
57
61
** TODO [#C] DBusServiceObjectUsingSuper
58
62
** TODO [#B] Global enable/disable flag
59
63
** TODO [#B] By-client countdown on secrets given
60
 
** TODO [#B] Fix problem with fsck taking a really long time
61
 
   Whenever a client successfully gets a secret it could get a
62
 
   one-time timeout boost to allow for an fsck-incurred delay
63
 
** TODO [#A] Delay before client receives key
64
 
   This would give an operator opportunity to cancel the request if
65
 
   desired.
66
 
** TODO [#A] Client manual approval mode
67
 
   A client needs manual approval on the server before it gets the
68
 
   secret
69
64
** TODO [#B] Support RFC 3339 time duration syntax
 
65
** More D-Bus methods
 
66
*** NeedsPassword(50) - Timeout, default disapprove
 
67
    + SetPass(u"gazonk", True) -> Approval, persistent
 
68
    + Approve(False) -> Close client connection immediately
 
69
** TODO [#C] python-parsedatetime
 
70
** TODO [#C] systemd/launchd
 
71
   http://0pointer.de/blog/projects/systemd.html
 
72
   http://wiki.debian.org/systemd
 
73
** TODO Separate logging logic to own object
 
74
** TODO make clients to a dict!
 
75
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
 
76
** TODO [#B] break the wait on approval_delay if connection dies
 
77
** TODO Generate Client.runtime_expansions from client options + extra
 
78
** TODO Allow %%(checker)s as a runtime expansion
 
79
** TODO Use python-tlslite?
 
80
** TODO D-Bus AddClient() method on server object
70
81
 
71
82
* mandos.xml
72
 
** [[file:mandos.xml::XXX][Document D-Bus interface]]
73
 
   Remove mention of lack of such interface in BUGS section
74
 
 
75
 
* TODO [#A] Provide and install /etc/dbus-1/system.d/mandos.conf
 
83
** Add mandos contact info in manual pages
76
84
 
77
85
* mandos-ctl
78
86
*** Handle "no D-Bus server" and/or "no Mandos server found" better
79
87
*** [#B] --dump option
80
88
** TODO Support RFC 3339 time duration syntax
 
89
** TODO Send milliseconds if bare integer is passed as time duration
81
90
 
82
91
* TODO mandos-dispatch
83
92
  Listens for specified D-Bus signals and spawns shell commands with
84
93
  arguments.
85
94
 
86
95
* mandos-monitor
 
96
** TODO help should be toggleable
87
97
** Urwid client data displayer
88
98
   Better view of client data in the listing
89
99
*** Properties popup
 
100
** Nicer crashes. Stack traces Messes up shell.
 
101
*** Print a nice "We are sorry" message, save stack trace to log.
 
102
** Show timeout countdown for approval
90
103
 
91
104
* mandos-keygen
92
 
** TODO Loop until passwords match when run interactively
93
105
** TODO "--secfile" option
94
106
   Using the "secfile" option instead of "secret"
95
107
** TODO [#B] "--test" option
107
119
** TODO [#C] /etc/bash_completion.d/mandos
108
120
   From XML sources directly?
109
121
 
 
122
* Side Stuff
 
123
** TODO Locate which package moves the other bin/sh when busybox is deactivated
 
124
** TODO contact owner of package, and ask them to have that shell static in position regardless of busybox
 
125
 
110
126
 
111
127
#+STARTUP: showall