/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

* mandos: Added ClientDBus.approve_pending property.  Exposed
          approved_by_default, approved_delay, approved_duration as
          D-Bus properties.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
-*- org -*-
2
2
 
 
3
* _attribute_((nonnull))
 
4
 
3
5
* mandos-client
4
6
** TODO [#B] use scandir(3) instead of readdir(3)
5
7
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
8
10
*** A closed connection during the TLS handshake
9
11
*** A TCP timeout
10
12
** TODO [#B] Use capabilities instead of seteuid().
11
 
** TODO use EX_* from <sysexits.h>
 
13
** TODO [#A] Retry --connect forever
12
14
 
13
15
* splashy
14
16
** TODO [#B] use scandir(3) instead of readdir(3)
15
17
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
16
 
** TODO use error() instead of perror()
 
18
** TODO [#B] use error() instead of perror()
17
19
 
18
20
* usplash
 
21
** TODO [#A] Make it work again
19
22
** TODO [#B] use scandir(3) instead of readdir(3)
20
23
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
21
 
** TODO use error() instead of perror()
22
 
** TODO use EX_* from <sysexits.h>
 
24
** TODO [#B] use error() instead of perror()
23
25
 
24
26
* askpass-fifo
25
27
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
26
 
** TODO use error() instead of perror()
 
28
** TODO [#B] use error() instead of perror()
27
29
** TODO [#B] Drop privileges after opening FIFO.
28
30
 
29
31
* password-prompt
30
32
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
31
 
** TODO use error() instead of perror()
32
 
** TODO lock stdin (with flock()?)
 
33
** TODO [#B] use error() instead of perror()
 
34
** TODO [#B] lock stdin (with flock()?)
33
35
 
34
 
* TODO passdev
 
36
* TODO [#B] passdev
35
37
 
36
38
* plugin-runner
37
39
** TODO [#B] use scandir(3) instead of readdir(3)
38
40
** TODO [#C] use same file name rules as run-parts(8)
39
 
** TODO use EX_* from <sysexits.h>
40
 
** TODO use error() instead of perror()
 
41
** kernel command line option for debug info
 
42
** TODO [#B] use error() instead of perror()
 
43
** TODO [$B] Use openat() and readdir64()
 
44
   http://udrepper.livejournal.com/19395.html
41
45
 
42
46
* mandos (server)
43
 
** TODO [#B] Log level                          :BUGS:
44
 
** TODO /etc/mandos/clients.d/*.conf
45
 
   Watch this directory and add/remove/update clients?
46
 
** TODO config for TXT record
47
 
** TODO [#B] Run-time communication with server :BUGS:
48
 
   Probably using D-Bus
49
 
*** Client class
50
 
*** Main server
51
 
    + SetLogLevel
52
 
      syslogger.setLevel(logging.WARNING)
53
 
    + [[http://log.ometer.com/2007-05.html][Best D-Bus practices]]
54
 
** TODO Implement --foreground                  :BUGS:
 
47
** TODO [#B] Log level                                                    :BUGS:
 
48
** TODO Persistent state                                                  :BUGS:
 
49
   /var/lib/mandos/*
 
50
*** TODO /etc/mandos/clients.d/*.conf
 
51
    Watch this directory and add/remove/update clients?
 
52
** TODO [#C] config for TXT record
 
53
** TODO Log level option
 
54
   syslogger.setLevel(logging.WARNING)
 
55
   + SetLogLevel D-Bus call
 
56
** TODO Implement --foreground                                            :BUGS:
55
57
   [[info:standards:Option%20Table][Table of Long Options]]
56
58
** TODO Implement --socket
57
59
   [[info:standards:Option%20Table][Table of Long Options]]
58
 
** TODO Date+time on console log messages       :BUGS:
 
60
** TODO Date+time on console log messages                                 :BUGS:
59
61
   Is this the default?
60
 
** TODO DBusServiceObjectUsingSuper
61
 
** TODO Global enable/disable flag
62
 
** TODO By-client countdown on secrets given
63
 
** TODO Fix problem with fsck taking a really long time
 
62
** TODO [#C] DBusServiceObjectUsingSuper
 
63
** TODO [#B] Global enable/disable flag
 
64
** TODO [#B] By-client countdown on secrets given
 
65
** TODO [#B] Fix problem with fsck taking a really long time
64
66
   Whenever a client successfully gets a secret it could get a
65
67
   one-time timeout boost to allow for an fsck-incurred delay
66
 
** TODO Delay before client receives key
 
68
** TODO [#A] Delay before client receives key
67
69
   This would give an operator opportunity to cancel the request if
68
70
   desired.
69
 
** TODO Client manual approval mode
 
71
** TODO [#A] Client manual approval mode
70
72
   A client needs manual approval on the server before it gets the
71
73
   secret
72
 
** TODO Persistent state
73
 
   /var/lib/mandos/*
 
74
** TODO [#B] Support RFC 3339 time duration syntax
 
75
** More D-Bus methods
 
76
*** NeedsApproval(50, True) -> timeout, default approve
 
77
    Default approval is configurable, but True by default
 
78
    + Approval(True) -> approve sending saved
 
79
    + Approval(False) -> Close client connection immediately
 
80
*** NeedsPassword(50) - Timeout, default disapprove
 
81
    + SetPass(u"gazonk", True) -> Approval, persistent
 
82
    + Approval(False) -> Close client connection immediately
 
83
** TODO [#C] python-parsedatetime
 
84
** TODO [#C] systemd/launchd
 
85
   http://0pointer.de/blog/projects/systemd.html
 
86
** TODO Separate logging logic to own object
 
87
** TODO make clients to a dict!
74
88
 
75
89
* mandos.xml
76
90
** [[file:mandos.xml::XXX][Document D-Bus interface]]
 
91
   Remove mention of lack of such interface in BUGS section
 
92
** Add mandos contact info in manual pages
77
93
 
78
 
* Provide and install /etc/dbus-1/system.d/mandos.conf
 
94
* TODO [#A] Provide and install /etc/dbus-1/system.d/mandos.conf
79
95
 
80
96
* mandos-ctl
81
97
*** Handle "no D-Bus server" and/or "no Mandos server found" better
82
98
*** [#B] --dump option
 
99
** TODO Support RFC 3339 time duration syntax
83
100
 
84
101
* TODO mandos-dispatch
85
102
  Listens for specified D-Bus signals and spawns shell commands with
86
103
  arguments.
87
104
 
88
105
* mandos-monitor
89
 
** D-Bus main loop w/ signal receiver
90
106
** Urwid client data displayer
91
 
*** Urwid scaffolding
92
 
*** Client Widgets
 
107
   Better view of client data in the listing
93
108
*** Properties popup
94
109
 
95
110
* mandos-keygen
100
115
   For testing decryption before rebooting.
101
116
 
102
117
* Makefile
103
 
** Implement DEB_BUILD_OPTIONS
 
118
** TODO Add "--Xlinker --as-needed"
 
119
   http://udrepper.livejournal.com/19395.html
 
120
** TODO [#C] Implement DEB_BUILD_OPTIONS
104
121
   http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
105
122
 
106
123
* Package
111
128
** TODO [#C] /etc/bash_completion.d/mandos
112
129
   From XML sources directly?
113
130
 
 
131
* Side Stuff
 
132
** TODO Locate which packet move the other bin/sh when busy box is deactivated
 
133
** TODO contact owner of packet, and ask them to have that shell static in position regardless of busybox
 
134
 
114
135
 
115
136
#+STARTUP: showall