/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
47
** TODO [#B] --notify-command
41
48
   This would allow the mandos.service to use
42
 
   --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()
43
52
** TODO [#B] Log level                                                    :BUGS:
44
53
*** TODO /etc/mandos/clients.d/*.conf
45
54
    Watch this directory and add/remove/update clients?
63
72
** TODO Save state periodically to recover better from hard shutdowns
64
73
** TODO CheckerCompleted method, deprecate CheckedOK
65
74
** TODO Secret Service API?
66
 
   http://standards.freedesktop.org/secret-service/
 
75
   https://standards.freedesktop.org/secret-service/
67
76
** TODO Remove D-Bus interfaces with old domain name                      :2:
68
77
** TODO Remove old string_to_delta format                                 :2:
69
78
** TODO http://0pointer.de/blog/projects/stateless.html
70
 
*** tmpfiles snippet to create /var/lib/mandos with right user+perms
71
79
*** File in /usr/lib/sysusers.d to create user+group "_mandos"
72
80
** TODO Error handling on error parsing config files
73
81
** TODO init.d script error handling
74
82
** TODO D-Bus server properties; address, port, interface, etc.           :2:
75
 
** 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()
76
85
 
77
86
* mandos-ctl
78
87
*** Handle "no D-Bus server" and/or "no Mandos server found" better
79
 
*** [#B] --dump option
80
88
** TODO Remove old string_to_delta format                                 :2:
81
89
 
82
90
* TODO mandos-dispatch