/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to TODO

  • Committer: Teddy Hogeborn
  • Date: 2011-11-26 22:22:20 UTC
  • mto: (518.1.8 mandos-persistent)
  • mto: This revision was merged to the branch mainline in revision 524.
  • Revision ID: teddy@recompile.se-20111126222220-1ubwjpb5ugqnrhec
Directory with persistent state can now be changed with the "statedir"
option.  The state directory /var/lib/mandos now gets created on
installation.  Added documentation about "restore" and "statedir"
options.

* Makefile (USER, GROUP, STATEDIR): New.
  (maintainer-clean): Also remove "statedir".
  (run-server): Replaced "--no-restore" with "--statedir=statedir".
  (statedir): New.
  (install-server): Make $(STATEDIR) directory.
* debian/mandos.dirs (var/lib/mandos): Added.
* debian/mandos.postinst: Fix ownership of /var/lib/mandos.
* mandos: New --statedir option.
  (stored_state_path): Not global anymore.
  (stored_state_file): New global.
* mandos.conf: Fix whitespace.
  (restore, statedir): Added.
* mandos.conf.xml (OPTIONS, EXAMPLE): Added "restore" and "statedir".
  mandos.xml (SYNOPSIS, OPTIONS): Added "--statedir".
  (FILES): Added "/var/lib/mandos".

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
* Use _attribute_((nonnull)) wherever possible.
4
4
 
 
5
* [[http://www.undeadly.org/cgi?action=article&sid=20110530221728][OpenBSD]]
 
6
 
5
7
* mandos-applet
6
8
 
7
9
* mandos-client
14
16
* splashy
15
17
** TODO [#B] use scandir(3) instead of readdir(3)
16
18
 
17
 
* usplash
 
19
* usplash (Deprecated)
18
20
** TODO [#A] Make it work again
19
21
** TODO [#B] use scandir(3) instead of readdir(3)
20
22
** TODO Use [[info:libc:Argz%20Functions][argz_extract]]
39
41
 
40
42
* mandos (server)
41
43
** TODO [#B] Log level                                                    :BUGS:
42
 
** TODO Persistent state                                                  :BUGS:
43
 
   /var/lib/mandos/*
 
44
  
44
45
*** TODO /etc/mandos/clients.d/*.conf
45
46
    Watch this directory and add/remove/update clients?
46
47
** TODO [#C] config for TXT record
51
52
   [[info:standards:Option%20Table][Table of Long Options]]
52
53
** TODO Implement --socket
53
54
   [[info:standards:Option%20Table][Table of Long Options]]
54
 
** TODO Date+time on console log messages                                 :BUGS:
55
 
   Is this the default?
56
55
** TODO [#C] DBusServiceObjectUsingSuper
57
56
** TODO [#B] Global enable/disable flag
58
57
** TODO [#B] By-client countdown on secrets given
59
 
** TODO [#B] Fix problem with fsck taking a really long time
60
 
   Whenever a client successfully gets a secret it could get a
61
 
   one-time timeout boost to allow for an fsck-incurred delay
62
58
** TODO [#B] Support RFC 3339 time duration syntax
63
59
** More D-Bus methods
64
60
*** NeedsPassword(50) - Timeout, default disapprove
67
63
** TODO [#C] python-parsedatetime
68
64
** TODO [#C] systemd/launchd
69
65
   http://0pointer.de/blog/projects/systemd.html
 
66
   http://wiki.debian.org/systemd
70
67
** TODO Separate logging logic to own object
71
 
** TODO make clients to a dict!
72
68
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
73
69
** TODO [#B] break the wait on approval_delay if connection dies
74
70
** TODO Generate Client.runtime_expansions from client options + extra
82
78
*** Handle "no D-Bus server" and/or "no Mandos server found" better
83
79
*** [#B] --dump option
84
80
** TODO Support RFC 3339 time duration syntax
 
81
** TODO Send milliseconds if bare integer is passed as time duration
85
82
 
86
83
* TODO mandos-dispatch
87
84
  Listens for specified D-Bus signals and spawns shell commands with
115
112
   From XML sources directly?
116
113
 
117
114
* Side Stuff
118
 
** TODO Locate which packet move the other bin/sh when busy box is deactivated
119
 
** TODO contact owner of packet, and ask them to have that shell static in position regardless of busybox
 
115
** TODO Locate which package moves the other bin/sh when busybox is deactivated
 
116
** TODO contact owner of package, and ask them to have that shell static in position regardless of busybox
120
117
 
121
118
 
122
119
#+STARTUP: showall