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