/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

* debian/mandos-client.README.Debian: Document network hook facility.
* debian/mandos-client.docs (network-hooks.d): Added.
* initramfs-tools-hook: Also pass VERBOSITY to network hook.
* plugins.d/mandos-client.xml (DESCRIPTION): Document network
                                             interface selection
                                             algorithm.
  (OPTIONS/--interface): Refer to NETWORK HOOKS section.
  (OVERVIEW): Refer to password-prompt(8mandos) explicitly.
  (NETWORK HOOKS): New section.
  (FILES): Add "/lib/mandos/network-hooks.d".

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
* Use _attribute_((nonnull)) wherever possible.
4
4
 
5
 
* Release critical
6
 
** TODO Change make-run-server to not include --no-dbus
7
 
** plymouth.8mandos
 
5
* [[http://www.undeadly.org/cgi?action=article&sid=20110530221728][OpenBSD]]
 
6
 
 
7
* mandos-applet
8
8
 
9
9
* mandos-client
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
 
10
** TODO [#A] Document network hook functionality
15
11
** TODO [#B] Use capabilities instead of seteuid().
16
 
** TODO [#A] Retry --connect forever
 
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
17
16
 
18
17
* splashy
19
18
** TODO [#B] use scandir(3) instead of readdir(3)
20
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
21
19
 
22
 
* usplash
 
20
* usplash (Deprecated)
23
21
** TODO [#A] Make it work again
24
22
** TODO [#B] use scandir(3) instead of readdir(3)
25
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
26
23
** TODO Use [[info:libc:Argz%20Functions][argz_extract]]
27
24
 
28
25
* askpass-fifo
29
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
30
26
** TODO [#B] Drop privileges after opening FIFO.
31
27
 
32
28
* password-prompt
33
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
34
29
** TODO [#B] lock stdin (with flock()?)
35
30
 
36
31
* plymouth
37
 
** TODO Use [[info:libc:Argz%20Functions][argz_extract]]
38
32
 
39
33
* TODO [#B] passdev
40
34
 
41
35
* plugin-runner
 
36
** TODO handle printing for errors for plugins
 
37
*** Hook up stderr of plugins, buffer them, and prepend mandos pluig [plugin name]
42
38
** TODO [#B] use scandir(3) instead of readdir(3)
43
39
** TODO [#C] use same file name rules as run-parts(8)
44
40
** kernel command line option for debug info
63
59
** TODO [#C] DBusServiceObjectUsingSuper
64
60
** TODO [#B] Global enable/disable flag
65
61
** 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
62
** TODO [#B] Support RFC 3339 time duration syntax
76
63
** 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
64
*** NeedsPassword(50) - Timeout, default disapprove
82
65
    + SetPass(u"gazonk", True) -> Approval, persistent
83
66
    + Approve(False) -> Close client connection immediately
84
67
** TODO [#C] python-parsedatetime
85
68
** TODO [#C] systemd/launchd
86
69
   http://0pointer.de/blog/projects/systemd.html
 
70
   http://wiki.debian.org/systemd
87
71
** TODO Separate logging logic to own object
88
72
** TODO make clients to a dict!
89
73
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
 
74
** TODO [#B] break the wait on approval_delay if connection dies
 
75
** TODO Generate Client.runtime_expansions from client options + extra
 
76
** TODO Allow %%(checker)s as a runtime expansion
 
77
** TODO Use python-tlslite?
90
78
 
91
79
* mandos.xml
92
80
** Add mandos contact info in manual pages
95
83
*** Handle "no D-Bus server" and/or "no Mandos server found" better
96
84
*** [#B] --dump option
97
85
** TODO Support RFC 3339 time duration syntax
 
86
** TODO Send milliseconds if bare integer is passed as time duration
98
87
 
99
88
* TODO mandos-dispatch
100
89
  Listens for specified D-Bus signals and spawns shell commands with
101
90
  arguments.
102
91
 
103
92
* mandos-monitor
104
 
** TODO help should be toggable
 
93
** TODO help should be toggleable
105
94
** Urwid client data displayer
106
95
   Better view of client data in the listing
107
96
*** Properties popup
108
97
** Nicer crashes. Stack traces Messes up shell.
109
98
*** Print a nice "We are sorry" message, save stack trace to log.
 
99
** Show timeout countdown for approval
110
100
 
111
101
* mandos-keygen
112
 
** TODO Loop until passwords match when run interactively
113
102
** TODO "--secfile" option
114
103
   Using the "secfile" option instead of "secret"
115
104
** TODO [#B] "--test" option
116
105
   For testing decryption before rebooting.
117
106
 
118
107
* Makefile
119
 
** TODO Add "--Xlinker --as-needed"
120
 
   http://udrepper.livejournal.com/19395.html
121
108
** TODO [#C] Implement DEB_BUILD_OPTIONS
122
109
   http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
123
110
 
130
117
   From XML sources directly?
131
118
 
132
119
* 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
 
120
** TODO Locate which package moves the other bin/sh when busybox is deactivated
 
121
** TODO contact owner of package, and ask them to have that shell static in position regardless of busybox
135
122
 
136
123
 
137
124
#+STARTUP: showall