/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to TODO

More consistent terminology: Clients are no longer "invalid" - they
are "disabled".  All code and documentation changed to reflect this.

D=Bus API change: The "properties" argument was removed from the
"ClientAdded" signal on interface "se.bsnet.fukt.Mandos".  All code in
both "mandos" and "mandos-monitor" changed to reflect this.

* mandos: Replaced "with closing(F)" with simply "with F" in all
          places where F is a file object.
  (Client.still_valid): Removed.  All callers changed to look at
                        "Client.enabled" instead.
  (dbus_service_property): Check for unsupported signatures with the
                           "byte_arrays" option.
  (DBusObjectWithProperties.Set): - '' -
  (ClientHandler.handle): Use the reverse pipe to receive the
                          "Client.enabled" attribute instead of the
                          now-removed "Client.still_valid()" method.
  (ForkingMixInWithPipe): Renamed to "ForkingMixInWithPipes" (all
                          users changed).  Now also create a reverse
                          pipe for sending data to the child process.
  (ForkingMixInWithPipes.add_pipe): Now takes two pipe fd's as
                                    arguments.  All callers changed.
  (IPv6_TCPServer.handle_ipc): Take an additional "reply_fd" argument
                               (all callers changed).  Close the reply
                               pipe when the child data pipe is
                               closed.  New "GETATTR" IPC method; will
                               pickle client attribute and send it
                               over the reply pipe FD.
  (MandosDBusService.ClientAdded): Removed "properties" argument.  All
                                   emitters changed.
* mandos-clients.conf.xml (DESCRIPTION, OPTIONS): Use
                                                  "enabled/disabled"
                                                  terminology.
* mandos-ctl: Option "--is-valid" renamed to "--is-enabled".
* mandos-monitor: Enable user locale.  Try to log exceptions.
  (MandosClientPropertyCache.__init__): Removed "properties" argument.
                                        All callers changed.
  (UserInterface.add_new_client): Remove "properties" argument.  All
                                  callers changed.  Supply "logger"
                                  argument to MandosClientWidget().
  (UserInterface.add_client): New "logger" argument.  All callers
                              changed.
* mandos.xml (BUGS, SECURITY/CLIENTS): Use "enabled/disabled"
                                       terminology.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
* mandos-client
4
4
** TODO [#B] use scandir(3) instead of readdir(3)
5
 
** TODO [#B] Prefix all debug output with argv[0]
 
5
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
6
** TODO use error() instead of perror()
6
7
** TODO [#B] Retry a server which has a non-definite reply:
7
8
*** A closed connection during the TLS handshake
8
9
*** A TCP timeout
10
11
 
11
12
* splashy
12
13
** TODO [#B] use scandir(3) instead of readdir(3)
13
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
 
14
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
15
** TODO use error() instead of perror()
14
16
 
15
17
* usplash
16
18
** TODO [#B] use scandir(3) instead of readdir(3)
17
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
 
19
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
20
** TODO use error() instead of perror()
18
21
 
19
22
* askpass-fifo
20
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
 
23
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
24
** TODO use error() instead of perror()
21
25
** TODO [#B] Drop privileges after opening FIFO.
22
26
 
23
27
* password-prompt
24
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
 
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()?)
25
31
 
26
32
* TODO passdev
27
33
 
28
34
* plugin-runner
29
35
** TODO [#B] use scandir(3) instead of readdir(3)
30
36
** TODO [#C] use same file name rules as run-parts(8)
 
37
** TODO use error() instead of perror()
31
38
 
32
39
* mandos (server)
33
40
** TODO [#B] Log level                          :BUGS:
61
68
   secret
62
69
** TODO Persistent state
63
70
   /var/lib/mandos/*
 
71
** TODO Support RFC 3339 time duration syntax
64
72
 
65
73
* mandos.xml
66
74
** [[file:mandos.xml::XXX][Document D-Bus interface]]
70
78
* mandos-ctl
71
79
*** Handle "no D-Bus server" and/or "no Mandos server found" better
72
80
*** [#B] --dump option
 
81
** TODO Support RFC 3339 time duration syntax
73
82
 
74
83
* TODO mandos-dispatch
75
84
  Listens for specified D-Bus signals and spawns shell commands with
76
85
  arguments.
77
86
 
78
87
* mandos-monitor
79
 
** D-Bus main loop w/ signal receiver
80
88
** Urwid client data displayer
81
 
*** Urwid scaffolding
82
 
*** Client Widgets
83
89
*** Properties popup
84
90
 
85
91
* mandos-keygen