/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
79
84
* mandos-ctl
80
85
*** Handle "no D-Bus server" and/or "no Mandos server found" better
81
86
*** [#B] --dump option
 
87
** TODO Support RFC 3339 time duration syntax
82
88
 
83
89
* TODO mandos-dispatch
84
90
  Listens for specified D-Bus signals and spawns shell commands with