/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: 2014-03-10 06:34:36 UTC
  • Revision ID: teddy@recompile.se-20140310063436-zksdghqvv6k1pbyg
Do not add a new server to server list if clock_gettime() fails

* plugins.d/mandos-client.c (add_server): Set server.last_seen before
                                          adding new server, in case
                                          clock_gettime() fails.

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] --dh-params=FILE
24
23
** TODO [#B] Use capabilities instead of seteuid().
25
 
   https://forums.grsecurity.net/viewtopic.php?f=7&t=2522
 
24
** TODO [#B] Use struct sockaddr_storage instead of a union
26
25
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
 
26
** TODO [#B] Prefer /run/tmp over /tmp, if it exists
27
27
** TODO [#C] Make start_mandos_communication() take "struct server".
28
 
** TODO [#C] --interfaces=regex,eth*,noregex (bridge-utils-interfaces(5))
29
28
 
30
29
* splashy
31
30
** TODO [#B] use scandir(3) instead of readdir(3)
35
34
** TODO [#B] use scandir(3) instead of readdir(3)
36
35
 
37
36
* askpass-fifo
 
37
** TODO [#B] Drop privileges after opening FIFO.
38
38
 
39
39
* password-prompt
40
40
** TODO [#B] lock stdin (with flock()?)
46
46
* plugin-runner
47
47
** TODO handle printing for errors for plugins
48
48
*** Hook up stderr of plugins, buffer them, and prepend "Mandos Plugin [plugin name]"
 
49
** TODO [#B] use scandir(3) instead of readdir(3)
49
50
** TODO [#C] use same file name rules as run-parts(8)
50
51
** kernel command line option for debug info
 
52
** TODO [#B] Use openat()
 
53
** TODO [#C] Use fnmatch() to look for bad prefixes and suffixes
51
54
 
52
55
* mandos (server)
53
 
** TODO [#B] Work around Avahi issue
54
 
   Avahi does not announce link-local addresses if any global
55
 
   addresses exist: http://lists.freedesktop.org/archives/avahi/2010-March/001863.html
56
 
** TODO [#B] --notify-command
57
 
   This would allow the mandos.service to use
58
 
   --notify-command="systemd-notify --pid READY=1"
59
56
** TODO [#B] Log level                                                    :BUGS:
60
57
*** TODO /etc/mandos/clients.d/*.conf
61
58
    Watch this directory and add/remove/update clients?
77
74
** TODO Use python-tlslite?
78
75
** TODO D-Bus AddClient() method on server object
79
76
** TODO Use org.freedesktop.DBus.Method.NoReply annotation on async methods. :2:
 
77
** TODO Emit [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties][org.freedesktop.DBus.Properties.PropertiesChanged]] signal         :2:
 
78
   TODO Deprecate se.recompile.Mandos.Client.PropertyChanged - annotate!
 
79
   TODO Can use "invalidates" annotation to also emit on changed secret.
80
80
** TODO Support [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager][org.freedesktop.DBus.ObjectManager]] interface on server object :2:
81
81
   Deprecate methods GetAllClients(), GetAllClientsWithProperties()
82
82
   and signals ClientAdded and ClientRemoved.
85
85
** TODO Secret Service API?
86
86
   http://standards.freedesktop.org/secret-service/
87
87
** TODO Remove D-Bus interfaces with old domain name                      :2:
88
 
** TODO Remove old string_to_delta format                                    :2:
89
 
** TODO http://0pointer.de/blog/projects/stateless.html
90
 
*** tmpfiles snippet to create /var/lib/mandos with right user+perms
91
 
*** File in /usr/lib/sysusers.d to create user+group "_mandos"
92
 
** TODO Error handling on error parsing config files
93
 
** TODO init.d script error handling
94
 
** TODO D-Bus server properties; address, port, interface, etc.              :2:
95
 
** TODO [#C] In Python 3.3, use shlex.quote() instead of re.escape()
 
88
** TODO Remove old string_to_delta format                                 :2:
 
89
** TODO --no-zeroconf (only valid if port or socket is set)
96
90
 
97
91
* mandos.xml
98
92
** Add mandos contact info in manual pages
100
94
* mandos-ctl
101
95
*** Handle "no D-Bus server" and/or "no Mandos server found" better
102
96
*** [#B] --dump option
103
 
** TODO Remove old string_to_delta format                                    :2:
 
97
** TODO Remove old string_to_delta format                                 :2:
104
98
 
105
99
* TODO mandos-dispatch
106
100
  Listens for specified D-Bus signals and spawns shell commands with