14
15
** TODO [#B] Use capabilities instead of seteuid().
15
16
** TODO [#A] Retry --connect forever
17
** TODO [#B] Use struct sockaddr_storage instead of a union
18
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
19
** TODO [#B] Use getnameinfo(serv=NULL, NI_NUMERICHOST) instead of inet_ntop()
20
** TODO [#B] Accept [] around IPv6 address in --connect option; see [[http://tools.ietf.org/html/rfc5952][RFC 5952 - A Recommendation for IPv6 Address Text Representation]]
18
23
** TODO [#B] use scandir(3) instead of readdir(3)
32
37
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
33
38
** TODO [#B] lock stdin (with flock()?)
39
** TODO [#A] Free direntries after scandir()
36
** TODO Use [[info:libc:Argz%20Functions][argz_extract]]
42
** TODO [#A] Free direntries after scandir()
38
44
* TODO [#B] passdev
41
47
** TODO [#B] use scandir(3) instead of readdir(3)
42
48
** TODO [#C] use same file name rules as run-parts(8)
43
49
** kernel command line option for debug info
44
** TODO [$B] Use openat() and readdir64()
45
http://udrepper.livejournal.com/19395.html
50
** TODO [#B] Use openat()
48
53
** TODO [#B] Log level :BUGS:
76
81
** More D-Bus methods
77
82
*** NeedsApproval(50, True) -> timeout, default approve
78
83
Default approval is configurable, but True by default
79
+ Approval(True) -> approve sending saved
80
+ Approval(False) -> Close client connection immediately
84
+ Approve(True) -> approve sending saved
85
+ Approve(False) -> Close client connection immediately
81
86
*** NeedsPassword(50) - Timeout, default disapprove
82
87
+ SetPass(u"gazonk", True) -> Approval, persistent
83
+ Approval(False) -> Close client connection immediately
88
+ Approve(False) -> Close client connection immediately
84
89
** TODO [#C] python-parsedatetime
85
90
** TODO [#C] systemd/launchd
86
91
http://0pointer.de/blog/projects/systemd.html
87
92
** TODO Separate logging logic to own object
88
93
** TODO make clients to a dict!
89
** TODO PropertyChanged should be a python generic property for client variables
94
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
95
** TODO [#B] break the wait on approval_delay if connection dies
96
** TODO Generate Client.runtime_expansions from client options + extra
97
** TODO Allow %%(checker)s as a runtime expansion
98
** TODO Use python-tlslite?
92
** [[file:mandos.xml::XXX][Document D-Bus interface]]
93
Remove mention of lack of such interface in BUGS section
94
101
** Add mandos contact info in manual pages
96
* TODO [#A] Provide and install /etc/dbus-1/system.d/mandos.conf
99
104
*** Handle "no D-Bus server" and/or "no Mandos server found" better
100
105
*** [#B] --dump option
111
116
*** Properties popup
112
117
** Nicer crashes. Stack traces Messes up shell.
113
118
*** Print a nice "We are sorry" message, save stack trace to log.
119
** Show timeout countdown for approval
116
122
** TODO Loop until passwords match when run interactively