/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk
36 by Teddy Hogeborn
* TODO: Converted to org-mode style
1
-*- org -*-
2
418 by teddy at bsnet
* TODO: Clarifications.
3
* Use _attribute_((nonnull)) wherever possible.
24.1.155 by Björn Påhlsson
mandos server: Added debuglevel that adjust at what level information
4
5
* Release critical
434 by teddy at bsnet
* mandos-ctl.xml: New.
6
** mandos-ctl.xml
7
*** More examples
435 by teddy at bsnet
* Makefile (DOCS): Added "plymouth.8mandos".
8
** mandos
9
*** Do not write PID file if --debug is passed?
10
    Do other programs do this?
11
** Update copyright year to add 2010
12
** mandos.xml
13
*** Document the approval concept
416.1.2 by Teddy Hogeborn
* mandos (ClientHandler.handle): Set up the GnuTLS session object
14
171 by Teddy Hogeborn
Renamed "password-request" to "mandos-client".
15
* mandos-client
355 by Teddy Hogeborn
* mandos: White-space fixes only.
16
** TODO [#B] use scandir(3) instead of readdir(3)
389 by Teddy Hogeborn
* plugins.d/splashy.c: Use exit codes from <sysexits.h>.
17
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
365 by Teddy Hogeborn
* plugins.d/mandos-client.c (main): Bug fix: Check result of setgid().
18
** TODO [#B] Retry a server which has a non-definite reply:
363 by Teddy Hogeborn
* plugin-runner.c: Minor stylistic changes.
19
*** A closed connection during the TLS handshake
20
*** A TCP timeout
365 by Teddy Hogeborn
* plugins.d/mandos-client.c (main): Bug fix: Check result of setgid().
21
** TODO [#B] Use capabilities instead of seteuid().
413 by Teddy Hogeborn
TODO file changes.
22
** TODO [#A] Retry --connect forever
355 by Teddy Hogeborn
* mandos: White-space fixes only.
23
24
* splashy
25
** TODO [#B] use scandir(3) instead of readdir(3)
389 by Teddy Hogeborn
* plugins.d/splashy.c: Use exit codes from <sysexits.h>.
26
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
355 by Teddy Hogeborn
* mandos: White-space fixes only.
27
28
* usplash
414 by Teddy Hogeborn
Bug fix: mandos-client needs GnuPG but lacked a dependency on it. The
29
** TODO [#A] Make it work again
355 by Teddy Hogeborn
* mandos: White-space fixes only.
30
** TODO [#B] use scandir(3) instead of readdir(3)
389 by Teddy Hogeborn
* plugins.d/splashy.c: Use exit codes from <sysexits.h>.
31
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
24.1.155 by Björn Påhlsson
mandos server: Added debuglevel that adjust at what level information
32
** TODO Use [[info:libc:Argz%20Functions][argz_extract]]
365 by Teddy Hogeborn
* plugins.d/mandos-client.c (main): Bug fix: Check result of setgid().
33
34
* askpass-fifo
389 by Teddy Hogeborn
* plugins.d/splashy.c: Use exit codes from <sysexits.h>.
35
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
365 by Teddy Hogeborn
* plugins.d/mandos-client.c (main): Bug fix: Check result of setgid().
36
** TODO [#B] Drop privileges after opening FIFO.
358 by Teddy Hogeborn
* plugins.d/mandos-client.c (start_mandos_communication): Check
37
38
* password-prompt
389 by Teddy Hogeborn
* plugins.d/splashy.c: Use exit codes from <sysexits.h>.
39
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
413 by Teddy Hogeborn
TODO file changes.
40
** TODO [#B] lock stdin (with flock()?)
355 by Teddy Hogeborn
* mandos: White-space fixes only.
41
413 by Teddy Hogeborn
TODO file changes.
42
* TODO [#B] passdev
377 by Teddy Hogeborn
* plugins.d/password-prompt.c (main): Fix "-Wconversion" warning.
43
240 by Teddy Hogeborn
Merge "mandos-list" from belorn.
44
* plugin-runner
45
** TODO [#B] use scandir(3) instead of readdir(3)
344 by Teddy Hogeborn
* debian/control (Standards-Version): Changed to "3.8.1".
46
** TODO [#C] use same file name rules as run-parts(8)
24.1.145 by Björn Påhlsson
todo
47
** kernel command line option for debug info
418 by teddy at bsnet
* TODO: Clarifications.
48
** TODO [#B] Use openat()
240 by Teddy Hogeborn
Merge "mandos-list" from belorn.
49
87 by Teddy Hogeborn
* Makefile: Bug fix: fixed creation of man pages in "plugins.d".
50
* mandos (server)
413 by Teddy Hogeborn
TODO file changes.
51
** TODO [#B] Log level							  :BUGS:
52
** TODO Persistent state						  :BUGS:
53
   /var/lib/mandos/*
54
*** TODO /etc/mandos/clients.d/*.conf
55
    Watch this directory and add/remove/update clients?
56
** TODO [#C] config for TXT record
57
** TODO Log level option
58
   syslogger.setLevel(logging.WARNING)
59
   + SetLogLevel D-Bus call
60
** TODO Implement --foreground						  :BUGS:
182 by Teddy Hogeborn
* Makefile (install): Use "install-client-nokey".
61
   [[info:standards:Option%20Table][Table of Long Options]]
62
** TODO Implement --socket
63
   [[info:standards:Option%20Table][Table of Long Options]]
413 by Teddy Hogeborn
TODO file changes.
64
** TODO Date+time on console log messages				  :BUGS:
64 by Teddy Hogeborn
* mandos-client.c (print_out_password): Strip trailing '\n'.
65
   Is this the default?
413 by Teddy Hogeborn
TODO file changes.
66
** TODO [#C] DBusServiceObjectUsingSuper
67
** TODO [#B] Global enable/disable flag
68
** TODO [#B] By-client countdown on secrets given
69
** TODO [#B] Fix problem with fsck taking a really long time
367 by Teddy Hogeborn
* init.d-mandos: Bug fix: Correct the LSB header.
70
   Whenever a client successfully gets a secret it could get a
71
   one-time timeout boost to allow for an fsck-incurred delay
413 by Teddy Hogeborn
TODO file changes.
72
** TODO [#A] Delay before client receives key
377 by Teddy Hogeborn
* plugins.d/password-prompt.c (main): Fix "-Wconversion" warning.
73
   This would give an operator opportunity to cancel the request if
74
   desired.
413 by Teddy Hogeborn
TODO file changes.
75
** TODO [#A] Client manual approval mode
377 by Teddy Hogeborn
* plugins.d/password-prompt.c (main): Fix "-Wconversion" warning.
76
   A client needs manual approval on the server before it gets the
77
   secret
413 by Teddy Hogeborn
TODO file changes.
78
** TODO [#B] Support RFC 3339 time duration syntax
416.1.1 by Teddy Hogeborn
Initial design on approval system.
79
** More D-Bus methods
80
*** NeedsApproval(50, True) -> timeout, default approve
81
    Default approval is configurable, but True by default
418 by teddy at bsnet
* TODO: Clarifications.
82
    + Approve(True) -> approve sending saved
83
    + Approve(False) -> Close client connection immediately
416.1.1 by Teddy Hogeborn
Initial design on approval system.
84
*** NeedsPassword(50) - Timeout, default disapprove
85
    + SetPass(u"gazonk", True) -> Approval, persistent
418 by teddy at bsnet
* TODO: Clarifications.
86
    + Approve(False) -> Close client connection immediately
416.1.2 by Teddy Hogeborn
* mandos (ClientHandler.handle): Set up the GnuTLS session object
87
** TODO [#C] python-parsedatetime
88
** TODO [#C] systemd/launchd
89
   http://0pointer.de/blog/projects/systemd.html
24.1.149 by Björn Påhlsson
Changed ForkingMixIn in favor of multiprocessing
90
** TODO Separate logging logic to own object
91
** TODO make clients to a dict!
422 by Teddy Hogeborn
Rename all D-Bus properties to conform to D-Bus naming conventions;
92
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
24.1.164 by Björn Påhlsson
merge
93
** TODO [#B] break the wait on approval_delay if connection dies
36 by Teddy Hogeborn
* TODO: Converted to org-mode style
94
243 by Teddy Hogeborn
* mandos (Client.timeout, Client.interval): Changed from being a
95
* mandos.xml
24.1.143 by Björn Påhlsson
added documentation todo
96
** Add mandos contact info in manual pages
243 by Teddy Hogeborn
* mandos (Client.timeout, Client.interval): Changed from being a
97
308 by Teddy Hogeborn
* plugin-runner.c: Comment change.
98
* mandos-ctl
243 by Teddy Hogeborn
* mandos (Client.timeout, Client.interval): Changed from being a
99
*** Handle "no D-Bus server" and/or "no Mandos server found" better
240 by Teddy Hogeborn
Merge "mandos-list" from belorn.
100
*** [#B] --dump option
411 by Teddy Hogeborn
More consistent terminology: Clients are no longer "invalid" - they
101
** TODO Support RFC 3339 time duration syntax
36 by Teddy Hogeborn
* TODO: Converted to org-mode style
102
377 by Teddy Hogeborn
* plugins.d/password-prompt.c (main): Fix "-Wconversion" warning.
103
* TODO mandos-dispatch
104
  Listens for specified D-Bus signals and spawns shell commands with
105
  arguments.
106
375 by Teddy Hogeborn
* TODO: Updated.
107
* mandos-monitor
24.1.155 by Björn Påhlsson
mandos server: Added debuglevel that adjust at what level information
108
** TODO help should be toggable
386 by Teddy Hogeborn
* mandos (DBusObjectWithProperties.Introspect): Add the name
109
** Urwid client data displayer
413 by Teddy Hogeborn
TODO file changes.
110
   Better view of client data in the listing
327 by Teddy Hogeborn
Merge from pipe IPC branch.
111
*** Properties popup
24.1.154 by Björn Påhlsson
merge
112
** Nicer crashes. Stack traces Messes up shell.
113
*** Print a nice "We are sorry" message, save stack trace to log.
240 by Teddy Hogeborn
Merge "mandos-list" from belorn.
114
228 by Teddy Hogeborn
* INSTALL: Add instructions on how to set the correct network
115
* mandos-keygen
24.1.126 by Björn Påhlsson
small stuff
116
** TODO Loop until passwords match when run interactively
228 by Teddy Hogeborn
* INSTALL: Add instructions on how to set the correct network
117
** TODO "--secfile" option
118
   Using the "secfile" option instead of "secret"
119
** TODO [#B] "--test" option
120
   For testing decryption before rebooting.
67 by Teddy Hogeborn
* mandos-keygen: New program to generate new client keys on
121
370 by Teddy Hogeborn
* debian/control (Standards-Version): Updated to "2.8.3".
122
* Makefile
416.1.2 by Teddy Hogeborn
* mandos (ClientHandler.handle): Set up the GnuTLS session object
123
** TODO Add "--Xlinker --as-needed"
124
   http://udrepper.livejournal.com/19395.html
413 by Teddy Hogeborn
TODO file changes.
125
** TODO [#C] Implement DEB_BUILD_OPTIONS
370 by Teddy Hogeborn
* debian/control (Standards-Version): Updated to "2.8.3".
126
   http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
127
275 by Teddy Hogeborn
* debian/mandos-client.postinst: Converted to Bourne shell. Also
128
* Package
67 by Teddy Hogeborn
* mandos-keygen: New program to generate new client keys on
129
** /usr/share/initramfs-tools/hooks/mandos
344 by Teddy Hogeborn
* debian/control (Standards-Version): Changed to "3.8.1".
130
*** TODO [#C] use same file name rules as run-parts(8)
263 by Teddy Hogeborn
* README (The Plugin System): Removed redundant text about options and
131
*** TODO [#C] Do not install in initrd.img if configured not to.
308 by Teddy Hogeborn
* plugin-runner.c: Comment change.
132
    Use "/etc/initramfs-tools/hooksconf.d/mandos"?
263 by Teddy Hogeborn
* README (The Plugin System): Removed redundant text about options and
133
** TODO [#C] /etc/bash_completion.d/mandos
88 by Teddy Hogeborn
No code or documentation changes.
134
   From XML sources directly?
24.1.30 by Björn Påhlsson
Added more stuff to do
135
24.1.149 by Björn Påhlsson
Changed ForkingMixIn in favor of multiprocessing
136
* Side Stuff
137
** TODO Locate which packet move the other bin/sh when busy box is deactivated
138
** TODO contact owner of packet, and ask them to have that shell static in position regardless of busybox
139
36 by Teddy Hogeborn
* TODO: Converted to org-mode style
140

141
#+STARTUP: showall