/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: 2012-01-15 20:27:28 UTC
  • Revision ID: teddy@recompile.se-20120115202728-185929ww2r84s8xg
* DBUS-API (se.recompile.Mandos.Client.LastCheckerStatus): New
                                                           property.
* mandos (Client.last_checker_status): Use -2 instead of None to match
                                       D-Bus property.  All users
                                       changed.
  (Client.checked_ok): Remove "timeout" argument and call
                       "self.bump_timeout()" instead.
  (Client.bump_timeout): New; separated out from "checked_ok".
  (ClientDBus.last_checker_status): Hook to a D-Bus property.
  (ClientDBus.LastCheckerStatus_dbus_property): New D-Bus property.
  (ClientHandler.handle): Call client.bump_timeout() instead of
                          client.checked_ok().

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
12
12
** TODO [#B] Use getnameinfo(serv=NULL, NI_NUMERICHOST) instead of inet_ntop()
13
13
** TODO [#B] Prefer /run/tmp over /tmp, if it exists
14
 
** TODO [#B] Use in_port_t instead of uint16_t for port numbers.
15
14
 
16
15
* splashy
17
16
** TODO [#B] use scandir(3) instead of readdir(3)
40
39
** TODO [#B] Use openat()
41
40
 
42
41
* mandos (server)
 
42
** TODO Document why we ignore sigint
43
43
** TODO [#B] Log level                                                    :BUGS:
44
44
*** TODO /etc/mandos/clients.d/*.conf
45
45
    Watch this directory and add/remove/update clients?
48
48
   SetLogLevel D-Bus call
49
49
** TODO Implement --foreground                                            :BUGS:
50
50
   [[info:standards:Option%20Table][Table of Long Options]]
 
51
** TODO Implement --socket
 
52
   [[info:standards:Option%20Table][Table of Long Options]]
51
53
** TODO [#C] DBusServiceObjectUsingSuper
52
54
** TODO [#B] Global enable/disable flag
53
55
** TODO [#B] By-client countdown on number of secrets given
54
56
** TODO [#B] Support RFC 3339 time duration syntax
55
 
** D-Bus Client method NeedsPassword(50) - Timeout, default disapprove
 
57
** More D-Bus methods
 
58
*** NeedsPassword(50) - Timeout, default disapprove
56
59
    + SetPass(u"gazonk", True) -> Approval, persistent
57
60
    + Approve(False) -> Close client connection immediately
58
61
** TODO [#C] python-parsedatetime
75
78
   and signals ClientAdded and ClientRemoved.
76
79
** TODO Save state periodically to recover better from hard shutdowns
77
80
** TODO CheckerCompleted method, deprecate CheckedOK
78
 
** TODO Secret Service API?
79
 
   http://standards.freedesktop.org/secret-service/
80
81
 
81
82
* mandos.xml
82
83
** Add mandos contact info in manual pages