/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:
7
7
* mandos-applet
8
8
 
9
9
* mandos-client
10
 
** TODO [#B] Flag fprintf_plus so compiler checks the format string.
11
 
** TODO [#A] OpenVPN network hook
12
 
** TODO [#A] Wireless network hook
13
10
** TODO [#B] Use capabilities instead of seteuid().
14
11
** TODO [#B] Use struct sockaddr_storage instead of a union
15
12
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
43
40
** TODO [#B] Use openat()
44
41
 
45
42
* mandos (server)
46
 
** TODO Document why we ignore sigint
47
43
** TODO [#B] Log level                                                    :BUGS:
48
 
** TODO [#A] Save state to new file and move instead of overwrite  
 
44
  
49
45
*** TODO /etc/mandos/clients.d/*.conf
50
46
    Watch this directory and add/remove/update clients?
51
47
** TODO [#C] config for TXT record
52
 
** TODO Log level dbus option
53
 
   SetLogLevel D-Bus call
 
48
** TODO Log level option
 
49
   syslogger.setLevel(logging.WARNING)
 
50
   + SetLogLevel D-Bus call
54
51
** TODO Implement --foreground                                            :BUGS:
55
52
   [[info:standards:Option%20Table][Table of Long Options]]
56
53
** TODO Implement --socket
57
54
   [[info:standards:Option%20Table][Table of Long Options]]
58
55
** TODO [#C] DBusServiceObjectUsingSuper
59
56
** TODO [#B] Global enable/disable flag
60
 
** TODO [#B] By-client countdown on number of secrets given
 
57
** TODO [#B] By-client countdown on secrets given
61
58
** TODO [#B] Support RFC 3339 time duration syntax
62
59
** More D-Bus methods
63
60
*** NeedsPassword(50) - Timeout, default disapprove
73
70
** TODO Generate Client.runtime_expansions from client options + extra
74
71
** TODO Allow %%(checker)s as a runtime expansion
75
72
** TODO Use python-tlslite?
76
 
** TODO D-Bus AddClient() method on server object
77
73
 
78
74
* mandos.xml
79
75
** Add mandos contact info in manual pages