/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to TODO

  • Committer: teddy at bsnet
  • Date: 2010-09-10 17:06:26 UTC
  • mto: (237.2.190 mandos)
  • mto: This revision was merged to the branch mainline in revision 270.
  • Revision ID: teddy@fukt.bsnet.se-20100910170626-exo8e7ptkb9ncg29
* Makefile (install-server): Install dbus-mandos.conf as
                             "/etc/dbus-1/system.d/mandos.conf".
  (purge-server): Remove "/etc/dbus-1/system.d/mandos.conf".

Show diffs side-by-side

added added

removed removed

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