/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 23:08:17 UTC
  • mto: (518.1.8 mandos-persistent)
  • mto: This revision was merged to the branch mainline in revision 524.
  • Revision ID: teddy@recompile.se-20111126230817-tv08v831s2yltbkd
Make "enabled" a client config option.

* DBUS-API: Fix wording on "Expires" option.
* clients.conf (enabled): New.
* mandos (Client): "last_enabled" can now be None.
  (Client.__init__): Get "enabled" from config.  Only set
                     "last_enabled" and "expires" if enabled.
  (ClientDBus.Created_dbus_property): Removed redundant dbus.String().
  (ClientDBus.Interval_dbus_property): If changed, only reschedule
                                       checker if enabled.
  (main/special_settings): Added "enabled".
* mandos-clients.conf (OPTIONS): Added "enabled".

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
-*- org -*-
2
2
 
3
3
* Use _attribute_((nonnull)) wherever possible.
4
 
* Use __attribute__((pure)) or __attribute__((const)) where possible.
5
 
* Use __attribute__((signal)) on signal handlers.
6
4
 
7
5
* [[http://www.undeadly.org/cgi?action=article&sid=20110530221728][OpenBSD]]
8
6
 
9
7
* mandos-applet
10
8
 
11
9
* mandos-client
12
 
** TODO [#A] OpenVPN network hook
13
 
** TODO [#A] Wireless network hook
14
10
** TODO [#B] Use capabilities instead of seteuid().
15
11
** TODO [#B] Use struct sockaddr_storage instead of a union
16
12
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
44
40
** TODO [#B] Use openat()
45
41
 
46
42
* mandos (server)
47
 
** TODO Document why we ignore sigint
48
43
** TODO [#B] Log level                                                    :BUGS:
 
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