/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to TODO

Hooks take new "modules" argument, and hook names can contain periods.

* debian/mandos-client.README.Debian: Adjust wording.
* debian/rules (binary-common): Exclude nework-hooks.d directory from
                                dh_fixperms.
* initramfs-tools-hook: Also create network hook directory.  Allow
                        periods in hook names.  Only run executable
                        files in hook directory.  Copy needed modules.
* network-hooks.d/bridge: Fix "/usr/bin/brctl" to "/usr/sbin/brctl".
                          Also take "modules" argument.
* plugins.d/mandos-client.xml (NETWORK HOOKS/REQUIREMENTS): Document
                                                            the
                                                            allowing
                                                            of periods
                                                            in hook
                                                            names.
  (NETWORK HOOKS/REQUIREMENTS/files): Adjust wording.
  (NETWORK HOOKS/REQUIREMENTS/modules): New.
  (NETWORK HOOKS/REQUIREMENTS/MANDOSNETHOOKDIR): Clarify.
  (NETWORK HOOKS/REQUIREMENTS/MODE): Add "modules".

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
-*- org -*-
2
2
 
 
3
* Use _attribute_((nonnull)) wherever possible.
 
4
 
3
5
* [[http://www.undeadly.org/cgi?action=article&sid=20110530221728][OpenBSD]]
4
6
 
5
7
* mandos-applet
6
8
 
7
9
* mandos-client
8
 
** TODO [#A] Wireless network hook
 
10
** TODO [#A] Document network hook functionality
9
11
** TODO [#B] Use capabilities instead of seteuid().
10
12
** TODO [#B] Use struct sockaddr_storage instead of a union
11
13
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
39
41
** TODO [#B] Use openat()
40
42
 
41
43
* mandos (server)
42
 
** TODO Document why we ignore sigint
43
44
** TODO [#B] Log level                                                    :BUGS:
 
45
** TODO Persistent state                                                  :BUGS:
 
46
   /var/lib/mandos/*
44
47
*** TODO /etc/mandos/clients.d/*.conf
45
48
    Watch this directory and add/remove/update clients?
46
49
** TODO [#C] config for TXT record
47
 
** TODO Log level dbus option
48
 
   SetLogLevel D-Bus call
 
50
** TODO Log level option
 
51
   syslogger.setLevel(logging.WARNING)
 
52
   + SetLogLevel D-Bus call
49
53
** TODO Implement --foreground                                            :BUGS:
50
54
   [[info:standards:Option%20Table][Table of Long Options]]
51
55
** TODO Implement --socket
52
56
   [[info:standards:Option%20Table][Table of Long Options]]
 
57
** TODO Date+time on console log messages                                 :BUGS:
 
58
   Is this the default?
53
59
** TODO [#C] DBusServiceObjectUsingSuper
54
60
** TODO [#B] Global enable/disable flag
55
 
** TODO [#B] By-client countdown on number of secrets given
 
61
** TODO [#B] By-client countdown on secrets given
56
62
** TODO [#B] Support RFC 3339 time duration syntax
57
63
** More D-Bus methods
58
64
*** NeedsPassword(50) - Timeout, default disapprove
63
69
   http://0pointer.de/blog/projects/systemd.html
64
70
   http://wiki.debian.org/systemd
65
71
** TODO Separate logging logic to own object
 
72
** TODO make clients to a dict!
66
73
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
67
74
** TODO [#B] break the wait on approval_delay if connection dies
68
75
** TODO Generate Client.runtime_expansions from client options + extra
69
76
** TODO Allow %%(checker)s as a runtime expansion
70
77
** TODO Use python-tlslite?
71
 
** TODO D-Bus AddClient() method on server object
72
 
** TODO Use org.freedesktop.DBus.Method.NoReply annotation on async methods.
73
 
** TODO Emit [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties][org.freedesktop.DBus.Properties.PropertiesChanged]] signal
74
 
   TODO Deprecate se.recompile.Mandos.Client.PropertyChanged - annotate!
75
 
   TODO Can use "invalidates" annotation to also emit on changed secret.
76
 
** TODO Support [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager][org.freedesktop.DBus.ObjectManager]] interface on server object
77
 
   Deprecate methods GetAllClients(), GetAllClientsWithProperties()
78
 
   and signals ClientAdded and ClientRemoved.
79
 
** TODO Save state periodically to recover better from hard shutdowns
80
 
** TODO CheckerCompleted method, deprecate CheckedOK
81
78
 
82
79
* mandos.xml
83
80
** Add mandos contact info in manual pages
86
83
*** Handle "no D-Bus server" and/or "no Mandos server found" better
87
84
*** [#B] --dump option
88
85
** TODO Support RFC 3339 time duration syntax
 
86
** TODO Send milliseconds if bare integer is passed as time duration
89
87
 
90
88
* TODO mandos-dispatch
91
89
  Listens for specified D-Bus signals and spawns shell commands with
96
94
** Urwid client data displayer
97
95
   Better view of client data in the listing
98
96
*** Properties popup
99
 
** Print a nice "We are sorry" message, save stack trace to log.
 
97
** Nicer crashes. Stack traces Messes up shell.
 
98
*** Print a nice "We are sorry" message, save stack trace to log.
100
99
** Show timeout countdown for approval
101
100
 
102
101
* mandos-keygen