/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

* plugins.d/mandos-client.c (run_network_hooks): New.
  (main): Run run_network_hooks() with "stop" and "start" at
          appropriate places.  Don't lower privileges permanently
          prematurely.

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
 
** mandos
7
 
*** Do not write PID file if --debug is passed?
8
 
    Do other programs do this?
9
 
** Update copyright year to add 2010
10
 
** mandos.xml
11
 
*** Document the approval concept
 
5
* [[http://www.undeadly.org/cgi?action=article&sid=20110530221728][OpenBSD]]
 
6
 
 
7
* mandos-applet
12
8
 
13
9
* mandos-client
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 [#B] Retry a server which has a non-definite reply:
17
 
*** A closed connection during the TLS handshake
18
 
*** A TCP timeout
 
10
** TODO [#A] Document network hook functionality
19
11
** TODO [#B] Use capabilities instead of seteuid().
20
 
** 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
21
16
 
22
17
* splashy
23
18
** TODO [#B] use scandir(3) instead of readdir(3)
24
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
25
19
 
26
 
* usplash
 
20
* usplash (Deprecated)
27
21
** TODO [#A] Make it work again
28
22
** TODO [#B] use scandir(3) instead of readdir(3)
29
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
30
23
** TODO Use [[info:libc:Argz%20Functions][argz_extract]]
31
24
 
32
25
* askpass-fifo
33
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
34
26
** TODO [#B] Drop privileges after opening FIFO.
35
27
 
36
28
* password-prompt
37
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
38
29
** TODO [#B] lock stdin (with flock()?)
39
30
 
 
31
* plymouth
 
32
 
40
33
* TODO [#B] passdev
41
34
 
42
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]
43
38
** TODO [#B] use scandir(3) instead of readdir(3)
44
39
** TODO [#C] use same file name rules as run-parts(8)
45
40
** kernel command line option for debug info
64
59
** TODO [#C] DBusServiceObjectUsingSuper
65
60
** TODO [#B] Global enable/disable flag
66
61
** TODO [#B] By-client countdown on secrets given
67
 
** TODO [#B] Fix problem with fsck taking a really long time
68
 
   Whenever a client successfully gets a secret it could get a
69
 
   one-time timeout boost to allow for an fsck-incurred delay
70
 
** TODO [#A] Delay before client receives key
71
 
   This would give an operator opportunity to cancel the request if
72
 
   desired.
73
 
** TODO [#A] Client manual approval mode
74
 
   A client needs manual approval on the server before it gets the
75
 
   secret
76
62
** TODO [#B] Support RFC 3339 time duration syntax
77
63
** More D-Bus methods
78
 
*** NeedsApproval(50, True) -> timeout, default approve
79
 
    Default approval is configurable, but True by default
80
 
    + Approve(True) -> approve sending saved
81
 
    + Approve(False) -> Close client connection immediately
82
64
*** NeedsPassword(50) - Timeout, default disapprove
83
65
    + SetPass(u"gazonk", True) -> Approval, persistent
84
66
    + Approve(False) -> Close client connection immediately
85
67
** TODO [#C] python-parsedatetime
86
68
** TODO [#C] systemd/launchd
87
69
   http://0pointer.de/blog/projects/systemd.html
 
70
   http://wiki.debian.org/systemd
88
71
** TODO Separate logging logic to own object
89
72
** TODO make clients to a dict!
90
73
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
91
74
** TODO [#B] break the wait on approval_delay if connection dies
92
75
** TODO Generate Client.runtime_expansions from client options + extra
93
76
** TODO Allow %%(checker)s as a runtime expansion
 
77
** TODO Use python-tlslite?
94
78
 
95
79
* mandos.xml
96
80
** Add mandos contact info in manual pages
99
83
*** Handle "no D-Bus server" and/or "no Mandos server found" better
100
84
*** [#B] --dump option
101
85
** TODO Support RFC 3339 time duration syntax
 
86
** TODO Send milliseconds if bare integer is passed as time duration
102
87
 
103
88
* TODO mandos-dispatch
104
89
  Listens for specified D-Bus signals and spawns shell commands with
105
90
  arguments.
106
91
 
107
92
* mandos-monitor
108
 
** TODO help should be toggable
 
93
** TODO help should be toggleable
109
94
** Urwid client data displayer
110
95
   Better view of client data in the listing
111
96
*** Properties popup
112
97
** Nicer crashes. Stack traces Messes up shell.
113
98
*** Print a nice "We are sorry" message, save stack trace to log.
 
99
** Show timeout countdown for approval
114
100
 
115
101
* mandos-keygen
116
 
** TODO Loop until passwords match when run interactively
117
102
** TODO "--secfile" option
118
103
   Using the "secfile" option instead of "secret"
119
104
** TODO [#B] "--test" option
120
105
   For testing decryption before rebooting.
121
106
 
122
107
* Makefile
123
 
** TODO Add "--Xlinker --as-needed"
124
 
   http://udrepper.livejournal.com/19395.html
125
108
** TODO [#C] Implement DEB_BUILD_OPTIONS
126
109
   http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
127
110
 
134
117
   From XML sources directly?
135
118
 
136
119
* 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
 
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
139
122
 
140
123
 
141
124
#+STARTUP: showall