/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

  • Committer: Teddy Hogeborn
  • Date: 2009-09-17 11:22:28 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090917112228-yizc8zr9brqr3cjd
* plugins.d/mandos-client.c (main): Try harder to raise signal on
                                    exit, and wait for it to arrive.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
-*- org -*-
2
2
 
3
 
* _attribute_((nonnull))
4
 
 
5
3
* mandos-client
6
4
** TODO [#B] use scandir(3) instead of readdir(3)
7
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
8
 
** TODO use error() instead of perror()
 
5
** TODO [#B] Prefix all debug output with argv[0]
9
6
** TODO [#B] Retry a server which has a non-definite reply:
10
7
*** A closed connection during the TLS handshake
11
8
*** A TCP timeout
12
9
** TODO [#B] Use capabilities instead of seteuid().
13
 
** TODO [#A] Retry --connect forever
14
10
 
15
11
* splashy
16
12
** TODO [#B] use scandir(3) instead of readdir(3)
17
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
18
 
** TODO [#B] use error() instead of perror()
 
13
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
19
14
 
20
15
* usplash
21
 
** TODO [#A] Make it work again
22
16
** TODO [#B] use scandir(3) instead of readdir(3)
23
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
24
 
** TODO [#B] use error() instead of perror()
 
17
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
25
18
 
26
19
* askpass-fifo
27
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
28
 
** TODO [#B] use error() instead of perror()
 
20
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
29
21
** TODO [#B] Drop privileges after opening FIFO.
30
22
 
31
23
* password-prompt
32
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
33
 
** TODO [#B] use error() instead of perror()
34
 
** TODO [#B] lock stdin (with flock()?)
35
 
 
36
 
* TODO [#B] passdev
 
24
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
37
25
 
38
26
* plugin-runner
39
27
** TODO [#B] use scandir(3) instead of readdir(3)
40
28
** TODO [#C] use same file name rules as run-parts(8)
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
45
29
 
46
30
* mandos (server)
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:
 
31
** TODO [#B] Log level                          :BUGS:
 
32
** TODO /etc/mandos/clients.d/*.conf
 
33
   Watch this directory and add/remove/update clients?
 
34
** TODO config for TXT record
 
35
** TODO [#B] Run-time communication with server :BUGS:
 
36
   Probably using D-Bus
 
37
*** Client class
 
38
*** Main server
 
39
    + SetLogLevel
 
40
      syslogger.setLevel(logging.WARNING)
 
41
    + [[http://log.ometer.com/2007-05.html][Best D-Bus practices]]
 
42
** TODO Implement --foreground                  :BUGS:
57
43
   [[info:standards:Option%20Table][Table of Long Options]]
58
44
** TODO Implement --socket
59
45
   [[info:standards:Option%20Table][Table of Long Options]]
60
 
** TODO Date+time on console log messages                                 :BUGS:
 
46
** TODO Date+time on console log messages       :BUGS:
61
47
   Is this the default?
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
 
48
** TODO Split IPv6_TCPServer into a generic and Mandos-specific class
 
49
** TODO move handle_ipc out of IPv6_TCPServer
 
50
** TODO DBusServiceObjectUsingSuper
 
51
** Global enable/disable flag
 
52
** By-client countdown on secrets given
 
53
** Fix problem with fsck taking a really long time
66
54
   Whenever a client successfully gets a secret it could get a
67
55
   one-time timeout boost to allow for an fsck-incurred delay
68
 
** TODO [#A] Delay before client receives key
69
 
   This would give an operator opportunity to cancel the request if
70
 
   desired.
71
 
** TODO [#A] Client manual approval mode
72
 
   A client needs manual approval on the server before it gets the
73
 
   secret
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
56
 
87
57
* mandos.xml
88
58
** [[file:mandos.xml::XXX][Document D-Bus interface]]
89
 
   Remove mention of lack of such interface in BUGS section
90
 
** Add mandos contact info in manual pages
91
59
 
92
 
* TODO [#A] Provide and install /etc/dbus-1/system.d/mandos.conf
 
60
* Provide and install /etc/dbus-1/system.d/mandos.conf
93
61
 
94
62
* mandos-ctl
95
63
*** Handle "no D-Bus server" and/or "no Mandos server found" better
96
64
*** [#B] --dump option
97
 
** TODO Support RFC 3339 time duration syntax
98
 
 
99
 
* TODO mandos-dispatch
100
 
  Listens for specified D-Bus signals and spawns shell commands with
101
 
  arguments.
102
 
 
103
 
* mandos-monitor
104
 
** Urwid client data displayer
105
 
   Better view of client data in the listing
 
65
 
 
66
* mandos-name
 
67
** D-Bus mail loop w/ signal receiver
 
68
** Urwid/Newt client data displayer
 
69
*** Urwid scaffolding
 
70
*** Client Widgets
106
71
*** Properties popup
107
72
 
108
73
* mandos-keygen
113
78
   For testing decryption before rebooting.
114
79
 
115
80
* Makefile
116
 
** TODO Add "--Xlinker --as-needed"
117
 
   http://udrepper.livejournal.com/19395.html
118
 
** TODO [#C] Implement DEB_BUILD_OPTIONS
 
81
** Implement DEB_BUILD_OPTIONS
119
82
   http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
120
83
 
121
84
* Package