/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-25 00:40:09 UTC
  • Revision ID: teddy@fukt.bsnet.se-20111225004009-n5uimmac6h8djtv8
* plugin-runner.c (add_to_char_array): Added "nonnull" attribute.
  (add_argument): Added "nonnull" attribute on the "arg" argument.
  (add_environment): Added "nonnull" attribute on the "def" argument.
  (print_out_password, free_plugin): Added "nonnull" attribute.
  (main/parse_opt): Added "nonnull" attribute on the "state" argument.
* plugins.d/mandos-client.c (perror_plus): Bug fix; restore errno
                                           after fprintf().
* plugins.d/password-prompt.c (fprintf_plus): New.
 (conflict_detection/is_plymouth, main/parse_opt): Added "nonnull"
                                                   attribute.
 (conflict_detection/is_plymouth, conflict_detection, main): Bug fix;
                                                             Call
                                                             error_plus()
                                                             instead
                                                             of
                                                             error().
  (main/parse_opt): Added "nonnull" attribute on the "state" argument.
* plugins.d/plymouth.c (exec_and_wait): Added "nonnull" attribute on
                                        the "path" and "argv"
                                        arguments.
  (is_plymouth): Added "nonnull" attribute.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
-*- org -*-
2
2
 
3
 
* Use _attribute_((nonnull)) wherever possible.
4
 
 
5
3
* [[http://www.undeadly.org/cgi?action=article&sid=20110530221728][OpenBSD]]
6
4
 
7
5
* mandos-applet
8
6
 
9
7
* mandos-client
10
 
** TODO [#A] Document network hook functionality
 
8
** TODO [#A] Wireless network hook
11
9
** TODO [#B] Use capabilities instead of seteuid().
12
10
** TODO [#B] Use struct sockaddr_storage instead of a union
13
11
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
41
39
** TODO [#B] Use openat()
42
40
 
43
41
* mandos (server)
 
42
** TODO Document why we ignore sigint
44
43
** TODO [#B] Log level                                                    :BUGS:
45
 
** TODO Persistent state                                                  :BUGS:
46
 
   /var/lib/mandos/*
47
44
*** TODO /etc/mandos/clients.d/*.conf
48
45
    Watch this directory and add/remove/update clients?
49
46
** TODO [#C] config for TXT record
50
 
** TODO Log level option
51
 
   syslogger.setLevel(logging.WARNING)
52
 
   + SetLogLevel D-Bus call
 
47
** TODO Log level dbus option
 
48
   SetLogLevel D-Bus call
53
49
** TODO Implement --foreground                                            :BUGS:
54
50
   [[info:standards:Option%20Table][Table of Long Options]]
55
51
** TODO Implement --socket
56
52
   [[info:standards:Option%20Table][Table of Long Options]]
57
 
** TODO Date+time on console log messages                                 :BUGS:
58
 
   Is this the default?
59
53
** TODO [#C] DBusServiceObjectUsingSuper
60
54
** TODO [#B] Global enable/disable flag
61
 
** TODO [#B] By-client countdown on secrets given
 
55
** TODO [#B] By-client countdown on number of secrets given
62
56
** TODO [#B] Support RFC 3339 time duration syntax
63
57
** More D-Bus methods
64
58
*** NeedsPassword(50) - Timeout, default disapprove
69
63
   http://0pointer.de/blog/projects/systemd.html
70
64
   http://wiki.debian.org/systemd
71
65
** TODO Separate logging logic to own object
72
 
** TODO make clients to a dict!
73
66
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
74
67
** TODO [#B] break the wait on approval_delay if connection dies
75
68
** TODO Generate Client.runtime_expansions from client options + extra
76
69
** TODO Allow %%(checker)s as a runtime expansion
77
70
** TODO Use python-tlslite?
 
71
** TODO D-Bus AddClient() method on server object
78
72
 
79
73
* mandos.xml
80
74
** Add mandos contact info in manual pages