8
** TODO [#A] Wireless network hook
9
8
** TODO [#B] Use capabilities instead of seteuid().
10
9
** TODO [#B] Use struct sockaddr_storage instead of a union
11
10
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
12
11
** TODO [#B] Use getnameinfo(serv=NULL, NI_NUMERICHOST) instead of inet_ntop()
13
12
** TODO [#B] Prefer /run/tmp over /tmp, if it exists
14
** TODO [#B] Use in_port_t instead of uint16_t for port numbers.
13
** TODO [#C] Make start_mandos_communication() take "struct server".
17
16
** TODO [#B] use scandir(3) instead of readdir(3)
35
33
** TODO handle printing for errors for plugins
36
*** 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]"
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
37
** kernel command line option for debug info
40
38
** TODO [#B] Use openat()
43
** TODO Document why we ignore sigint
44
41
** TODO [#B] Log level :BUGS:
45
42
*** TODO /etc/mandos/clients.d/*.conf
46
43
Watch this directory and add/remove/update clients?
47
44
** TODO [#C] config for TXT record
48
45
** TODO Log level dbus option
49
46
SetLogLevel D-Bus call
50
** TODO Implement --foreground :BUGS:
51
[[info:standards:Option%20Table][Table of Long Options]]
52
** TODO Implement --socket
53
[[info:standards:Option%20Table][Table of Long Options]]
54
47
** TODO [#C] DBusServiceObjectUsingSuper
55
48
** TODO [#B] Global enable/disable flag
56
49
** TODO [#B] By-client countdown on number of secrets given
57
** TODO [#B] Support RFC 3339 time duration syntax
59
*** NeedsPassword(50) - Timeout, default disapprove
50
** D-Bus Client method NeedsPassword(50) - Timeout, default disapprove
60
51
+ SetPass(u"gazonk", True) -> Approval, persistent
61
52
+ Approve(False) -> Close client connection immediately
62
53
** TODO [#C] python-parsedatetime
70
61
** TODO Allow %%(checker)s as a runtime expansion
71
62
** TODO Use python-tlslite?
72
63
** TODO D-Bus AddClient() method on server object
73
** TODO Use org.freedesktop.DBus.Method.NoReply annotation on async methods.
74
** TODO Emit [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties][org.freedesktop.DBus.Properties.PropertiesChanged]] signal
64
** TODO Use org.freedesktop.DBus.Method.NoReply annotation on async methods. :2:
65
** TODO Emit [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties][org.freedesktop.DBus.Properties.PropertiesChanged]] signal :2:
75
66
TODO Deprecate se.recompile.Mandos.Client.PropertyChanged - annotate!
76
67
TODO Can use "invalidates" annotation to also emit on changed secret.
77
** TODO Support [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager][org.freedesktop.DBus.ObjectManager]] interface on server object
68
** TODO Support [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager][org.freedesktop.DBus.ObjectManager]] interface on server object :2:
78
69
Deprecate methods GetAllClients(), GetAllClientsWithProperties()
79
70
and signals ClientAdded and ClientRemoved.
80
71
** TODO Save state periodically to recover better from hard shutdowns
81
72
** TODO CheckerCompleted method, deprecate CheckedOK
82
73
** TODO Secret Service API?
83
74
http://standards.freedesktop.org/secret-service/
84
** TODO [[info:python:What's%20New%20in%20Python%202%206][What's New in Python 2.6]]
85
*** Start at [[info:python:PEP%203101%20Advanced%20String%20Formatting][PEP 3101 Advanced String Formatting]]
75
** TODO Remove D-Bus interfaces with old domain name :2:
76
** TODO Remove old string_to_delta format :2:
88
79
** Add mandos contact info in manual pages
91
82
*** Handle "no D-Bus server" and/or "no Mandos server found" better
92
83
*** [#B] --dump option
93
** TODO Support RFC 3339 time duration syntax
84
** TODO Remove old string_to_delta format :2:
95
86
* TODO mandos-dispatch
96
87
Listens for specified D-Bus signals and spawns shell commands with
102
93
Better view of client data in the listing
103
94
*** Properties popup
104
95
** Print a nice "We are sorry" message, save stack trace to log.
105
** Show timeout countdown for approval
108
98
** TODO "--secfile" option