/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: Björn Påhlsson
  • Date: 2011-09-18 14:28:47 UTC
  • mto: (237.7.45 trunk)
  • mto: This revision was merged to the branch mainline in revision 286.
  • Revision ID: belorn@fukt.bsnet.se-20110918142847-wx9ru8lxxsc4timi
New feature:
extended timeout given once when password is sent to client

New dbus-API property (Expire):
Time and date when a client will be disabled

New dbus-API property (ExtendedTimeout):
The duration of extended timeout

Changed default values:
Timeout: Changed from 1 hour to 5 minutes
Interval: Changed from 5 minutes to 2 minutes

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]] [[https://news.ycombinator.com/item?id=9661349][On undoing, fixing, or removing commits in git]]
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
 
 
15
 
* [[http://www.undeadly.org/cgi?action=article&sid=20110530221728][OpenBSD]]
16
 
 
17
 
* Testing
18
 
** python-nemu
 
3
* Use _attribute_((nonnull)) wherever possible.
19
4
 
20
5
* mandos-applet
21
6
 
22
7
* mandos-client
23
 
** TODO [#A] --dh-params=FILE
24
8
** TODO [#B] Use capabilities instead of seteuid().
25
 
   https://forums.grsecurity.net/viewtopic.php?f=7&t=2522
 
9
** TODO [#B] Use struct sockaddr_storage instead of a union
26
10
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
27
 
** TODO [#C] Make start_mandos_communication() take "struct server".
28
 
** TODO [#C] --interfaces=regex,eth*,noregex (bridge-utils-interfaces(5))
29
 
** TODO [#C] Remove code for GNU libc < 2.15
 
11
** TODO [#B] Use getnameinfo(serv=NULL, NI_NUMERICHOST) instead of inet_ntop()
 
12
** TODO [#B] Prefer /run/tmp over /tmp, if it exists
30
13
 
31
14
* splashy
32
15
** TODO [#B] use scandir(3) instead of readdir(3)
33
16
 
34
 
* usplash (Deprecated)
35
 
** TODO [#B] Make it work again
 
17
* usplash
 
18
** TODO [#A] Make it work again
36
19
** TODO [#B] use scandir(3) instead of readdir(3)
 
20
** TODO Use [[info:libc:Argz%20Functions][argz_extract]]
37
21
 
38
22
* askpass-fifo
 
23
** TODO [#B] Drop privileges after opening FIFO.
39
24
 
40
25
* password-prompt
41
26
** TODO [#B] lock stdin (with flock()?)
46
31
 
47
32
* plugin-runner
48
33
** TODO handle printing for errors for plugins
49
 
*** Hook up stderr of plugins, buffer them, and prepend "Mandos Plugin [plugin name]"
 
34
*** Hook up stderr of plugins, buffer them, and prepend mandos pluig [plugin name]
 
35
** TODO [#B] use scandir(3) instead of readdir(3)
50
36
** TODO [#C] use same file name rules as run-parts(8)
51
37
** kernel command line option for debug info
52
 
** TODO [#C] Remove code for GNU libc < 2.15
 
38
** TODO [#B] Use openat()
53
39
 
54
40
* mandos (server)
55
 
** TODO [#B] --notify-command
56
 
   This would allow the mandos.service to use
57
 
   --notify-command="systemd-notify --pid READY=1"
 
41
** TODO [#A] Make all attributes properties!
58
42
** TODO [#B] Log level                                                    :BUGS:
 
43
** TODO Persistent state                                                  :BUGS:
 
44
   /var/lib/mandos/*
59
45
*** TODO /etc/mandos/clients.d/*.conf
60
46
    Watch this directory and add/remove/update clients?
61
47
** TODO [#C] config for TXT record
62
 
** TODO Log level dbus option
63
 
   SetLogLevel D-Bus call
 
48
** TODO Log level option
 
49
   syslogger.setLevel(logging.WARNING)
 
50
   + SetLogLevel D-Bus call
 
51
** TODO Implement --foreground                                            :BUGS:
 
52
   [[info:standards:Option%20Table][Table of Long Options]]
 
53
** TODO Implement --socket
 
54
   [[info:standards:Option%20Table][Table of Long Options]]
 
55
** TODO Date+time on console log messages                                 :BUGS:
 
56
   Is this the default?
64
57
** TODO [#C] DBusServiceObjectUsingSuper
65
58
** TODO [#B] Global enable/disable flag
66
 
** TODO [#B] By-client countdown on number of secrets given
67
 
** D-Bus Client method NeedsPassword(50) - Timeout, default disapprove
 
59
** TODO [#B] By-client countdown on secrets given
 
60
** TODO [#B] Fix problem with fsck taking a really long time
 
61
   Whenever a client successfully gets a secret it could get a
 
62
   one-time timeout boost to allow for an fsck-incurred delay
 
63
** TODO [#B] Support RFC 3339 time duration syntax
 
64
** More D-Bus methods
 
65
*** NeedsPassword(50) - Timeout, default disapprove
68
66
    + SetPass(u"gazonk", True) -> Approval, persistent
69
67
    + Approve(False) -> Close client connection immediately
70
68
** TODO [#C] python-parsedatetime
 
69
** TODO [#C] systemd/launchd
 
70
   http://0pointer.de/blog/projects/systemd.html
71
71
** TODO Separate logging logic to own object
72
 
** TODO [#B] Limit approval_delay to max gnutls/tls timeout value
 
72
** TODO make clients to a dict!
 
73
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
73
74
** TODO [#B] break the wait on approval_delay if connection dies
74
75
** TODO Generate Client.runtime_expansions from client options + extra
75
76
** TODO Allow %%(checker)s as a runtime expansion
76
77
** TODO Use python-tlslite?
77
 
** TODO D-Bus AddClient() method on server object
78
 
** TODO Use org.freedesktop.DBus.Method.NoReply annotation on async methods. :2:
79
 
** TODO Support [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager][org.freedesktop.DBus.ObjectManager]] interface on server object :2:
80
 
   Deprecate methods GetAllClients(), GetAllClientsWithProperties()
81
 
   and signals ClientAdded and ClientRemoved.
82
 
** TODO Save state periodically to recover better from hard shutdowns
83
 
** TODO CheckerCompleted method, deprecate CheckedOK
84
 
** TODO Secret Service API?
85
 
   http://standards.freedesktop.org/secret-service/
86
 
** TODO Remove D-Bus interfaces with old domain name                      :2:
87
 
** TODO Remove old string_to_delta format                                    :2:
88
 
** TODO http://0pointer.de/blog/projects/stateless.html
89
 
*** tmpfiles snippet to create /var/lib/mandos with right user+perms
90
 
*** File in /usr/lib/sysusers.d to create user+group "_mandos"
91
 
** TODO Error handling on error parsing config files
92
 
** TODO init.d script error handling
93
 
** 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
78
 
96
79
* mandos.xml
97
80
** Add mandos contact info in manual pages
99
82
* mandos-ctl
100
83
*** Handle "no D-Bus server" and/or "no Mandos server found" better
101
84
*** [#B] --dump option
102
 
** TODO Remove old string_to_delta format                                    :2:
 
85
** TODO Support RFC 3339 time duration syntax
103
86
 
104
87
* TODO mandos-dispatch
105
88
  Listens for specified D-Bus signals and spawns shell commands with
110
93
** Urwid client data displayer
111
94
   Better view of client data in the listing
112
95
*** Properties popup
113
 
** Print a nice "We are sorry" message, save stack trace to log.
114
 
** Rename module "gobject" to "GObject".
 
96
** Nicer crashes. Stack traces Messes up shell.
 
97
*** Print a nice "We are sorry" message, save stack trace to log.
 
98
** Show timeout countdown for approval
115
99
 
116
100
* mandos-keygen
117
101
** TODO "--secfile" option
119
103
** TODO [#B] "--test" option
120
104
   For testing decryption before rebooting.
121
105
 
 
106
* Makefile
 
107
** TODO [#C] Implement DEB_BUILD_OPTIONS
 
108
   http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
 
109
 
122
110
* Package
123
111
** /usr/share/initramfs-tools/hooks/mandos
124
112
*** TODO [#C] use same file name rules as run-parts(8)
125
113
*** TODO [#C] Do not install in initrd.img if configured not to.
126
114
    Use "/etc/initramfs-tools/hooksconf.d/mandos"?
127
 
** TODO [#C] $(pkg-config --variable=completionsdir bash-completion)
 
115
** TODO [#C] /etc/bash_completion.d/mandos
128
116
   From XML sources directly?
129
117
 
130
118
* Side Stuff
131
 
** TODO Locate which package moves the other bin/sh when busybox is deactivated
132
 
** TODO contact owner of package, and ask them to have that shell static in position regardless of busybox
 
119
** TODO Locate which packet move the other bin/sh when busy box is deactivated
 
120
** TODO contact owner of packet, and ask them to have that shell static in position regardless of busybox
133
121
 
134
122
 
135
123
#+STARTUP: showall