/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: 2011-11-29 19:25:06 UTC
  • mto: (518.1.13 mandos-persistent)
  • mto: This revision was merged to the branch mainline in revision 524.
  • Revision ID: teddy@recompile.se-20111129192506-nifzr9eyvhtjl0ld
* mandos (ClientDBus.Host_dbus_property,
  ClientDBus.Checker_dbus_property): Bug fix: force value to unicode.
  (main): Bug fix: Corrected logic for enabling expired restored
          clients.

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