/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: 2008-11-08 17:26:35 UTC
  • Revision ID: teddy@fukt.bsnet.se-20081108172635-6eexzbysvsk4bu1z
* mandos: Also import "with_statement" and "absolute_import" from
          "__future__.  Import "closing" from "contextlib".
  (Client.__init__): Use "with closing" on "secfile".
  (Client.checker_callback): Call "self.bump_timeout()" instead of
                             doing it directly.
  (Client.bump_timeout): New method to bump up the timeout.
  (TCP_handler.handle): Simplify code to provide fallback default for
                        GnuTLS priority string.
  (IPv6_TCPServer): Do not inherit from
                    "SocketServer.ForkingTCPServer", since that is
                    undocumented - instead, follow the example code
                    from the documentation.
  (if_nametoindex): Use "with closing" on the socket.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
-*- org -*-
2
2
 
3
3
* mandos-client
4
 
** TODO [#A] Clean up /tmp directory and take down interface on signal    :test:
5
 
** 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:
8
 
*** A closed connection during the TLS handshake
9
 
*** A TCP timeout
10
 
** TODO [#B] Use capabilities instead of seteuid().
11
 
 
12
 
* splashy
13
 
** TODO [#A] Re-raise signal received when exiting due to handled signal  :test:
14
 
** TODO [#B] use scandir(3) instead of readdir(3)
15
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
16
 
 
17
 
* usplash
18
 
** TODO [#A] Re-raise signal received when exiting due to handled signal.
19
 
** TODO [#B] use scandir(3) instead of readdir(3)
20
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
21
 
 
22
 
* askpass-fifo
23
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
24
 
** TODO [#B] Drop privileges after opening FIFO.
25
 
 
26
 
* password-prompt
27
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
28
 
 
29
 
* plugin-runner
30
 
** TODO [#B] use scandir(3) instead of readdir(3)
31
 
** TODO [#C] use same file name rules as run-parts(8)
 
4
** TODO [#B] Temporarily lower kernel log level
 
5
   for less printouts during sucessfull boot.
 
6
   klogctl(6, NULL, 0); klogctl(7, NULL, 0);
 
7
** TODO [#C] IPv4 support
32
8
 
33
9
* mandos (server)
34
 
** TODO [#B] Log level                          :BUGS:
 
10
** TODO [#B] Log level                          :bugs:
35
11
** TODO /etc/mandos/clients.d/*.conf
36
12
   Watch this directory and add/remove/update clients?
37
13
** TODO config for TXT record
38
 
** TODO [#B] Run-time communication with server :BUGS:
 
14
** TODO [#B] Run-time communication with server :bugs:
39
15
   Probably using D-Bus
40
 
*** Client class
41
 
*** Main server
42
 
    + SetLogLevel
43
 
      syslogger.setLevel(logging.WARNING)
44
 
    + [[http://log.ometer.com/2007-05.html][Best D-Bus practices]]
45
 
** TODO Implement --foreground                  :BUGS:
 
16
   See also [[*Mandos-tools]]
 
17
** TODO Implement --foreground                  :bugs:
46
18
   [[info:standards:Option%20Table][Table of Long Options]]
47
19
** TODO Implement --socket
48
20
   [[info:standards:Option%20Table][Table of Long Options]]
49
 
** TODO Date+time on console log messages       :BUGS:
 
21
** TODO Date+time on console log messages       :bugs:
50
22
   Is this the default?
51
 
** TODO Split IPv6_TCPServer into a generic and Mandos-specific class
52
 
** TODO move handle_ipc out of IPv6_TCPServer
53
 
** TODO DBusServiceObjectUsingSuper
54
 
** Global enable/disable flag
55
 
** By-client countdown on secrets given
56
 
 
57
 
* mandos.xml
58
 
** [[file:mandos.xml::XXX][Document D-Bus interface]]
59
 
 
60
 
* Provide and install /etc/dbus-1/system.d/mandos.conf
61
 
 
62
 
* mandos-ctl
63
 
*** Handle "no D-Bus server" and/or "no Mandos server found" better
64
 
*** [#B] --dump option
65
 
 
66
 
* mandos-name
67
 
** D-Bus mail loop w/ signal receiver
68
 
** Urwid/Newt client data displayer
69
 
*** Urwid scaffolding
70
 
*** Client Widgets
71
 
*** Properties popup
 
23
** TODO delete hook when clients fall out by timeout
 
24
 
 
25
* Mandos-tools/utilities
 
26
  All of this probably using D-Bus
 
27
** TODO List clients
 
28
** TODO Disable client
 
29
** TODO Enable client
 
30
** TODO Reset timer
72
31
 
73
32
* mandos-keygen
74
 
** TODO Loop until passwords match when run interactively
75
33
** TODO "--secfile" option
76
34
   Using the "secfile" option instead of "secret"
77
35
** TODO [#B] "--test" option
78
36
   For testing decryption before rebooting.
79
37
 
80
 
* Package
 
38
* [#A] Package
81
39
** /usr/share/initramfs-tools/hooks/mandos
82
 
*** TODO [#C] use same file name rules as run-parts(8)
83
 
*** TODO [#C] Do not install in initrd.img if configured not to.
84
 
    Use "/etc/initramfs-tools/hooksconf.d/mandos"?
85
 
** TODO [#C] /etc/bash_completion.d/mandos
 
40
*** TODO Do not install in initrd.img if configured not to.
 
41
    Use "/etc/initramfs-tools/conf.d/mandos"?  Definitely a debconf
 
42
    question.
 
43
** TODO /etc/bash_completion.d/mandos
86
44
   From XML sources directly?
87
45
 
88
46