/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-06-13 22:06:57 UTC
  • mto: This revision was merged to the branch mainline in revision 596.
  • Revision ID: teddy@recompile.se-20120613220657-qvq7c7nrndl3t413
* plugins.d/mandos-client.c (get_flags): Don't clobber errno.
  (up_interface): Removed; replaced with "interface_is_up".
  (interface_is_up, interface_is_running,
   lower_privileges_permanently, take_down_interface): New.
  (bring_up_interface): Return "error_t".  Use new functions
                        "interface_is_up", "get_flags", and
                        "interface_is_running".
  (main): Save all interfaces either autodetected or specified with
          --interface in argz vector "interfaces".  Save interfaces to
          take down on exit in argz vector "interfaces_to_take_down".
          Save interface names for DEVICE variable to network hooks as
          argz_vector "interfaces_hooks".  Bug fix: Be privileged
          while stopping network hooks.
* plugins.d/mandos-client.xml (SYNOPSIS): Changed --interface synopsis.
  (DESCRIPTION): Updated to document use of all interfaces.
  (OPTIONS): Updated description of "--interface".
* network-hooks.d/bridge: Parse comma-separated DEVICE environment
                          variable.
* network-hooks.d/openvpn: - '' -
* network-hooks.d/wireless: - '' -

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
* mandos-applet
6
6
 
7
7
* mandos-client
 
8
** TODO [#A] Wireless network hook
8
9
** TODO [#B] Use capabilities instead of seteuid().
9
10
** TODO [#B] Use struct sockaddr_storage instead of a union
10
11
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
11
12
** TODO [#B] Use getnameinfo(serv=NULL, NI_NUMERICHOST) instead of inet_ntop()
12
13
** TODO [#B] Prefer /run/tmp over /tmp, if it exists
13
 
** TODO [#C] Make start_mandos_communication() take "struct server".
 
14
** TODO [#B] Use in_port_t instead of uint16_t for port numbers.
14
15
 
15
16
* splashy
16
17
** TODO [#B] use scandir(3) instead of readdir(3)
18
19
* usplash (Deprecated)
19
20
** TODO [#A] Make it work again
20
21
** TODO [#B] use scandir(3) instead of readdir(3)
 
22
** TODO Use [[info:libc:Argz%20Functions][argz_extract]]
21
23
 
22
24
* askpass-fifo
23
25
** TODO [#B] Drop privileges after opening FIFO.
31
33
 
32
34
* plugin-runner
33
35
** TODO handle printing for errors for plugins
34
 
*** Hook up stderr of plugins, buffer them, and prepend "Mandos Plugin [plugin name]"
 
36
*** Hook up stderr of plugins, buffer them, and prepend mandos pluig [plugin name]
35
37
** TODO [#B] use scandir(3) instead of readdir(3)
36
38
** TODO [#C] use same file name rules as run-parts(8)
37
39
** kernel command line option for debug info
44
46
** TODO [#C] config for TXT record
45
47
** TODO Log level dbus option
46
48
   SetLogLevel D-Bus call
 
49
** TODO Implement --foreground                                            :BUGS:
 
50
   [[info:standards:Option%20Table][Table of Long Options]]
47
51
** TODO [#C] DBusServiceObjectUsingSuper
48
52
** TODO [#B] Global enable/disable flag
49
53
** TODO [#B] By-client countdown on number of secrets given
 
54
** TODO [#B] Support RFC 3339 time duration syntax
50
55
** D-Bus Client method NeedsPassword(50) - Timeout, default disapprove
51
56
    + SetPass(u"gazonk", True) -> Approval, persistent
52
57
    + Approve(False) -> Close client connection immediately
61
66
** TODO Allow %%(checker)s as a runtime expansion
62
67
** TODO Use python-tlslite?
63
68
** TODO D-Bus AddClient() method on server object
64
 
** TODO Use org.freedesktop.DBus.Method.NoReply annotation on async methods. :2:
65
 
** TODO Emit [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties][org.freedesktop.DBus.Properties.PropertiesChanged]] signal         :2:
 
69
** TODO Use org.freedesktop.DBus.Method.NoReply annotation on async methods.
 
70
** TODO Emit [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties][org.freedesktop.DBus.Properties.PropertiesChanged]] signal
66
71
   TODO Deprecate se.recompile.Mandos.Client.PropertyChanged - annotate!
67
72
   TODO Can use "invalidates" annotation to also emit on changed secret.
68
 
** TODO Support [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager][org.freedesktop.DBus.ObjectManager]] interface on server object :2:
 
73
** TODO Support [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager][org.freedesktop.DBus.ObjectManager]] interface on server object
69
74
   Deprecate methods GetAllClients(), GetAllClientsWithProperties()
70
75
   and signals ClientAdded and ClientRemoved.
71
76
** TODO Save state periodically to recover better from hard shutdowns
72
77
** TODO CheckerCompleted method, deprecate CheckedOK
73
78
** TODO Secret Service API?
74
79
   http://standards.freedesktop.org/secret-service/
75
 
** TODO Remove D-Bus interfaces with old domain name                      :2:
76
 
** TODO Remove old string_to_delta format                                 :2:
77
80
 
78
81
* mandos.xml
79
82
** Add mandos contact info in manual pages
81
84
* mandos-ctl
82
85
*** Handle "no D-Bus server" and/or "no Mandos server found" better
83
86
*** [#B] --dump option
84
 
** TODO Remove old string_to_delta format                                 :2:
 
87
** TODO Support RFC 3339 time duration syntax
85
88
 
86
89
* TODO mandos-dispatch
87
90
  Listens for specified D-Bus signals and spawns shell commands with
93
96
   Better view of client data in the listing
94
97
*** Properties popup
95
98
** Print a nice "We are sorry" message, save stack trace to log.
 
99
** Show timeout countdown for approval
96
100
 
97
101
* mandos-keygen
98
102
** TODO "--secfile" option