3
* Use _attribute_((nonnull)) wherever possible.
7
* Convert README into intro(8mandos) man page
3
* _attribute_((nonnull))
7
** TODO [#B] use scandir(3) instead of readdir(3)
8
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
9
** TODO use error() instead of perror()
10
** TODO [#B] Retry a server which has a non-definite reply:
11
*** A closed connection during the TLS handshake
10
13
** TODO [#B] Use capabilities instead of seteuid().
11
** TODO [#B] Use struct sockaddr_storage instead of a union
12
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
13
** TODO [#B] Use getnameinfo(serv=NULL, NI_NUMERICHOST) instead of inet_ntop()
14
** TODO [#A] Retry --connect forever
16
17
** TODO [#B] use scandir(3) instead of readdir(3)
18
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
19
** TODO [#B] use error() instead of perror()
19
22
** TODO [#A] Make it work again
20
23
** TODO [#B] use scandir(3) instead of readdir(3)
21
** TODO Use [[info:libc:Argz%20Functions][argz_extract]]
24
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
25
** TODO [#B] use error() instead of perror()
28
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
29
** TODO [#B] use error() instead of perror()
24
30
** TODO [#B] Drop privileges after opening FIFO.
33
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
34
** TODO [#B] use error() instead of perror()
27
35
** TODO [#B] lock stdin (with flock()?)
31
37
* TODO [#B] passdev
34
** TODO handle printing for errors for plugins
35
*** Hook up stderr of plugins, buffer them, and prepend mandos pluig [plugin name]
36
40
** TODO [#B] use scandir(3) instead of readdir(3)
37
41
** TODO [#C] use same file name rules as run-parts(8)
38
42
** kernel command line option for debug info
39
** TODO [#B] Use openat()
43
** TODO [#B] use error() instead of perror()
44
** TODO [$B] Use openat() and readdir64()
45
http://udrepper.livejournal.com/19395.html
42
48
** TODO [#B] Log level :BUGS:
70
76
** More D-Bus methods
71
77
*** NeedsApproval(50, True) -> timeout, default approve
72
78
Default approval is configurable, but True by default
73
+ Approve(True) -> approve sending saved
74
+ Approve(False) -> Close client connection immediately
79
+ Approval(True) -> approve sending saved
80
+ Approval(False) -> Close client connection immediately
75
81
*** NeedsPassword(50) - Timeout, default disapprove
76
82
+ SetPass(u"gazonk", True) -> Approval, persistent
77
+ Approve(False) -> Close client connection immediately
83
+ Approval(False) -> Close client connection immediately
78
84
** TODO [#C] python-parsedatetime
79
85
** TODO [#C] systemd/launchd
80
86
http://0pointer.de/blog/projects/systemd.html
81
87
** TODO Separate logging logic to own object
82
88
** TODO make clients to a dict!
83
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
84
** TODO [#B] break the wait on approval_delay if connection dies
85
** TODO Generate Client.runtime_expansions from client options + extra
86
** TODO Allow %%(checker)s as a runtime expansion
87
** TODO Use python-tlslite?
89
** TODO PropertyChanged should be a python generic property for client variables
92
** [[file:mandos.xml::XXX][Document D-Bus interface]]
93
Remove mention of lack of such interface in BUGS section
90
94
** Add mandos contact info in manual pages
96
* TODO [#A] Provide and install /etc/dbus-1/system.d/mandos.conf
93
99
*** Handle "no D-Bus server" and/or "no Mandos server found" better
94
100
*** [#B] --dump option
102
** TODO help should be toggleable
103
108
** Urwid client data displayer
104
109
Better view of client data in the listing
105
110
*** Properties popup
106
111
** Nicer crashes. Stack traces Messes up shell.
107
112
*** Print a nice "We are sorry" message, save stack trace to log.
108
** Show timeout countdown for approval
111
115
** TODO Loop until passwords match when run interactively