/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

  • Committer: Teddy Hogeborn
  • Date: 2019-02-11 05:14:10 UTC
  • mto: (237.7.594 trunk)
  • mto: This revision was merged to the branch mainline in revision 376.
  • Revision ID: teddy@recompile.se-20190211051410-43fmzhy0vlafw2pc
Fix warnings from -Wimplicit-fallthrough

* plugin-runner.c (main/parse_opt): Add __builtin_unreachable() after
                                    calls to argp_state_help().
* plugins.d/askpass-fifo.c (error_plus): Add __builtin_unreachable()
                                         after calls to error().
* plugins.d/mandos-client.c (main/parse_opt) Add
                                             __builtin_unreachable()
                                             after calls to
                                             argp_state_help().
* plugins.d/password-prompt.c: - '' -

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
14
14
** TODO [#C] Make start_mandos_communication() take "struct server".
15
15
** TODO [#C] --interfaces=regex,eth*,noregex (bridge-utils-interfaces(5))
 
16
** TODO [#A] Detect partial writes to stdout and exit with EX_TEMPFAIL
16
17
 
17
18
* splashy
18
19
** TODO [#B] use scandir(3) instead of readdir(3)
 
20
** TODO [#A] Detect partial writes to stdout and exit with EX_TEMPFAIL
19
21
 
20
22
* usplash (Deprecated)
21
23
** TODO [#B] Make it work again
22
24
** TODO [#B] use scandir(3) instead of readdir(3)
 
25
** TODO [#A] Detect partial writes to stdout and exit with EX_TEMPFAIL
23
26
 
24
27
* askpass-fifo
 
28
** TODO [#A] Detect partial writes to stdout and exit with EX_TEMPFAIL
25
29
 
26
30
* password-prompt
27
31
** TODO [#B] lock stdin (with flock()?)
 
32
** TODO [#A] Detect partial writes to stdout and exit with EX_TEMPFAIL
28
33
 
29
34
* plymouth
 
35
** TODO [#A] Detect partial writes to stdout and exit with EX_TEMPFAIL
30
36
 
31
37
* TODO [#B] passdev
32
38
 
35
41
*** Hook up stderr of plugins, buffer them, and prepend "Mandos Plugin [plugin name]"
36
42
** TODO [#C] use same file name rules as run-parts(8)
37
43
** kernel command line option for debug info
 
44
** TODO [#A] Restart plugins which exit with EX_TEMPFAIL
38
45
 
39
46
* mandos (server)
40
 
** TODO Fix bug: it does not exit on SIGTERM until poked via D-Bus
41
 
** TODO Convert to Python 3 by using own Avahi module, same as GnuTLS
42
47
** TODO [#B] --notify-command
43
48
   This would allow the mandos.service to use
44
 
   --notify-command="systemd-notify --pid READY=1"
 
49
   --notify-command="systemd-notify --pid --ready"
 
50
** TODO [#B] python-systemd
 
51
*** import systemd.daemon; systemd.daemon.notify()
45
52
** TODO [#B] Log level                                                    :BUGS:
46
53
*** TODO /etc/mandos/clients.d/*.conf
47
54
    Watch this directory and add/remove/update clients?
65
72
** TODO Save state periodically to recover better from hard shutdowns
66
73
** TODO CheckerCompleted method, deprecate CheckedOK
67
74
** TODO Secret Service API?
68
 
   http://standards.freedesktop.org/secret-service/
 
75
   https://standards.freedesktop.org/secret-service/
69
76
** TODO Remove D-Bus interfaces with old domain name                      :2:
70
77
** TODO Remove old string_to_delta format                                 :2:
71
78
** TODO http://0pointer.de/blog/projects/stateless.html
72
 
*** tmpfiles snippet to create /var/lib/mandos with right user+perms
73
79
*** File in /usr/lib/sysusers.d to create user+group "_mandos"
74
80
** TODO Error handling on error parsing config files
75
81
** TODO init.d script error handling
76
82
** TODO D-Bus server properties; address, port, interface, etc.           :2:
77
 
** TODO [#C] In Python 3.3, use shlex.quote() instead of re.escape()
 
83
** Python 3                                                               :2:
 
84
*** TODO [#C] In Python 3.3, use shlex.quote() instead of re.escape()
78
85
 
79
86
* mandos-ctl
80
87
*** Handle "no D-Bus server" and/or "no Mandos server found" better
81
 
*** [#B] --dump option
82
88
** TODO Remove old string_to_delta format                                 :2:
83
89
 
84
90
* TODO mandos-dispatch