/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 at bsnet
  • Date: 2011-12-23 18:59:19 UTC
  • mto: This revision was merged to the branch mainline in revision 529.
  • Revision ID: teddy@fukt.bsnet.se-20111223185919-ix5d1018ozhsdd87
* mandos (main/cleanup): Write new file, then rename.  Use
                         tempfile.mkstemp().

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
* Use _attribute_((nonnull)) wherever possible.
4
4
 
 
5
* [[http://www.undeadly.org/cgi?action=article&sid=20110530221728][OpenBSD]]
 
6
 
5
7
* mandos-applet
6
8
 
7
 
* Convert README into intro(8mandos) man page
8
 
 
9
9
* mandos-client
 
10
** TODO [#B] Flag fprintf_plus so compiler checks the format string.
 
11
** TODO [#A] OpenVPN network hook
 
12
** TODO [#A] Wireless network hook
10
13
** TODO [#B] Use capabilities instead of seteuid().
11
14
** TODO [#B] Use struct sockaddr_storage instead of a union
12
15
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
13
16
** TODO [#B] Use getnameinfo(serv=NULL, NI_NUMERICHOST) instead of inet_ntop()
14
 
** 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]]
 
17
** TODO [#B] Prefer /run/tmp over /tmp, if it exists
15
18
 
16
19
* splashy
17
20
** TODO [#B] use scandir(3) instead of readdir(3)
18
21
 
19
 
* usplash
 
22
* usplash (Deprecated)
20
23
** TODO [#A] Make it work again
21
24
** TODO [#B] use scandir(3) instead of readdir(3)
22
25
** TODO Use [[info:libc:Argz%20Functions][argz_extract]]
26
29
 
27
30
* password-prompt
28
31
** TODO [#B] lock stdin (with flock()?)
29
 
** TODO [#A] Free direntries after scandir()
30
32
 
31
33
* plymouth
32
 
** TODO [#A] Free direntries after scandir()
33
34
 
34
35
* TODO [#B] passdev
35
36
 
42
43
** TODO [#B] Use openat()
43
44
 
44
45
* mandos (server)
 
46
** TODO Document why we ignore sigint
45
47
** TODO [#B] Log level                                                    :BUGS:
46
 
** TODO Persistent state                                                  :BUGS:
47
 
   /var/lib/mandos/*
48
48
*** TODO /etc/mandos/clients.d/*.conf
49
49
    Watch this directory and add/remove/update clients?
50
50
** TODO [#C] config for TXT record
51
 
** TODO Log level option
52
 
   syslogger.setLevel(logging.WARNING)
53
 
   + SetLogLevel D-Bus call
 
51
** TODO Log level dbus option
 
52
   SetLogLevel D-Bus call
54
53
** TODO Implement --foreground                                            :BUGS:
55
54
   [[info:standards:Option%20Table][Table of Long Options]]
56
55
** TODO Implement --socket
57
56
   [[info:standards:Option%20Table][Table of Long Options]]
58
 
** TODO Date+time on console log messages                                 :BUGS:
59
 
   Is this the default?
60
57
** TODO [#C] DBusServiceObjectUsingSuper
61
58
** TODO [#B] Global enable/disable flag
62
 
** TODO [#B] By-client countdown on secrets given
63
 
** TODO [#B] Fix problem with fsck taking a really long time
64
 
   Whenever a client successfully gets a secret it could get a
65
 
   one-time timeout boost to allow for an fsck-incurred delay
66
 
** TODO [#A] Delay before client receives key
67
 
   This would give an operator opportunity to cancel the request if
68
 
   desired.
69
 
** TODO [#A] Client manual approval mode
70
 
   A client needs manual approval on the server before it gets the
71
 
   secret
 
59
** TODO [#B] By-client countdown on number of secrets given
72
60
** TODO [#B] Support RFC 3339 time duration syntax
73
61
** More D-Bus methods
74
 
*** NeedsApproval(50, True) -> timeout, default approve
75
 
    Default approval is configurable, but True by default
76
 
    + Approve(True) -> approve sending saved
77
 
    + Approve(False) -> Close client connection immediately
78
62
*** NeedsPassword(50) - Timeout, default disapprove
79
63
    + SetPass(u"gazonk", True) -> Approval, persistent
80
64
    + Approve(False) -> Close client connection immediately
81
65
** TODO [#C] python-parsedatetime
82
66
** TODO [#C] systemd/launchd
83
67
   http://0pointer.de/blog/projects/systemd.html
 
68
   http://wiki.debian.org/systemd
84
69
** TODO Separate logging logic to own object
85
 
** TODO make clients to a dict!
86
70
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
87
71
** TODO [#B] break the wait on approval_delay if connection dies
88
72
** TODO Generate Client.runtime_expansions from client options + extra
89
73
** TODO Allow %%(checker)s as a runtime expansion
90
74
** TODO Use python-tlslite?
 
75
** TODO D-Bus AddClient() method on server object
91
76
 
92
77
* mandos.xml
93
78
** Add mandos contact info in manual pages
96
81
*** Handle "no D-Bus server" and/or "no Mandos server found" better
97
82
*** [#B] --dump option
98
83
** TODO Support RFC 3339 time duration syntax
 
84
** TODO Send milliseconds if bare integer is passed as time duration
99
85
 
100
86
* TODO mandos-dispatch
101
87
  Listens for specified D-Bus signals and spawns shell commands with
111
97
** Show timeout countdown for approval
112
98
 
113
99
* mandos-keygen
114
 
** TODO Loop until passwords match when run interactively
115
100
** TODO "--secfile" option
116
101
   Using the "secfile" option instead of "secret"
117
102
** TODO [#B] "--test" option
118
103
   For testing decryption before rebooting.
119
104
 
120
105
* Makefile
121
 
** TODO Add "--Xlinker --as-needed"
122
 
   http://udrepper.livejournal.com/19395.html
123
106
** TODO [#C] Implement DEB_BUILD_OPTIONS
124
107
   http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
125
108
 
132
115
   From XML sources directly?
133
116
 
134
117
* Side Stuff
135
 
** TODO Locate which packet move the other bin/sh when busy box is deactivated
136
 
** TODO contact owner of packet, and ask them to have that shell static in position regardless of busybox
 
118
** TODO Locate which package moves the other bin/sh when busybox is deactivated
 
119
** TODO contact owner of package, and ask them to have that shell static in position regardless of busybox
137
120
 
138
121
 
139
122
#+STARTUP: showall