/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-23 20:09:55 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090123200955-h9oy2hwyv8uly1op
* mandos (main): Bug fix: use "getint" on the "port" config file
                 option.
* plugins.d/mandos-client.c (main): Fixed spelling of
                                    "gnutls_initalized" and
                                    "gpgme_initalized".

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
-*- org -*-
2
2
 
3
 
* Use _attribute_((nonnull)) wherever possible.
4
 
 
5
 
* mandos-applet
6
 
 
7
3
* mandos-client
8
 
** TODO [#B] Use capabilities instead of seteuid().
9
 
** TODO [#B] Use struct sockaddr_storage instead of a union
10
 
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
11
 
** TODO [#B] Use getnameinfo(serv=NULL, NI_NUMERICHOST) instead of inet_ntop()
12
 
** TODO [#B] Prefer /run/tmp over /tmp, if it exists
13
 
 
14
 
* splashy
15
 
** TODO [#B] use scandir(3) instead of readdir(3)
16
 
 
17
 
* usplash
18
 
** TODO [#A] Make it work again
19
 
** TODO [#B] use scandir(3) instead of readdir(3)
20
 
** TODO Use [[info:libc:Argz%20Functions][argz_extract]]
21
 
 
22
 
* askpass-fifo
23
 
** TODO [#B] Drop privileges after opening FIFO.
24
 
 
25
 
* password-prompt
26
 
** TODO [#B] lock stdin (with flock()?)
27
 
 
28
 
* plymouth
29
 
 
30
 
* TODO [#B] 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
31
9
 
32
10
* plugin-runner
33
 
** TODO handle printing for errors for plugins
34
 
*** Hook up stderr of plugins, buffer them, and prepend mandos pluig [plugin name]
35
11
** TODO [#B] use scandir(3) instead of readdir(3)
36
 
** TODO [#C] use same file name rules as run-parts(8)
37
 
** kernel command line option for debug info
38
 
** TODO [#B] Use openat()
39
12
 
40
13
* mandos (server)
41
 
** TODO [#B] Log level                                                    :BUGS:
42
 
** TODO Persistent state                                                  :BUGS:
43
 
   /var/lib/mandos/*
44
 
*** TODO /etc/mandos/clients.d/*.conf
45
 
    Watch this directory and add/remove/update clients?
46
 
** TODO [#C] config for TXT record
47
 
** TODO Log level option
48
 
   syslogger.setLevel(logging.WARNING)
49
 
   + SetLogLevel D-Bus call
50
 
** TODO Implement --foreground                                            :BUGS:
 
14
** TODO [#B] Log level                          :bugs:
 
15
** TODO /etc/mandos/clients.d/*.conf
 
16
   Watch this directory and add/remove/update clients?
 
17
** TODO config for TXT record
 
18
** TODO [#B] Run-time communication with server :bugs:
 
19
   Probably using D-Bus
 
20
   See also [[*Mandos-tools]]
 
21
*** Client class
 
22
*** Main server
 
23
    + SetLogLevel
 
24
      syslogger.setLevel(logging.WARNING)
 
25
    + Quit
 
26
    + [[http://log.ometer.com/2007-05.html][Best D-Bus practices]]
 
27
** TODO Implement --foreground                  :bugs:
51
28
   [[info:standards:Option%20Table][Table of Long Options]]
52
29
** TODO Implement --socket
53
30
   [[info:standards:Option%20Table][Table of Long Options]]
54
 
** TODO Date+time on console log messages                                 :BUGS:
 
31
** TODO Date+time on console log messages       :bugs:
55
32
   Is this the default?
56
 
** TODO [#C] DBusServiceObjectUsingSuper
57
 
** TODO [#B] Global enable/disable flag
58
 
** TODO [#B] By-client countdown on secrets given
59
 
** TODO [#B] Fix problem with fsck taking a really long time
60
 
   Whenever a client successfully gets a secret it could get a
61
 
   one-time timeout boost to allow for an fsck-incurred delay
62
 
** TODO [#B] Support RFC 3339 time duration syntax
63
 
** More D-Bus methods
64
 
*** NeedsPassword(50) - Timeout, default disapprove
65
 
    + SetPass(u"gazonk", True) -> Approval, persistent
66
 
    + Approve(False) -> Close client connection immediately
67
 
** TODO [#C] python-parsedatetime
68
 
** TODO [#C] systemd/launchd
69
 
   http://0pointer.de/blog/projects/systemd.html
70
 
** TODO Separate logging logic to own object
71
 
** TODO make clients to a dict!
72
 
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
73
 
** TODO [#B] break the wait on approval_delay if connection dies
74
 
** TODO Generate Client.runtime_expansions from client options + extra
75
 
** TODO Allow %%(checker)s as a runtime expansion
76
 
** TODO Use python-tlslite?
 
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.
77
36
 
78
37
* mandos.xml
79
 
** Add mandos contact info in manual pages
80
 
 
81
 
* mandos-ctl
 
38
** [[file:mandos.xml::XXX][Document D-Bus interface]]
 
39
 
 
40
* Provide and install /etc/dbus-1/system.d/mandos.conf
 
41
 
 
42
* mandos-list
82
43
*** Handle "no D-Bus server" and/or "no Mandos server found" better
83
44
*** [#B] --dump option
84
 
** TODO Support RFC 3339 time duration syntax
85
 
 
86
 
* TODO mandos-dispatch
87
 
  Listens for specified D-Bus signals and spawns shell commands with
88
 
  arguments.
89
 
 
90
 
* mandos-monitor
91
 
** TODO help should be toggleable
92
 
** Urwid client data displayer
93
 
   Better view of client data in the listing
94
 
*** Properties popup
95
 
** Nicer crashes. Stack traces Messes up shell.
96
 
*** Print a nice "We are sorry" message, save stack trace to log.
97
 
** Show timeout countdown for approval
 
45
** TODO Disable client
 
46
** TODO Enable client
 
47
** TODO Reset timer
 
48
 
 
49
* Curses interface
98
50
 
99
51
* mandos-keygen
100
52
** TODO "--secfile" option
102
54
** TODO [#B] "--test" option
103
55
   For testing decryption before rebooting.
104
56
 
105
 
* Makefile
106
 
** TODO [#C] Implement DEB_BUILD_OPTIONS
107
 
   http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
108
 
 
109
57
* Package
110
58
** /usr/share/initramfs-tools/hooks/mandos
111
 
*** TODO [#C] use same file name rules as run-parts(8)
112
59
*** TODO [#C] Do not install in initrd.img if configured not to.
113
 
    Use "/etc/initramfs-tools/hooksconf.d/mandos"?
 
60
    Use "/etc/initramfs-tools/conf.d/mandos"?  Definitely a debconf
 
61
    question.
114
62
** TODO [#C] /etc/bash_completion.d/mandos
115
63
   From XML sources directly?
116
64
 
117
 
* Side Stuff
118
 
** TODO Locate which packet move the other bin/sh when busy box is deactivated
119
 
** TODO contact owner of packet, and ask them to have that shell static in position regardless of busybox
120
 
 
121
65
 
122
66
#+STARTUP: showall