/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 at bsnet
  • Date: 2011-12-24 23:07:17 UTC
  • Revision ID: teddy@fukt.bsnet.se-20111224230717-yd3c0532w0kaviuc
* plugins.d/mandos-client.c (fprintf_plus): Check format string.
  (run_network_hooks): Check for execl() failure.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
-*- org -*-
2
2
 
 
3
* Use _attribute_((nonnull)) wherever possible.
 
4
* Use __attribute__((pure)) or __attribute__((const)) where possible.
 
5
* Use __attribute__((signal)) on signal handlers.
 
6
 
3
7
* [[http://www.undeadly.org/cgi?action=article&sid=20110530221728][OpenBSD]]
4
8
 
5
9
* mandos-applet
6
10
 
7
11
* mandos-client
 
12
** TODO [#B] Flag fprintf_plus so compiler checks the format string.
 
13
** TODO [#A] OpenVPN network hook
8
14
** TODO [#A] Wireless network hook
9
15
** TODO [#B] Use capabilities instead of seteuid().
10
16
** TODO [#B] Use struct sockaddr_storage instead of a union
11
17
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
12
18
** TODO [#B] Use getnameinfo(serv=NULL, NI_NUMERICHOST) instead of inet_ntop()
13
19
** TODO [#B] Prefer /run/tmp over /tmp, if it exists
14
 
** TODO [#B] Use in_port_t instead of uint16_t for port numbers.
15
20
 
16
21
* splashy
17
22
** TODO [#B] use scandir(3) instead of readdir(3)
40
45
** TODO [#B] Use openat()
41
46
 
42
47
* mandos (server)
 
48
** TODO Document why we ignore sigint
43
49
** TODO [#B] Log level                                                    :BUGS:
44
50
*** TODO /etc/mandos/clients.d/*.conf
45
51
    Watch this directory and add/remove/update clients?
48
54
   SetLogLevel D-Bus call
49
55
** TODO Implement --foreground                                            :BUGS:
50
56
   [[info:standards:Option%20Table][Table of Long Options]]
 
57
** TODO Implement --socket
 
58
   [[info:standards:Option%20Table][Table of Long Options]]
51
59
** TODO [#C] DBusServiceObjectUsingSuper
52
60
** TODO [#B] Global enable/disable flag
53
61
** TODO [#B] By-client countdown on number of secrets given
54
62
** TODO [#B] Support RFC 3339 time duration syntax
55
 
** D-Bus Client method NeedsPassword(50) - Timeout, default disapprove
 
63
** More D-Bus methods
 
64
*** NeedsPassword(50) - Timeout, default disapprove
56
65
    + SetPass(u"gazonk", True) -> Approval, persistent
57
66
    + Approve(False) -> Close client connection immediately
58
67
** TODO [#C] python-parsedatetime
66
75
** TODO Allow %%(checker)s as a runtime expansion
67
76
** TODO Use python-tlslite?
68
77
** TODO D-Bus AddClient() method on server object
69
 
** TODO Use org.freedesktop.DBus.Method.NoReply annotation on async methods.
70
 
** TODO Emit [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties][org.freedesktop.DBus.Properties.PropertiesChanged]] signal
71
 
   TODO Deprecate se.recompile.Mandos.Client.PropertyChanged - annotate!
72
 
   TODO Can use "invalidates" annotation to also emit on changed secret.
73
 
** TODO Support [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager][org.freedesktop.DBus.ObjectManager]] interface on server object
74
 
   Deprecate methods GetAllClients(), GetAllClientsWithProperties()
75
 
   and signals ClientAdded and ClientRemoved.
76
 
** TODO Save state periodically to recover better from hard shutdowns
77
 
** TODO CheckerCompleted method, deprecate CheckedOK
78
 
** TODO Secret Service API?
79
 
   http://standards.freedesktop.org/secret-service/
80
78
 
81
79
* mandos.xml
82
80
** Add mandos contact info in manual pages
85
83
*** Handle "no D-Bus server" and/or "no Mandos server found" better
86
84
*** [#B] --dump option
87
85
** TODO Support RFC 3339 time duration syntax
 
86
** TODO Send milliseconds if bare integer is passed as time duration
88
87
 
89
88
* TODO mandos-dispatch
90
89
  Listens for specified D-Bus signals and spawns shell commands with
95
94
** Urwid client data displayer
96
95
   Better view of client data in the listing
97
96
*** Properties popup
98
 
** Print a nice "We are sorry" message, save stack trace to log.
 
97
** Nicer crashes. Stack traces Messes up shell.
 
98
*** Print a nice "We are sorry" message, save stack trace to log.
99
99
** Show timeout countdown for approval
100
100
 
101
101
* mandos-keygen