/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-11-15 10:12:09 UTC
  • Revision ID: teddy@fukt.bsnet.se-20091115101209-d0zrfwkp6u0l7v7b
* mandos (MandosServer.handle_ipc): Better log message.
  (main/MandosDBusService.ClientNotFound): Add "address" argument.
                                           All callers changed.
* mandos-monitor (MandosClientWidget.__init__): Add "logger" argument.
  (MandosClientWidget.checker_completed,
  MandosClientWidget.checker_started, MandosClientWidget.got_secret,
  MandosClientWidget.rejected): New methods, connected to signals.
  (MandosClientWidget.update): Improve display.
  (UserInterface.client_not_found): New method, conneced to signal.
  (UserInterface.log_message): New; log with timestamp.
  (UserInterface.log_message_raw): Same as old "log_message".  Bug
                                  fix; always do "refresh()".

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