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