/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-09-18 15:59:05 UTC
  • mfrom: (24.1.179 mandos)
  • Revision ID: teddy@fukt.bsnet.se-20110918155905-ngj2ig0yheralj1s
* DBUS-API: Document new "Expires" and "ExtendedTimeout" properties.
* README: Refer to the installed manual page more simply.
* mandos (Client.extended_timeout, Client.expires): New attributes.
  (Client.extended_timeout_milliseconds): New.
  (Client.__init__, Client.enable, Client.disable): Set new attributes.
  (Client.checked_ok): Take new "timeout" argument.
  (ClientDBus.expires): Transform into a property which sends a D-Bus
                        signal when changed.
  (ClientDBus._datetime_to_dbus): Return empty D-Bus string on None.
                                  All callers changed to use this.

  (ClientDBus.ApprovedByDefault_dbus_property,
  ClientDBus.ApprovalDelay_dbus_property,
  ClientDBus.ApprovalDuration_dbus_property,
  ClientDBus.Host_dbus_property, ClientDBus.Timeout_dbus_property,
  ClientDBus.Interval_dbus_property,
  ClientDBus.Checker_dbus_property): Bug fix: Only send D-Bus signal
                                     if new value is different.
  (ClientDBus.Timeout_dbus_property): Use new "expires" attribute.
  (ClientDBus.Expires_dbus_property,
  ClientDBus.ExtendedTimeout_dbus_property): New D-Bus properties.
  (ClientHandler.handle): Bump time using extended_timeout value.
  (main.client_defaults): Change default values of "timeout" and
                          "interval", added new default value for
                          "extended_timeout".
* mandos-clients.conf.xml (OPTIONS): Changed default values of
                                     "interval" and "timeout".  Add
                                     new "extended_timeout" option.
  (EXAMPLE): Updated default values.
* mandos-ctl: Show new "ExtendedTimeout" D-Bus property and change it
              using new "--extended-timeout" option.
* mandos-ctl.xml (SYNOPSIS, OPTIONS): Document new
                                      "--extended-timeout" option.
* mandos-monitor (MandosClientWidget.update): Use new "Expires" D-Bus
                                              property.
* mandos.xml (DESCRIPTION): Add reference to intro(8mandos) manual
                            page.
  (CHECKING): Refer to the new "extended_timeout" option in
  clients.conf.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
* Use _attribute_((nonnull)) wherever possible.
4
4
 
 
5
* mandos-applet
 
6
 
5
7
* mandos-client
6
 
