/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: 2010-08-31 18:22:25 UTC
  • mto: (24.1.154 mandos)
  • mto: This revision was merged to the branch mainline in revision 421.
  • Revision ID: teddy@fukt.bsnet.se-20100831182225-sad2cgilj3jeduab
* mandos-monitor (MandosClientWidget): Accept new signal
                                       "NeedApproval".
  (MandosClientWidget.checker_completed): Don't log successful
                                          checkers.
  (MandosClientWidget.checker_started): Don't log.
  (MandosClientWidget.need_approval): New; just log a message.
  (MandosClientWidget.rejected): Take an additional "reason" argument.
  (MandosClientWidget.keypress): Accept "+" and "-" keys to accept or
                                 reject, respectively.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
-*- org -*-
2
2
 
 
3
* _attribute_((nonnull))
 
4
 
3
5
* mandos-client
4
 
** TODO [#A] Clean up /tmp directory and take down interface on signal    :test:
5
6
** TODO [#B] use scandir(3) instead of readdir(3)
6
 
** TODO [#B] Prefix all debug output with argv[0]
 
7
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
8
** TODO use error() instead of perror()
7
9
** TODO [#B] Retry a server which has a non-definite reply:
8
10
*** A closed connection during the TLS handshake
9
11
*** A TCP timeout
10
12
** TODO [#B] Use capabilities instead of seteuid().
 
13
** TODO [#A] Retry --connect forever
11
14
 
12
15
* splashy
13
 
** TODO [#A] Re-raise signal received when exiting due to handled signal  :test:
14
16
** TODO [#B] use scandir(3) instead of readdir(3)
15
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
 
17
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
18
** TODO [#B] use error() instead of perror()
16
19
 
17
20
* usplash
18
 
** TODO [#A] Re-raise signal received when exiting due to handled signal.
 
21
** TODO [#A] Make it work again
19
22
** TODO [#B] use scandir(3) instead of readdir(3)
20
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
 
23
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
24
** TODO [#B] use error() instead of perror()
21
25
 
22
26
* askpass-fifo
23
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
 
27
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
28
** TODO [#B] use error() instead of perror()
24
29
** TODO [#B] Drop privileges after opening FIFO.
25
30
 
26
31
* password-prompt
27
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
 
32
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
33
** TODO [#B] use error() instead of perror()
 
34
** TODO [#B] lock stdin (with flock()?)
 
35
 
 
36
* TODO [#B] passdev
28
37
 
29
38
* plugin-runner
30
39
** TODO [#B] use scandir(3) instead of readdir(3)
31
40
** TODO [#C] use same file name rules as run-parts(8)
 
41
** kernel command line option for debug info
 
42
** TODO [#B] use error() instead of perror()
 
43
** TODO [$B] Use openat() and readdir64()
 
44
   http://udrepper.livejournal.com/19395.html
32
45
 
33
46
* mandos (server)
34
 
** TODO [#B] Log level                          :BUGS:
35
 
** TODO /etc/mandos/clients.d/*.conf
36
 
   Watch this directory and add/remove/update clients?
37
 
** TODO config for TXT record
38
 
** TODO [#B] Run-time communication with server :BUGS:
39
 
   Probably using D-Bus
40
 
*** Client class
41
 
*** Main server
42
 
    + SetLogLevel
43
 
      syslogger.setLevel(logging.WARNING)
44
 
    + [[http://log.ometer.com/2007-05.html][Best D-Bus practices]]
45
 
** TODO Implement --foreground                  :BUGS:
 
47
** TODO [#B] Log level                                                    :BUGS:
 
48
** TODO Persistent state                                                  :BUGS:
 
49
   /var/lib/mandos/*
 
50
*** TODO /etc/mandos/clients.d/*.conf
 
51
    Watch this directory and add/remove/update clients?
 
52
** TODO [#C] config for TXT record
 
53
** TODO Log level option
 
54
   syslogger.setLevel(logging.WARNING)
 
55
   + SetLogLevel D-Bus call
 
56
** TODO Implement --foreground                                            :BUGS:
46
57
   [[info:standards:Option%20Table][Table of Long Options]]
47
58
** TODO Implement --socket
48
59
   [[info:standards:Option%20Table][Table of Long Options]]
49
 
** TODO Date+time on console log messages       :BUGS:
 
60
** TODO Date+time on console log messages                                 :BUGS:
50
61
   Is this the default?
51
 
** TODO Split IPv6_TCPServer into a generic and Mandos-specific class
52
 
** TODO move handle_ipc out of IPv6_TCPServer
53
 
** TODO DBusServiceObjectUsingSuper
54
 
** Global enable/disable flag
55
 
** By-client countdown on secrets given
 
62
** TODO [#C] DBusServiceObjectUsingSuper
 
63
** TODO [#B] Global enable/disable flag
 
64
** TODO [#B] By-client countdown on secrets given
 
65
** TODO [#B] Fix problem with fsck taking a really long time
 
66
   Whenever a client successfully gets a secret it could get a
 
67
   one-time timeout boost to allow for an fsck-incurred delay
 
68
** TODO [#A] Delay before client receives key
 
69
   This would give an operator opportunity to cancel the request if
 
70
   desired.
 
71
** TODO [#A] Client manual approval mode
 
72
   A client needs manual approval on the server before it gets the
 
73
   secret
 
74
** TODO [#B] Support RFC 3339 time duration syntax
 
75
** More D-Bus methods
 
76
*** NeedsApproval(50, True) -> timeout, default approve
 
77
    Default approval is configurable, but True by default
 
78
    + Approval(True) -> approve sending saved
 
79
    + Approval(False) -> Close client connection immediately
 
80
*** NeedsPassword(50) - Timeout, default disapprove
 
81
    + SetPass(u"gazonk", True) -> Approval, persistent
 
82
    + Approval(False) -> Close client connection immediately
 
83
** TODO [#C] python-parsedatetime
 
84
** TODO [#C] systemd/launchd
 
85
   http://0pointer.de/blog/projects/systemd.html
 
86
** TODO Separate logging logic to own object
 
87
** TODO make clients to a dict!
56
88
 
57
89
* mandos.xml
58
90
** [[file:mandos.xml::XXX][Document D-Bus interface]]
 
91
   Remove mention of lack of such interface in BUGS section
 
92
** Add mandos contact info in manual pages
59
93
 
60
 
* Provide and install /etc/dbus-1/system.d/mandos.conf
 
94
* TODO [#A] Provide and install /etc/dbus-1/system.d/mandos.conf
61
95
 
62
96
* mandos-ctl
63
97
*** Handle "no D-Bus server" and/or "no Mandos server found" better
64
98
*** [#B] --dump option
65
 
 
66
 
* mandos-name
67
 
** D-Bus mail loop w/ signal receiver
68
 
** Urwid/Newt client data displayer
69
 
*** Urwid scaffolding
70
 
*** Client Widgets
 
99
** TODO Support RFC 3339 time duration syntax
 
100
 
 
101
* TODO mandos-dispatch
 
102
  Listens for specified D-Bus signals and spawns shell commands with
 
103
  arguments.
 
104
 
 
105
* mandos-monitor
 
106
** Urwid client data displayer
 
107
   Better view of client data in the listing
71
108
*** Properties popup
72
109
 
73
110
* mandos-keygen
77
114
** TODO [#B] "--test" option
78
115
   For testing decryption before rebooting.
79
116
 
 
117
* Makefile
 
118
** TODO Add "--Xlinker --as-needed"
 
119
   http://udrepper.livejournal.com/19395.html
 
120
** TODO [#C] Implement DEB_BUILD_OPTIONS
 
121
   http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
 
122
 
80
123
* Package
81
124
** /usr/share/initramfs-tools/hooks/mandos
82
125
*** TODO [#C] use same file name rules as run-parts(8)
85
128
** TODO [#C] /etc/bash_completion.d/mandos
86
129
   From XML sources directly?
87
130
 
 
131
* Side Stuff
 
132
** TODO Locate which packet move the other bin/sh when busy box is deactivated
 
133
** TODO contact owner of packet, and ask them to have that shell static in position regardless of busybox
 
134
 
88
135
 
89
136
#+STARTUP: showall