4
** TODO [#A] Clean up /tmp directory and take down interface on signal
5
** TODO [#A] Do not handle ignored signals
6
** TODO [#B] use scandir(3) instead of readdir(3)
9
** TODO [#A] Re-raise signal received when exiting due to handled signal.
10
** TODO [#B] use scandir(3) instead of readdir(3)
13
** TODO [#A] Re-raise signal received when exiting due to handled signal.
14
** TODO [#B] use scandir(3) instead of readdir(3)
8
** [#B] Temporarily lower kernel log level
9
for less printouts during sucessfull boot.
11
** use strsep instead of strtok?
12
** Do not depend on GnuPG key rings on disk
13
This would mean creating new GnuPG key rings with GPGME by
14
importing the key files from scratch on every program start.
15
** Keydir move: /etc/mandos -> /etc/keys/mandos
16
Must create in preinst if not pre-depending on cryptsetup
17
** TODO [#A] Do not handle ignored signals
18
** TODO [#B] use scandir(3) instead of readdir(3)
19
** TODO [#C] use same file name rules as run-parts(8)
21
** [#A] /etc/init.d/mandos-server :teddy:
22
** [#B] Log level :bugs:
23
** /etc/mandos/clients.d/*.conf
22
** TODO [#B] Log level :BUGS:
23
** TODO /etc/mandos/clients.d/*.conf
24
24
Watch this directory and add/remove/update clients?
25
** config for TXT record
26
** [#B] Run-time communication with server :bugs:
25
** TODO config for TXT record
26
** TODO [#B] Run-time communication with server :BUGS:
27
27
Probably using D-Bus
28
See also [[*Mandos-tools]]
29
** Implement --foreground :bugs:
30
[[info:standards:Option%20Table][Table of Long Options]]
32
[[info:standards:Option%20Table][Table of Long Options]]
33
** Date+time on console log messages :bugs:
31
syslogger.setLevel(logging.WARNING)
32
+ [[http://log.ometer.com/2007-05.html][Best D-Bus practices]]
33
** TODO Implement --foreground :BUGS:
34
[[info:standards:Option%20Table][Table of Long Options]]
35
** TODO Implement --socket
36
[[info:standards:Option%20Table][Table of Long Options]]
37
** TODO Date+time on console log messages :BUGS:
34
38
Is this the default?
36
* Mandos-tools/utilities
37
All of this probably using D-Bus
44
** Use xinclude for common sections
50
*** Update initrd.img after installation
51
This seems to use some kind of "trigger" system
52
[[file:/usr/share/doc/dpkg/triggers.txt.gz]]
53
dpkg-trigger(1), deb-triggers(5)
54
*** Keydir move: /etc/mandos -> /etc/keys/mandos
55
Must create in preinst if not pre-depending on cryptsetup
57
**** "--passfile" option
58
Using the "secfile" option instead of "secret"
59
**** [#A] "--test" option
60
For testing decryption before rebooting.
62
*** [#A] Create mandos user and group for server
63
*** [#A] Create /var/run/mandos directory with perm and ownership
39
** TODO Split IPv6_TCPServer into a generic and Mandos-specific class
40
** TODO move handle_ipc out of IPv6_TCPServer
41
** TODO DBusServiceObjectUsingSuper
42
** Global enable/disable flag
43
** By-client countdown on secrets given
46
** [[file:mandos.xml::XXX][Document D-Bus interface]]
48
* Provide and install /etc/dbus-1/system.d/mandos.conf
51
*** Handle "no D-Bus server" and/or "no Mandos server found" better
52
*** [#B] --dump option
55
** D-Bus mail loop w/ signal receiver
56
** Urwid/Newt client data displayer
62
** TODO Loop until passwords match when run interactively
63
** TODO "--secfile" option
64
Using the "secfile" option instead of "secret"
65
** TODO [#B] "--test" option
66
For testing decryption before rebooting.
66
69
** /usr/share/initramfs-tools/hooks/mandos
67
*** Do not install in initrd.img if configured not to.
68
Use "/etc/initramfs-tools/conf.d/mandos"? Definitely a debconf
70
** /etc/bash_completion.d/mandos
70
*** TODO [#C] use same file name rules as run-parts(8)
71
*** TODO [#C] Do not install in initrd.img if configured not to.
72
Use "/etc/initramfs-tools/hooksconf.d/mandos"?
73
** TODO [#C] /etc/bash_completion.d/mandos
71
74
From XML sources directly?
81
* Announce project on news
82
[[news:comp.os.linux.announce]]