/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 at recompile
  • Date: 2011-12-27 12:15:06 UTC
  • Revision ID: teddy@recompile.se-20111227121506-2qqqdy8evr9ts2ub
Add TODO entries about new D-Bus features we should use.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
* [[http://www.undeadly.org/cgi?action=article&sid=20110530221728][OpenBSD]]
4
4
 
 
5
* mandos
 
6
** Use org.freedesktop.DBus.Method.NoReply annotation on async methods.
 
7
** Emit [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties][org.freedesktop.DBus.Properties.PropertiesChanged]] signal
 
8
   Deprecate se.recompile.Mandos.Client.PropertyChanged - annotate!
 
9
   Can use "invalidates" annotation to also emit on changed secret.
 
10
** Support [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager][org.freedesktop.DBus.ObjectManager]] interface on server object
 
11
   Deprecate methods GetAllClients(), GetAllClientsWithProperties()
 
12
   and signals ClientAdded and ClientRemoved.
 
13
 
5
14
* mandos-applet
6
15
 
7
16
* mandos-client
 
17
** TODO [#A] Wireless network hook
8
18
** TODO [#B] Use capabilities instead of seteuid().
9
19
** TODO [#B] Use struct sockaddr_storage instead of a union
10
20
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
11
21
** TODO [#B] Use getnameinfo(serv=NULL, NI_NUMERICHOST) instead of inet_ntop()
12
22
** TODO [#B] Prefer /run/tmp over /tmp, if it exists
13
 
** TODO [#C] Make start_mandos_communication() take "struct server".
14
23
 
15
24
* splashy
16
25
** TODO [#B] use scandir(3) instead of readdir(3)
18
27
* usplash (Deprecated)
19
28
** TODO [#A] Make it work again
20
29
** TODO [#B] use scandir(3) instead of readdir(3)
 
30
** TODO Use [[info:libc:Argz%20Functions][argz_extract]]
21
31
 
22
32
* askpass-fifo
23
33
** TODO [#B] Drop privileges after opening FIFO.
31
41
 
32
42
* plugin-runner
33
43
** TODO handle printing for errors for plugins
34
 
*** Hook up stderr of plugins, buffer them, and prepend "Mandos Plugin [plugin name]"
 
44
*** Hook up stderr of plugins, buffer them, and prepend mandos pluig [plugin name]
35
45
** TODO [#B] use scandir(3) instead of readdir(3)
36
46
** TODO [#C] use same file name rules as run-parts(8)
37
47
** kernel command line option for debug info
38
48
** TODO [#B] Use openat()
39
49
 
40
50
* mandos (server)
 
51
** TODO Document why we ignore sigint
41
52
** TODO [#B] Log level                                                    :BUGS:
42
53
*** TODO /etc/mandos/clients.d/*.conf
43
54
    Watch this directory and add/remove/update clients?
44
55
** TODO [#C] config for TXT record
45
56
** TODO Log level dbus option
46
57
   SetLogLevel D-Bus call
 
58
** TODO Implement --foreground                                            :BUGS:
 
59
   [[info:standards:Option%20Table][Table of Long Options]]
 
60
** TODO Implement --socket
 
61
   [[info:standards:Option%20Table][Table of Long Options]]
47
62
** TODO [#C] DBusServiceObjectUsingSuper
48
63
** TODO [#B] Global enable/disable flag
49
64
** TODO [#B] By-client countdown on number of secrets given
50
 
** D-Bus Client method NeedsPassword(50) - Timeout, default disapprove
 
65
** TODO [#B] Support RFC 3339 time duration syntax
 
66
** More D-Bus methods
 
67
*** NeedsPassword(50) - Timeout, default disapprove
51
68
    + SetPass(u"gazonk", True) -> Approval, persistent
52
69
    + Approve(False) -> Close client connection immediately
53
70
** TODO [#C] python-parsedatetime
61
78
** TODO Allow %%(checker)s as a runtime expansion
62
79
** TODO Use python-tlslite?
63
80
** TODO D-Bus AddClient() method on server object
64
 
** TODO Use org.freedesktop.DBus.Method.NoReply annotation on async methods.
65
 
** TODO Emit [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties][org.freedesktop.DBus.Properties.PropertiesChanged]] signal
66
 
   TODO Deprecate se.recompile.Mandos.Client.PropertyChanged - annotate!
67
 
   TODO Can use "invalidates" annotation to also emit on changed secret.
68
 
** TODO Support [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager][org.freedesktop.DBus.ObjectManager]] interface on server object
69
 
   Deprecate methods GetAllClients(), GetAllClientsWithProperties()
70
 
   and signals ClientAdded and ClientRemoved.
71
 
** TODO Save state periodically to recover better from hard shutdowns
72
 
** TODO CheckerCompleted method, deprecate CheckedOK
73
 
** TODO Secret Service API?
74
 
   http://standards.freedesktop.org/secret-service/
75
81
 
76
82
* mandos.xml
77
83
** Add mandos contact info in manual pages
79
85
* mandos-ctl
80
86
*** Handle "no D-Bus server" and/or "no Mandos server found" better
81
87
*** [#B] --dump option
 
88
** TODO Support RFC 3339 time duration syntax
82
89
 
83
90
* TODO mandos-dispatch
84
91
  Listens for specified D-Bus signals and spawns shell commands with