/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: 2016-02-28 10:59:18 UTC
  • Revision ID: teddy@recompile.se-20160228105918-tb8pt2p5j0tkcls3
Handle GnuTLS errors and partial sends in gnutls "module".

* mandos (GnuTLS.E_INTERRUPTED, GnuTLS.E_AGAIN): New.
  (GnuTLS.Error): Set error code as "code" attribute.
  (GnuTLS.ClientSession.send): Handle partial sends with a loop.
  (GnuTLS._retry_on_error): New function.
  (GnuTLS.record_send, GnuTLS.handshake, GnuTLS.bye): Set "errcheck"
                                                      attribute to
                                                    "_retry_on_error".
  (ClientHandler.handle): Remove loop for handling partial sends;
                          GnuTLS.ClientSession.send() will do that.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
* mandos-applet
21
21
 
22
22
* mandos-client
 
23
** TODO A --server option which only adds to the server list.
 
24
   (Unlike --connect, which implicitly disables zeroconf.)
23
25
** TODO [#B] Use capabilities instead of seteuid().
24
26
   https://forums.grsecurity.net/viewtopic.php?f=7&t=2522
25
27
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
75
77
** TODO Use python-tlslite?
76
78
** TODO D-Bus AddClient() method on server object
77
79
** TODO Use org.freedesktop.DBus.Method.NoReply annotation on async methods. :2:
78
 
** TODO Support [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager][org.freedesktop.DBus.ObjectManager]] interface on server object :2:
79
 
   Deprecate methods GetAllClients(), GetAllClientsWithProperties()
80
 
   and signals ClientAdded and ClientRemoved.
81
80
** TODO Save state periodically to recover better from hard shutdowns
82
81
** TODO CheckerCompleted method, deprecate CheckedOK
83
82
** TODO Secret Service API?