/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-01-28 11:23:12 UTC
  • mto: This revision was merged to the branch mainline in revision 327.
  • Revision ID: teddy@fukt.bsnet.se-20090128112312-fccq15ef11z330u3
Start of new pipe-based IPC mechanism.

* mandos (TCP_handler.handle): Open the IPC pipe, write messages to it
                               and close it when done.
  (ForkingMixInWithPipe): New.
  (IPv6_TCPServer): Inherit from "ForkingMixInWithPipe" instead of
                   "SocketServer.ForkingMixIn".
  (IPv6_TCPServer.handle_ipc): New.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
-*- org -*-
2
2
 
3
3
* mandos-client
4
 
** TODO [#B] use scandir(3) instead of readdir(3)
5
 
** TODO [#B] Prefix all debug output with argv[0]
6
 
** TODO [#B] Retry a server which has a non-definite reply:
7
 
*** A closed connection during the TLS handshake
8
 
*** A TCP timeout
9
 
** TODO [#B] Use capabilities instead of seteuid().
10
 
 
11
 
* splashy
12
 
** TODO [#B] use scandir(3) instead of readdir(3)
13
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
14
 
 
15
 
* usplash
16
 
** TODO [#B] use scandir(3) instead of readdir(3)
17
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
18
 
 
19
 
* askpass-fifo
20
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
21
 
** TODO [#B] Drop privileges after opening FIFO.
22
 
 
23
 
* password-prompt
24
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
25
 
 
26
 
* TODO passdev
 
4
** TODO [#A] Clean up /tmp directory on signal
 
5
** TODO [#B] Temporarily lower kernel log level
 
6
   for less printouts during sucessfull boot.
 
7
   klogctl(6, NULL, 0); klogctl(7, NULL, 0);
 
8
** TODO [#C] IPv4 support
27
9
 
28
10
* plugin-runner
29
11
** TODO [#B] use scandir(3) instead of readdir(3)
30
 
** TODO [#C] use same file name rules as run-parts(8)
31
12
 
32
13
* mandos (server)
33
 
** TODO [#B] Log level                          :BUGS:
 
14
** TODO [#B] Log level                          :bugs:
34
15
** TODO /etc/mandos/clients.d/*.conf
35
16
   Watch this directory and add/remove/update clients?
36
17
** TODO config for TXT record
37
 
** TODO [#B] Run-time communication with server :BUGS:
 
18
** TODO [#B] Run-time communication with server :bugs:
38
19
   Probably using D-Bus
 
20
   See also [[*Mandos-tools]]
39
21
*** Client class
40
22
*** Main server
41
23
    + SetLogLevel
42
24
      syslogger.setLevel(logging.WARNING)
 
25
    + Quit
43
26
    + [[http://log.ometer.com/2007-05.html][Best D-Bus practices]]
44
 
** TODO Implement --foreground                  :BUGS:
 
27
** TODO Implement --foreground                  :bugs:
45
28
   [[info:standards:Option%20Table][Table of Long Options]]
46
29
** TODO Implement --socket
47
30
   [[info:standards:Option%20Table][Table of Long Options]]
48
 
** TODO Date+time on console log messages       :BUGS:
 
31
** TODO Date+time on console log messages       :bugs:
49
32
   Is this the default?
50
 
** TODO DBusServiceObjectUsingSuper
51
 
** TODO Global enable/disable flag
52
 
** TODO By-client countdown on secrets given
53
 
** TODO Fix problem with fsck taking a really long time
54
 
   Whenever a client successfully gets a secret it could get a
55
 
   one-time timeout boost to allow for an fsck-incurred delay
56
 
** TODO Delay before client receives key
57
 
   This would give an operator opportunity to cancel the request if
58
 
   desired.
59
 
** TODO Client manual approval mode
60
 
   A client needs manual approval on the server before it gets the
61
 
   secret
62
 
** TODO Persistent state
63
 
   /var/lib/mandos/*
 
33
** TODO delete hook when clients fall out by timeout
 
34
   This will not be strictly necessary when the D-Bus interface is
 
35
   implemented.
64
36
 
65
37
* mandos.xml
66
38
** [[file:mandos.xml::XXX][Document D-Bus interface]]
67
39
 
68
40
* Provide and install /etc/dbus-1/system.d/mandos.conf
69
41
 
70
 
* mandos-ctl
 
42
* mandos-list
71
43
*** Handle "no D-Bus server" and/or "no Mandos server found" better
72
44
*** [#B] --dump option
73
 
 
74
 
* TODO mandos-dispatch
75
 
  Listens for specified D-Bus signals and spawns shell commands with
76
 
  arguments.
77
 
 
78
 
* mandos-monitor
79
 
** D-Bus mail loop w/ signal receiver
80
 
** Snack/Newt client data displayer
81
 
*** Client Widgets
82
 
*** Properties popup
 
45
** TODO Disable client
 
46
** TODO Enable client
 
47
** TODO Reset timer
 
48
 
 
49
* Curses interface
83
50
 
84
51
* mandos-keygen
85
 
** TODO Loop until passwords match when run interactively
86
52
** TODO "--secfile" option
87
53
   Using the "secfile" option instead of "secret"
88
54
** TODO [#B] "--test" option
89
55
   For testing decryption before rebooting.
90
56
 
91
 
* Makefile
92
 
** Implement DEB_BUILD_OPTIONS
93
 
   http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
94
 
 
95
57
* Package
96
58
** /usr/share/initramfs-tools/hooks/mandos
97
 
*** TODO [#C] use same file name rules as run-parts(8)
98
59
*** TODO [#C] Do not install in initrd.img if configured not to.
99
 
    Use "/etc/initramfs-tools/hooksconf.d/mandos"?
 
60
    Use "/etc/initramfs-tools/conf.d/mandos"?  Definitely a debconf
 
61
    question.
100
62
** TODO [#C] /etc/bash_completion.d/mandos
101
63
   From XML sources directly?
102
64