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