3
* Use _attribute_((nonnull)) wherever possible.
8
** TODO [#B] Use capabilities instead of seteuid().
9
** TODO [#B] Use struct sockaddr_storage instead of a union
10
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
11
** TODO [#B] Use getnameinfo(serv=NULL, NI_NUMERICHOST) instead of inet_ntop()
12
** TODO [#B] Prefer /run/tmp over /tmp, if it exists
15
** TODO [#B] use scandir(3) instead of readdir(3)
18
** TODO [#A] Make it work again
19
** TODO [#B] use scandir(3) instead of readdir(3)
20
** TODO Use [[info:libc:Argz%20Functions][argz_extract]]
23
** TODO [#B] Drop privileges after opening FIFO.
26
** TODO [#B] lock stdin (with flock()?)
4
** TODO [#A] Clean up /tmp directory on signal
33
** TODO handle printing for errors for plugins
34
*** Hook up stderr of plugins, buffer them, and prepend mandos pluig [plugin name]
35
7
** TODO [#B] use scandir(3) instead of readdir(3)
36
** TODO [#C] use same file name rules as run-parts(8)
37
** kernel command line option for debug info
38
** TODO [#B] Use openat()
41
** TODO [#A] Make all attributes properties!
42
** TODO [#B] Log level :BUGS:
43
** TODO Persistent state :BUGS:
45
*** TODO /etc/mandos/clients.d/*.conf
46
Watch this directory and add/remove/update clients?
47
** TODO [#C] config for TXT record
48
** TODO Log level option
49
syslogger.setLevel(logging.WARNING)
50
+ SetLogLevel D-Bus call
51
** TODO Implement --foreground :BUGS:
10
** TODO [#B] Log level :BUGS:
11
** TODO /etc/mandos/clients.d/*.conf
12
Watch this directory and add/remove/update clients?
13
** TODO config for TXT record
14
** TODO [#B] Run-time communication with server :BUGS:
19
syslogger.setLevel(logging.WARNING)
20
+ [[http://log.ometer.com/2007-05.html][Best D-Bus practices]]
21
** TODO Implement --foreground :BUGS:
52
22
[[info:standards:Option%20Table][Table of Long Options]]
53
23
** TODO Implement --socket
54
24
[[info:standards:Option%20Table][Table of Long Options]]
55
** TODO Date+time on console log messages :BUGS:
25
** TODO Date+time on console log messages :BUGS:
56
26
Is this the default?
57
** TODO [#C] DBusServiceObjectUsingSuper
58
** TODO [#B] Global enable/disable flag
59
** TODO [#B] By-client countdown on secrets given
60
** TODO [#B] Fix problem with fsck taking a really long time
61
Whenever a client successfully gets a secret it could get a
62
one-time timeout boost to allow for an fsck-incurred delay
63
** TODO [#B] Support RFC 3339 time duration syntax
65
*** NeedsPassword(50) - Timeout, default disapprove
66
+ SetPass(u"gazonk", True) -> Approval, persistent
67
+ Approve(False) -> Close client connection immediately
68
** TODO [#C] python-parsedatetime
69
** TODO [#C] systemd/launchd
70
http://0pointer.de/blog/projects/systemd.html
71
** TODO Separate logging logic to own object
72
** TODO make clients to a dict!
73
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
74
** TODO [#B] break the wait on approval_delay if connection dies
75
** TODO Generate Client.runtime_expansions from client options + extra
76
** TODO Allow %%(checker)s as a runtime expansion
77
** TODO Use python-tlslite?
27
** DBusClient inheriting from Client
28
** fingerprint as a member of TCP_handler
29
** peer_certificate as a member of TCP_handler
30
** TCP_handler needs a better name!
31
** move handle_ipc out of IPv6_TCPServer
80
** Add mandos contact info in manual pages
34
** [[file:mandos.xml::XXX][Document D-Bus interface]]
36
* Provide and install /etc/dbus-1/system.d/mandos.conf
83
39
*** Handle "no D-Bus server" and/or "no Mandos server found" better
84
40
*** [#B] --dump option
85
** TODO Support RFC 3339 time duration syntax
87
* TODO mandos-dispatch
88
Listens for specified D-Bus signals and spawns shell commands with
92
** TODO help should be toggleable
43
** D-Bus mail loop w/ signal receiver
93
44
** Urwid client data displayer
94
Better view of client data in the listing
95
47
*** Properties popup
96
** Nicer crashes. Stack traces Messes up shell.
97
*** Print a nice "We are sorry" message, save stack trace to log.
98
** Show timeout countdown for approval
50
** TODO Loop until passwords match when run interactively
101
51
** TODO "--secfile" option
102
52
Using the "secfile" option instead of "secret"
103
53
** TODO [#B] "--test" option
104
54
For testing decryption before rebooting.
107
** TODO [#C] Implement DEB_BUILD_OPTIONS
108
http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
111
57
** /usr/share/initramfs-tools/hooks/mandos
112
*** TODO [#C] use same file name rules as run-parts(8)
113
58
*** TODO [#C] Do not install in initrd.img if configured not to.
114
59
Use "/etc/initramfs-tools/hooksconf.d/mandos"?
115
60
** TODO [#C] /etc/bash_completion.d/mandos
116
61
From XML sources directly?
119
** TODO Locate which packet move the other bin/sh when busy box is deactivated
120
** TODO contact owner of packet, and ask them to have that shell static in position regardless of busybox
123
64
#+STARTUP: showall