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