/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: 2014-06-14 22:55:11 UTC
  • mto: (237.7.272 trunk)
  • mto: This revision was merged to the branch mainline in revision 317.
  • Revision ID: teddy@recompile.se-20140614225511-0ge6tce2esulf65t
In plugin-runner, do scandirat() or scandir() instead of readdir().

* plugin-runner.c (set_cloexec_flag): Only define if O_CLOEXEC is not
                                      defined, it is not called
                                      otherwise.
  (main): Remove variables "dir" and "dirst"; new variable "dir_fd".
          Use scandirat() if available, scandir() otherwise, both
          using new filter function "good_name".  Removed checking of
          plugin file name patterns; this is now done by "good_name".
          Do not set FD_CLOEXEC flag on plugin_fd, since fexecve()
          will not work with it.  Use pipe2() to set O_CLOEXEC on pipe
          FD's (if possible).
  (main/good_name): New filter function for scandirat() or scandir().

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
-*- org -*-
2
2
 
 
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]]
 
5
** Intro: [[http://www.eyrie.org/~eagle/notes/debian/git.html#combine][Using Git for Debian Packaging]]
 
6
** Use: [[https://honk.sigxcpu.org/piki/projects/git-buildpackage/][git-buildpackage]]
 
7
** Migration
 
8
   tailor?
 
9
   Using bzr-fastimport: [[http://www.fusonic.net/en/blog/2013/03/26/migrating-from-bazaar-to-git/][Migrating from Bazaar to Git]]
 
10
** Unresolved: [[http://jameswestby.net/bzr/builddeb/user_manual/split.html][bzr builddeb split mode]]
 
11
   Maybe: [[http://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.import.html#GBP.IMPORT.UPSTREAM.GIT.NOTARBALL][git-buildpackage - No upstream tarballs]]
 
12
   [[http://www.python.org/dev/peps/pep-0374/][PEP 374 - Choosing a distributed VCS for the Python project]]
 
13
   [[http://www.emacswiki.org/emacs/GitForEmacsDevs][Git For Emacs Devs]]
 
14
 
3
15
* [[http://www.undeadly.org/cgi?action=article&sid=20110530221728][OpenBSD]]
4
16
 
 
17
* Testing
 
18
** python-nemu
 
19
 
5
20
* mandos-applet
6
21
 
7
22
* mandos-client
8
23
** TODO [#B] Use capabilities instead of seteuid().
9
 
** TODO [#B] Use struct sockaddr_storage instead of a union
10
24
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
11
 
** TODO [#B] Use getnameinfo(serv=NULL, NI_NUMERICHOST) instead of inet_ntop()
12
 
** TODO [#B] Prefer /run/tmp over /tmp, if it exists
13
25
** TODO [#C] Make start_mandos_communication() take "struct server".
14
26
 
15
27
* splashy
32
44
* plugin-runner
33
45
** TODO handle printing for errors for plugins
34
46
*** Hook up stderr of plugins, buffer them, and prepend "Mandos Plugin [plugin name]"
35
 
** TODO [#B] use scandir(3) instead of readdir(3)
 
47
** TODO [#B] use scandirat(3) instead of readdir(3)
 
48
*** Must wait until GNU libc 2.15
36
49
** TODO [#C] use same file name rules as run-parts(8)
37
50
** kernel command line option for debug info
38
 
** TODO [#B] Use openat()
39
51
 
40
52
* mandos (server)
41
53
** TODO [#B] Log level                                                    :BUGS:
51
63
    + SetPass(u"gazonk", True) -> Approval, persistent
52
64
    + Approve(False) -> Close client connection immediately
53
65
** TODO [#C] python-parsedatetime
54
 
** TODO [#C] systemd/launchd
55
 
   http://0pointer.de/blog/projects/systemd.html
56
 
   http://wiki.debian.org/systemd
57
66
** TODO Separate logging logic to own object
58
67
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
59
68
** TODO [#B] break the wait on approval_delay if connection dies
74
83
   http://standards.freedesktop.org/secret-service/
75
84
** TODO Remove D-Bus interfaces with old domain name                      :2:
76
85
** TODO Remove old string_to_delta format                                 :2:
 
86
** TODO --no-zeroconf (only valid if port or socket is set)
77
87
 
78
88
* mandos.xml
79
89
** Add mandos contact info in manual pages
93
103
   Better view of client data in the listing
94
104
*** Properties popup
95
105
** Print a nice "We are sorry" message, save stack trace to log.
 
106
** Rename module "gobject" to "GObject".
96
107
 
97
108
* mandos-keygen
98
109
** TODO "--secfile" option
100
111
** TODO [#B] "--test" option
101
112
   For testing decryption before rebooting.
102
113
 
103
 
* Makefile
104
 
** TODO [#C] Implement DEB_BUILD_OPTIONS
105
 
   http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
106
 
 
107
114
* Package
108
115
** /usr/share/initramfs-tools/hooks/mandos
109
116
*** TODO [#C] use same file name rules as run-parts(8)