/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.
532 by teddy at bsnet
* plugins.d/mandos-client.c (fprintf_plus): Check format string.
4
* Use __attribute__((pure)) or __attribute__((const)) where possible.
5
* Use __attribute__((signal)) on signal handlers.
24.1.155 by Björn Påhlsson
mandos server: Added debuglevel that adjust at what level information
6
501 by Teddy Hogeborn
* mandos-clients.conf.xml (OPTIONS/timeout): No longer used when
7
* [[http://www.undeadly.org/cgi?action=article&sid=20110530221728][OpenBSD]]
8
462 by Teddy Hogeborn
* plugins.d/plymouth.c: Fixed comment to "Plymouth" instead of "Usplash".
9
* mandos-applet
10
171 by Teddy Hogeborn
Renamed "password-request" to "mandos-client".
11
* mandos-client
505.3.16 by teddy at bsnet
* network-hooks.d/bridge: Use "/usr/sbin/brctl" explicitly.
12
** TODO [#B] Flag fprintf_plus so compiler checks the format string.
13
** TODO [#A] OpenVPN network hook
14
** TODO [#A] Wireless network hook
365 by Teddy Hogeborn
* plugins.d/mandos-client.c (main): Bug fix: Check result of setgid().
15
** TODO [#B] Use capabilities instead of seteuid().
484 by Teddy Hogeborn
* Makefile (plugins.d/mandos-client): Bug fix: Put $^ before all
16
** TODO [#B] Use struct sockaddr_storage instead of a union
17
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
18
** TODO [#B] Use getnameinfo(serv=NULL, NI_NUMERICHOST) instead of inet_ntop()
494 by Teddy Hogeborn
* mandos-keygen: Loop until passwords match when run interactively.
19
** TODO [#B] Prefer /run/tmp over /tmp, if it exists
355 by Teddy Hogeborn
* mandos: White-space fixes only.
20
21
* splashy
22
** TODO [#B] use scandir(3) instead of readdir(3)
23
512 by Björn Påhlsson
usplash is deprecated
24
* usplash (Deprecated)
414 by Teddy Hogeborn
Bug fix: mandos-client needs GnuPG but lacked a dependency on it. The
25
** TODO [#A] Make it work again
355 by Teddy Hogeborn
* mandos: White-space fixes only.
26
** 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
27
** TODO Use [[info:libc:Argz%20Functions][argz_extract]]
365 by Teddy Hogeborn
* plugins.d/mandos-client.c (main): Bug fix: Check result of setgid().
28
29
* askpass-fifo
30
** TODO [#B] Drop privileges after opening FIFO.
358 by Teddy Hogeborn
* plugins.d/mandos-client.c (start_mandos_communication): Check
31
32
* password-prompt
413 by Teddy Hogeborn
TODO file changes.
33
** TODO [#B] lock stdin (with flock()?)
484 by Teddy Hogeborn
* Makefile (plugins.d/mandos-client): Bug fix: Put $^ before all
34
35
* plymouth
355 by Teddy Hogeborn
* mandos: White-space fixes only.
36
413 by Teddy Hogeborn
TODO file changes.
37
* TODO [#B] passdev
377 by Teddy Hogeborn
* plugins.d/password-prompt.c (main): Fix "-Wconversion" warning.
38
240 by Teddy Hogeborn
Merge "mandos-list" from belorn.
39
* plugin-runner
24.1.174 by Björn Påhlsson
* Makefile (CFLAGS): Added "-lrt" to include real time library.
40
** TODO handle printing for errors for plugins
41
*** Hook up stderr of plugins, buffer them, and prepend mandos pluig [plugin name]
240 by Teddy Hogeborn
Merge "mandos-list" from belorn.
42
** TODO [#B] use scandir(3) instead of readdir(3)
344 by Teddy Hogeborn
* debian/control (Standards-Version): Changed to "3.8.1".
43
** TODO [#C] use same file name rules as run-parts(8)
24.1.145 by Björn Påhlsson
todo
44
** kernel command line option for debug info
418 by teddy at bsnet
* TODO: Clarifications.
45
** TODO [#B] Use openat()
240 by Teddy Hogeborn
Merge "mandos-list" from belorn.
46
87 by Teddy Hogeborn
* Makefile: Bug fix: fixed creation of man pages in "plugins.d".
47
* mandos (server)
518.1.14 by Björn Påhlsson
Mandos: refactoring the code handling settings from config files.
48
** TODO Document why we ignore sigint
413 by Teddy Hogeborn
TODO file changes.
49
** TODO [#B] Log level							  :BUGS:
50
*** TODO /etc/mandos/clients.d/*.conf
51
    Watch this directory and add/remove/update clients?
52
** TODO [#C] config for TXT record
505.2.11 by Björn Påhlsson
todo updates
53
** TODO Log level dbus option
54
   SetLogLevel D-Bus call
413 by Teddy Hogeborn
TODO file changes.
55
** TODO Implement --foreground						  :BUGS:
182 by Teddy Hogeborn
* Makefile (install): Use "install-client-nokey".
56
   [[info:standards:Option%20Table][Table of Long Options]]
57
** TODO Implement --socket
58
   [[info:standards:Option%20Table][Table of Long Options]]
413 by Teddy Hogeborn
TODO file changes.
59
** TODO [#C] DBusServiceObjectUsingSuper
60
** TODO [#B] Global enable/disable flag
505.2.11 by Björn Påhlsson
todo updates
61
** TODO [#B] By-client countdown on number of secrets given
413 by Teddy Hogeborn
TODO file changes.
62
** TODO [#B] Support RFC 3339 time duration syntax
416.1.1 by Teddy Hogeborn
Initial design on approval system.
63
** More D-Bus methods
64
*** NeedsPassword(50) - Timeout, default disapprove
65
    + SetPass(u"gazonk", True) -> Approval, persistent
418 by teddy at bsnet
* TODO: Clarifications.
66
    + Approve(False) -> Close client connection immediately
416.1.2 by Teddy Hogeborn
* mandos (ClientHandler.handle): Set up the GnuTLS session object
67
** TODO [#C] python-parsedatetime
68
** TODO [#C] systemd/launchd
69
   http://0pointer.de/blog/projects/systemd.html
505.1.15 by Teddy Hogeborn
Bug fix: Make D-Bus properties settable again.
70
   http://wiki.debian.org/systemd
24.1.149 by Björn Påhlsson
Changed ForkingMixIn in favor of multiprocessing
71
** TODO Separate logging logic to own object
422 by Teddy Hogeborn
Rename all D-Bus properties to conform to D-Bus naming conventions;
72
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
24.1.164 by Björn Påhlsson
merge
73
** TODO [#B] break the wait on approval_delay if connection dies
438 by Teddy Hogeborn
* mandos (Client.runtime_expansions): New attribute containing the
74
** TODO Generate Client.runtime_expansions from client options + extra
75
** TODO Allow %%(checker)s as a runtime expansion
484 by Teddy Hogeborn
* Makefile (plugins.d/mandos-client): Bug fix: Put $^ before all
76
** TODO Use python-tlslite?
505.3.16 by teddy at bsnet
* network-hooks.d/bridge: Use "/usr/sbin/brctl" explicitly.
77
** TODO D-Bus AddClient() method on server object
36 by Teddy Hogeborn
* TODO: Converted to org-mode style
78
243 by Teddy Hogeborn
* mandos (Client.timeout, Client.interval): Changed from being a
79
* mandos.xml
24.1.143 by Björn Påhlsson
added documentation todo
80
** Add mandos contact info in manual pages
243 by Teddy Hogeborn
* mandos (Client.timeout, Client.interval): Changed from being a
81
308 by Teddy Hogeborn
* plugin-runner.c: Comment change.
82
* mandos-ctl
243 by Teddy Hogeborn
* mandos (Client.timeout, Client.interval): Changed from being a
83
*** Handle "no D-Bus server" and/or "no Mandos server found" better
240 by Teddy Hogeborn
Merge "mandos-list" from belorn.
84
*** [#B] --dump option
411 by Teddy Hogeborn
More consistent terminology: Clients are no longer "invalid" - they
85
** TODO Support RFC 3339 time duration syntax
505.1.15 by Teddy Hogeborn
Bug fix: Make D-Bus properties settable again.
86
** TODO Send milliseconds if bare integer is passed as time duration
36 by Teddy Hogeborn
* TODO: Converted to org-mode style
87
377 by Teddy Hogeborn
* plugins.d/password-prompt.c (main): Fix "-Wconversion" warning.
88
* TODO mandos-dispatch
89
  Listens for specified D-Bus signals and spawns shell commands with
90
  arguments.
91
375 by Teddy Hogeborn
* TODO: Updated.
92
* mandos-monitor
24.1.174 by Björn Påhlsson
* Makefile (CFLAGS): Added "-lrt" to include real time library.
93
** TODO help should be toggleable
386 by Teddy Hogeborn
* mandos (DBusObjectWithProperties.Introspect): Add the name
94
** Urwid client data displayer
413 by Teddy Hogeborn
TODO file changes.
95
   Better view of client data in the listing
327 by Teddy Hogeborn
Merge from pipe IPC branch.
96
*** Properties popup
24.1.154 by Björn Påhlsson
merge
97
** Nicer crashes. Stack traces Messes up shell.
98
*** Print a nice "We are sorry" message, save stack trace to log.
442 by Teddy Hogeborn
* DBUS-API: Document new "LastApprovalRequest" client property.
99
** Show timeout countdown for approval
240 by Teddy Hogeborn
Merge "mandos-list" from belorn.
100
228 by Teddy Hogeborn
* INSTALL: Add instructions on how to set the correct network
101
* mandos-keygen
102
** TODO "--secfile" option
103
   Using the "secfile" option instead of "secret"
104
** TODO [#B] "--test" option
105
   For testing decryption before rebooting.
67 by Teddy Hogeborn
* mandos-keygen: New program to generate new client keys on
106
370 by Teddy Hogeborn
* debian/control (Standards-Version): Updated to "2.8.3".
107
* Makefile
413 by Teddy Hogeborn
TODO file changes.
108
** TODO [#C] Implement DEB_BUILD_OPTIONS
370 by Teddy Hogeborn
* debian/control (Standards-Version): Updated to "2.8.3".
109
   http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
110
275 by Teddy Hogeborn
* debian/mandos-client.postinst: Converted to Bourne shell. Also
111
* Package
67 by Teddy Hogeborn
* mandos-keygen: New program to generate new client keys on
112
** /usr/share/initramfs-tools/hooks/mandos
344 by Teddy Hogeborn
* debian/control (Standards-Version): Changed to "3.8.1".
113
*** 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
114
*** TODO [#C] Do not install in initrd.img if configured not to.
308 by Teddy Hogeborn
* plugin-runner.c: Comment change.
115
    Use "/etc/initramfs-tools/hooksconf.d/mandos"?
263 by Teddy Hogeborn
* README (The Plugin System): Removed redundant text about options and
116
** TODO [#C] /etc/bash_completion.d/mandos
88 by Teddy Hogeborn
No code or documentation changes.
117
   From XML sources directly?
24.1.30 by Björn Påhlsson
Added more stuff to do
118
24.1.149 by Björn Påhlsson
Changed ForkingMixIn in favor of multiprocessing
119
* Side Stuff
505.1.8 by Teddy Hogeborn
* mandos-ctl: Update copyright year to 2011.
120
** TODO Locate which package moves the other bin/sh when busybox is deactivated
121
** TODO contact owner of package, and ask them to have that shell static in position regardless of busybox
24.1.149 by Björn Påhlsson
Changed ForkingMixIn in favor of multiprocessing
122
36 by Teddy Hogeborn
* TODO: Converted to org-mode style
123

124
#+STARTUP: showall