/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: 2012-06-23 00:58:49 UTC
  • Revision ID: teddy@recompile.se-20120623005849-02wj82cng433rt2k
* clients.conf: Convert all time intervals to new RFC 3339 syntax.
* mandos: All client options for time intervals now take an RFC 3339
          duration.
  (rfc3339_duration_to_delta): New function.
  (string_to_delta): Try rfc3339_duration_to_delta first.
* mandos-clients.conf.xml (OPTIONS/timeout): Document new format.
  (EXAMPLE): Update to new interval format.
  (SEE ALSO): Reference RFC 3339.

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
 
 
14
5
* mandos-applet
15
6
 
16
7
* mandos-client
17
 
** TODO [#A] Wireless network hook
18
8
** TODO [#B] Use capabilities instead of seteuid().
19
9
** TODO [#B] Use struct sockaddr_storage instead of a union
20
10
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
21
11
** TODO [#B] Use getnameinfo(serv=NULL, NI_NUMERICHOST) instead of inet_ntop()
22
12
** TODO [#B] Prefer /run/tmp over /tmp, if it exists
 
13
** TODO [#C] Make start_mandos_communication() take "struct server".
23
14
 
24
15
* splashy
25
16
** TODO [#B] use scandir(3) instead of readdir(3)
27
18
* usplash (Deprecated)
28
19
** TODO [#A] Make it work again
29
20
** TODO [#B] use scandir(3) instead of readdir(3)
30
 
** TODO Use [[info:libc:Argz%20Functions][argz_extract]]
31
21
 
32
22
* askpass-fifo
33
23
** TODO [#B] Drop privileges after opening FIFO.
41
31
 
42
32
* plugin-runner
43
33
** TODO handle printing for errors for plugins
44
 
*** Hook up stderr of plugins, buffer them, and prepend mandos pluig [plugin name]
 
34
*** Hook up stderr of plugins, buffer them, and prepend "Mandos Plugin [plugin name]"
45
35
** TODO [#B] use scandir(3) instead of readdir(3)
46
36
** TODO [#C] use same file name rules as run-parts(8)
47
37
** kernel command line option for debug info
48
38
** TODO [#B] Use openat()
49
39
 
50
40
* mandos (server)
51
 
** TODO Document why we ignore sigint
52
41
** TODO [#B] Log level                                                    :BUGS:
53
42
*** TODO /etc/mandos/clients.d/*.conf
54
43
    Watch this directory and add/remove/update clients?
55
44
** TODO [#C] config for TXT record
56
45
** TODO Log level dbus option
57
46
   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]]
62
47
** TODO [#C] DBusServiceObjectUsingSuper
63
48
** TODO [#B] Global enable/disable flag
64
49
** TODO [#B] By-client countdown on number of secrets given
65
 
** TODO [#B] Support RFC 3339 time duration syntax
66
 
** More D-Bus methods
67
 
*** NeedsPassword(50) - Timeout, default disapprove
 
50
** D-Bus Client method NeedsPassword(50) - Timeout, default disapprove
68
51
    + SetPass(u"gazonk", True) -> Approval, persistent
69
52
    + Approve(False) -> Close client connection immediately
70
53
** TODO [#C] python-parsedatetime
78
61
** TODO Allow %%(checker)s as a runtime expansion
79
62
** TODO Use python-tlslite?
80
63
** 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/
81
75
 
82
76
* mandos.xml
83
77
** Add mandos contact info in manual pages
85
79
* mandos-ctl
86
80
*** Handle "no D-Bus server" and/or "no Mandos server found" better
87
81
*** [#B] --dump option
88
 
** TODO Support RFC 3339 time duration syntax
89
82
 
90
83
* TODO mandos-dispatch
91
84
  Listens for specified D-Bus signals and spawns shell commands with