/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: 2015-06-28 16:35:27 UTC
  • mto: This revision was merged to the branch mainline in revision 759.
  • Revision ID: teddy@recompile.se-20150628163527-cky0ec59zew7teua
Add a plugin helper directory, available to all plugins.

* Makefile (PLUGIN_HELPERS): New; list of plugin helpers.
  (CPROGS): Appended "$(PLUGIN_HELPERS)".
* initramfs-tools-hook: Create new plugin helper directory, and copy
                        plugin helpers provided by the system and/or
                        by the local administrator.
  (PLUGINHELPERDIR): New.
* plugin-runner.c: Take new --plugin-helper-dir option and provide
                   environment variable to all plugins.
  (PHDIR): New; set to "/lib/mandos/plugin-helpers".
  (main/pluginhelperdir): New.
  (main/options): New option "--plugin-helper-dir".
  (main/parse_opt, main/parse_opt_config_file): Accept new option.
  (main): Use new option to set MANDOSPLUGINHELPERDIR environment
          variable as if using --global-env MANDOSPLUGINHELPERDIR=...
* plugin-runner.xml: Document new --plugin-helper-dir option.
  (SYNOPSIS, OPTIONS): Add "--plugin-helper-dir" option.
  (PLUGINS/WRITING PLUGINS): Document new environment variable
                             available to plugins.
  (ENVIRONMENT): Document new environment variable
                 "MANDOSPLUGINHELPERDIR" affected by the new
                 --plugin-helper-dir option.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
-*- org -*-
2
2
 
3
3
* GIT
4
 
** General: [[https://www.atlassian.com/git/workflows][Git Workflows]], [[http://gitimmersion.com/][Git Immersion]], [[https://news.ycombinator.com/item?id=7036628][Simple git workflow is simple]] [[https://news.ycombinator.com/item?id=9661349][On undoing, fixing, or removing commits in git]]
 
4
** General: [[https://www.atlassian.com/git/workflows][Git Workflows]], [[http://gitimmersion.com/][Git Immersion]], [[https://news.ycombinator.com/item?id=7036628][Simple git workflow is simple]]
5
5
** Intro: [[http://www.eyrie.org/~eagle/notes/debian/git.html#combine][Using Git for Debian Packaging]]
6
6
** Use: [[https://honk.sigxcpu.org/piki/projects/git-buildpackage/][git-buildpackage]]
7
7
** Migration
20
20
* mandos-applet
21
21
 
22
22
* mandos-client
23
 
** TODO [#A] --dh-params=FILE
24
23
** TODO [#B] Use capabilities instead of seteuid().
25
 
   https://forums.grsecurity.net/viewtopic.php?f=7&t=2522
26
24
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
27
25
** TODO [#C] Make start_mandos_communication() take "struct server".
28
26
** TODO [#C] --interfaces=regex,eth*,noregex (bridge-utils-interfaces(5))
29
 
** TODO [#C] Remove code for GNU libc < 2.15
30
27
 
31
28
* splashy
32
29
** TODO [#B] use scandir(3) instead of readdir(3)
49
46
*** Hook up stderr of plugins, buffer them, and prepend "Mandos Plugin [plugin name]"
50
47
** TODO [#C] use same file name rules as run-parts(8)
51
48
** kernel command line option for debug info
52
 
** TODO [#C] Remove code for GNU libc < 2.15
53
49
 
54
50
* mandos (server)
55
 
** TODO [#B] --notify-command
56
 
   This would allow the mandos.service to use
57
 
   --notify-command="systemd-notify --pid READY=1"
 
51
** TODO [#B] Work around Avahi issue
 
52
   Avahi does not announce link-local addresses if any global
 
53
   addresses exist: http://lists.freedesktop.org/archives/avahi/2010-March/001863.html
58
54
** TODO [#B] Log level                                                    :BUGS:
59
55
*** TODO /etc/mandos/clients.d/*.conf
60
56
    Watch this directory and add/remove/update clients?
69
65
    + Approve(False) -> Close client connection immediately
70
66
** TODO [#C] python-parsedatetime
71
67
** TODO Separate logging logic to own object
72
 
** TODO [#B] Limit approval_delay to max gnutls/tls timeout value
 
68
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
73
69
** TODO [#B] break the wait on approval_delay if connection dies
74
70
** TODO Generate Client.runtime_expansions from client options + extra
75
71
** TODO Allow %%(checker)s as a runtime expansion
91
87
** TODO Error handling on error parsing config files
92
88
** TODO init.d script error handling
93
89
** TODO D-Bus server properties; address, port, interface, etc.              :2:
94
 
** TODO [#C] In Python 3.3, use shlex.quote() instead of re.escape()
95
 
** TODO [#A] USe systemd Type=dbus
96
90
 
97
91
* mandos.xml
98
92
** Add mandos contact info in manual pages
125
119
*** TODO [#C] use same file name rules as run-parts(8)
126
120
*** TODO [#C] Do not install in initrd.img if configured not to.
127
121
    Use "/etc/initramfs-tools/hooksconf.d/mandos"?
128
 
** TODO [#C] $(pkg-config --variable=completionsdir bash-completion)
 
122
** TODO [#C] /etc/bash_completion.d/mandos
129
123
   From XML sources directly?
130
124
 
131
125
* Side Stuff