/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-08 04:41:37 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090908044137-4cxubotvn4etoxxl
* plugins.d/mandos-client.c (main): Bug fix: Check result of setgid().
                                    Bug fix: If taking down network
                                    interface, do not drop privileges
                                    completely; save them and reassert
                                    privileges when needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
-*- org -*-
2
2
 
3
 
* [#A] README file
 
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]
4
28
 
5
29
* plugin-runner
6
 
** [#B] Add more comments to code
7
 
** [#B] Add more if(debug) calls
8
 
** [#B] Seperate more code to function for more readability
9
 
 
10
 
* password-request
11
 
** [#B] Temporarily lower kernel log level
12
 
   for less printouts during sucessfull boot.
13
 
** IPv4 support
14
 
** use strsep instead of strtok?
15
 
** Do not depend on GnuPG key rings on disk
16
 
   This would mean creating new GnuPG key rings with GPGME by
17
 
   importing the key files from scratch on every program start.
18
 
** Keydir move: /etc/mandos -> /etc/keys/mandos
19
 
   Must create in preinst if not pre-depending on cryptsetup
20
 
 
21
 
* password-prompt
22
 
** [#C] Use getpass(3)?
23
 
   Man page says "obsolete", but [[info:libc:getpass][GNU LibC Manual: Reading Passwords]]
24
 
   does not.  See also [[http://sources.redhat.com/ml/libc-alpha/2003-05/msg00251.html][Marcus Brinkmann: Re: getpass obsolete?]] and
25
 
   [[http://article.gmane.org/gmane.comp.lib.glibc.alpha/4906][Petter Reinholdtsen: Re: getpass obsolete?]], and especially also
26
 
   [[http://www.steve.org.uk/Reference/Unix/faq_4.html#SEC48][Unix Programming FAQ 3.1 How can I make my program not echo input?]]
 
30
** TODO [#B] use scandir(3) instead of readdir(3)
 
31
** TODO [#C] use same file name rules as run-parts(8)
27
32
 
28
33
* mandos (server)
29
 
** [#A] /etc/init.d/mandos-server               :teddy:
30
 
** [#B] Log level                               :bugs:
31
 
** /etc/mandos/clients.d/*.conf
 
34
** TODO [#B] Log level                          :BUGS:
 
35
** TODO /etc/mandos/clients.d/*.conf
32
36
   Watch this directory and add/remove/update clients?
33
 
** config for TXT record
34
 
** [#B] Run-time communication with server      :bugs:
 
37
** TODO config for TXT record
 
38
** TODO [#B] Run-time communication with server :BUGS:
35
39
   Probably using D-Bus
36
 
   See also [[*Mandos-tools]]
37
 
** Implement --foreground                       :bugs:
38
 
   [[info:standards:Option%20Table][Table of Long Options]]
39
 
** Implement --socket
40
 
   [[info:standards:Option%20Table][Table of Long Options]]
41
 
** Date+time on console log messages            :bugs:
 
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:
 
46
   [[info:standards:Option%20Table][Table of Long Options]]
 
47
** TODO Implement --socket
 
48
   [[info:standards:Option%20Table][Table of Long Options]]
 
49
** TODO Date+time on console log messages       :BUGS:
42
50
   Is this the default?
43
 
 
44
 
* Mandos-tools/utilities
45
 
  All of this probably using D-Bus
46
 
** List clients
47
 
** Disable client
48
 
** Enable client
49
 
 
50
 
* Man pages
51
 
** Use xinclude for common sections
52
 
   Like authors, etc.
53
 
 
54
 
 
55
 
* Installer
56
 
** Client-side
57
 
*** Update initrd.img after installation
58
 
    This seems to use some kind of "trigger" system
59
 
    [[file:/usr/share/doc/dpkg/triggers.txt.gz]]
60
 
    dpkg-trigger(1), deb-triggers(5)
61
 
*** Keydir move: /etc/mandos -> /etc/keys/mandos
62
 
    Must create in preinst if not pre-depending on cryptsetup
63
 
*** mandos-keygen
64
 
**** "--passfile" option
65
 
     Using the "secfile" option instead of "secret"
66
 
**** [#A] "--test" option
67
 
     For testing decryption before rebooting.
68
 
** Server-side
69
 
*** [#A] Create mandos user and group for server
70
 
*** [#A] Create /var/run/mandos directory with perm and ownership
71
 
 
72
 
* [#A] Package
 
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
 
72
 
 
73
* mandos-keygen
 
74
** TODO Loop until passwords match when run interactively
 
75
** TODO "--secfile" option
 
76
   Using the "secfile" option instead of "secret"
 
77
** TODO [#B] "--test" option
 
78
   For testing decryption before rebooting.
 
79
 
 
80
* Package
73
81
** /usr/share/initramfs-tools/hooks/mandos
74
 
*** Do not install in initrd.img if configured not to.
75
 
    Use "/etc/initramfs-tools/conf.d/mandos"?  Definitely a debconf
76
 
    question.
77
 
** /etc/bash_completion.d/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
78
86
   From XML sources directly?
79
 
** unperish
80
 
** bzr-builddeb
81
 
 
82
 
* INSTALL file
83
 
 
84
 
* Web site
85
 
 
86
 
* Mailing list
87
 
 
88
 
* Announce project on news
89
 
  [[news:comp.os.linux.announce]]
90
87
 
91
88
 
92
89
#+STARTUP: showall