** TODO [#B] use scandir(3) instead of readdir(3)
7
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
8
 
** TODO use error() instead of perror()
9
 
** TODO [#B] Retry a server which has a non-definite reply:
10
 
*** A closed connection during the TLS handshake
11
 
*** A TCP timeout
12
8
** TODO [#B] Use capabilities instead of seteuid().
13
 
** TODO [#A] Retry --connect forever
 
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
14
13
 
15
14
* splashy
16
15
** TODO [#B] use scandir(3) instead of readdir(3)
17
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
18
 
** TODO [#B] use error() instead of perror()
19
16
 
20
17
* usplash
21
18
** TODO [#A] Make it work again
22
19
** TODO [#B] use scandir(3) instead of readdir(3)
23
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
24
 
** TODO [#B] use error() instead of perror()
 
20
** TODO Use [[info:libc:Argz%20Functions][argz_extract]]
25
21
 
26
22
* askpass-fifo
27
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
28
 
** TODO [#B] use error() instead of perror()
29
23
** TODO [#B] Drop privileges after opening FIFO.
30
24
 
31
25
* password-prompt
32
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
33
 
** TODO [#B] use error() instead of perror()
34
26
** TODO [#B] lock stdin (with flock()?)
35
27
 
 
28
* plymouth
 
29
 
36
30
* TODO [#B] passdev
37
31
 
38
32
* plugin-runner
 
33
** TODO handle printing for errors for plugins
 
34
*** Hook up stderr of plugins, buffer them, and prepend mandos pluig [plugin name]
39
35
** TODO [#B] use scandir(3) instead of readdir(3)
40
36
** TODO [#C] use same file name rules as run-parts(8)
41
37
** kernel command line option for debug info
42
 
** TODO [#B] use error() instead of perror()
43
38
** TODO [#B] Use openat()
44
39
 
45
40
* mandos (server)
 
41
** TODO [#A] Make all attributes properties!
46
42
** TODO [#B] Log level                                                    :BUGS:
47
43
** TODO Persistent state                                                  :BUGS:
48
44
   /var/lib/mandos/*
64
60
** TODO [#B] Fix problem with fsck taking a really long time
65
61
   Whenever a client successfully gets a secret it could get a
66
62
   one-time timeout boost to allow for an fsck-incurred delay
67
 
** TODO [#A] Delay before client receives key
68
 
   This would give an operator opportunity to cancel the request if
69
 
   desired.
70
 
** TODO [#A] Client manual approval mode
71
 
   A client needs manual approval on the server before it gets the
72
 
   secret
73
63
** TODO [#B] Support RFC 3339 time duration syntax
74
64
** More D-Bus methods
75
 
*** NeedsApproval(50, True) -> timeout, default approve
76
 
    Default approval is configurable, but True by default
77
 
    + Approve(True) -> approve sending saved
78
 
    + Approve(False) -> Close client connection immediately
79
65
*** NeedsPassword(50) - Timeout, default disapprove
80
66
    + SetPass(u"gazonk", True) -> Approval, persistent
81
67
    + Approve(False) -> Close client connection immediately
82
68
** TODO [#C] python-parsedatetime
83
69
** TODO [#C] systemd/launchd
84
70
   http://0pointer.de/blog/projects/systemd.html
 
71
** TODO Separate logging logic to own object
 
72
** TODO make clients to a dict!
 
73
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
 
74
** TODO [#B] break the wait on approval_delay if connection dies
 
75
** TODO Generate Client.runtime_expansions from client options + extra
 
76
** TODO Allow %%(checker)s as a runtime expansion
 
77
** TODO Use python-tlslite?
85
78
 
86
79
* mandos.xml
87
 
** [[file:mandos.xml::XXX][Document D-Bus interface]]
88
 
   Remove mention of lack of such interface in BUGS section
89
80
** Add mandos contact info in manual pages
90
81
 
91
 
* TODO [#A] Provide and install /etc/dbus-1/system.d/mandos.conf
92
 
 
93
82
* mandos-ctl
94
83
*** Handle "no D-Bus server" and/or "no Mandos server found" better
95
84
*** [#B] --dump option
100
89
  arguments.
101
90
 
102
91
* mandos-monitor
 
92
** TODO help should be toggleable
103
93
** Urwid client data displayer
104
94
   Better view of client data in the listing
105
95
*** Properties popup
 
96
** Nicer crashes. Stack traces Messes up shell.
 
97
*** Print a nice "We are sorry" message, save stack trace to log.
 
98
** Show timeout countdown for approval
106
99
 
107
100
* mandos-keygen
108
 
** TODO Loop until passwords match when run interactively
109
101
** TODO "--secfile" option
110
102
   Using the "secfile" option instead of "secret"
111
103
** TODO [#B] "--test" option
112
104
   For testing decryption before rebooting.
113
105
 
114
106
* Makefile
115
 
** TODO Add "--Xlinker --as-needed"
116
 
   http://udrepper.livejournal.com/19395.html
117
107
** TODO [#C] Implement DEB_BUILD_OPTIONS
118
108
   http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
119
109
 
125
115
** TODO [#C] /etc/bash_completion.d/mandos
126
116
   From XML sources directly?
127
117
 
 
118
* Side Stuff
 
119
** TODO Locate which packet move the other bin/sh when busy box is deactivated
 
120
** TODO contact owner of packet, and ask them to have that shell static in position regardless of busybox
 
121
 
128
122
 
129
123
#+STARTUP: showall