/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
3
* Use _attribute_((nonnull)) wherever possible.
 
4
* Use __attribute__((pure)) or __attribute__((const)) where possible.
 
5
* Use __attribute__((signal)) on signal handlers.
 
6
 
 
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
 
14
** TODO [#A] Wireless network hook
8
15
** TODO [#B] Use capabilities instead of seteuid().
9
16
** TODO [#B] Use struct sockaddr_storage instead of a union
10
17
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
14
21
* splashy
15
22
** TODO [#B] use scandir(3) instead of readdir(3)
16
23
 
17
 
* usplash
 
24
* usplash (Deprecated)
18
25
** TODO [#A] Make it work again
19
26
** TODO [#B] use scandir(3) instead of readdir(3)
20
27
** TODO Use [[info:libc:Argz%20Functions][argz_extract]]
38
45
** TODO [#B] Use openat()
39
46
 
40
47
* mandos (server)
 
48
** TODO Document why we ignore sigint
41
49
** TODO [#B] Log level                                                    :BUGS:
42
 
** TODO Persistent state                                                  :BUGS:
43
 
   /var/lib/mandos/*
44
50
*** TODO /etc/mandos/clients.d/*.conf
45
51
    Watch this directory and add/remove/update clients?
46
52
** TODO [#C] config for TXT record
47
 
** TODO Log level option
48
 
   syslogger.setLevel(logging.WARNING)
49
 
   + SetLogLevel D-Bus call
 
53
** TODO Log level dbus option
 
54
   SetLogLevel D-Bus call
50
55
** TODO Implement --foreground                                            :BUGS:
51
56
   [[info:standards:Option%20Table][Table of Long Options]]
52
57
** TODO Implement --socket
53
58
   [[info:standards:Option%20Table][Table of Long Options]]
54
 
** TODO Date+time on console log messages                                 :BUGS:
55
 
   Is this the default?
56
59
** TODO [#C] DBusServiceObjectUsingSuper
57
60
** TODO [#B] Global enable/disable flag
58
 
** TODO [#B] By-client countdown on secrets given
 
61
** TODO [#B] By-client countdown on number of secrets given
59
62
** TODO [#B] Support RFC 3339 time duration syntax
60
63
** More D-Bus methods
61
64
*** NeedsPassword(50) - Timeout, default disapprove
64
67
** TODO [#C] python-parsedatetime
65
68
** TODO [#C] systemd/launchd
66
69
   http://0pointer.de/blog/projects/systemd.html
 
70
   http://wiki.debian.org/systemd
67
71
** TODO Separate logging logic to own object
68
 
** TODO make clients to a dict!
69
72
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
70
73
** TODO [#B] break the wait on approval_delay if connection dies
71
74
** TODO Generate Client.runtime_expansions from client options + extra
72
75
** TODO Allow %%(checker)s as a runtime expansion
73
76
** TODO Use python-tlslite?
 
77
** TODO D-Bus AddClient() method on server object
74
78
 
75
79
* mandos.xml
76
80
** Add mandos contact info in manual pages
79
83
*** Handle "no D-Bus server" and/or "no Mandos server found" better
80
84
*** [#B] --dump option
81
85
** TODO Support RFC 3339 time duration syntax
 
86
** TODO Send milliseconds if bare integer is passed as time duration
82
87
 
83
88
* TODO mandos-dispatch
84
89
  Listens for specified D-Bus signals and spawns shell commands with
112
117
   From XML sources directly?
113
118
 
114
119
* Side Stuff
115
 
** TODO Locate which packet move the other bin/sh when busy box is deactivated
116
 
** TODO contact owner of packet, and ask them to have that shell static in position regardless of busybox
 
120
** TODO Locate which package moves the other bin/sh when busybox is deactivated
 
121
** TODO contact owner of package, and ask them to have that shell static in position regardless of busybox
117
122
 
118
123
 
119
124
#+STARTUP: showall