/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 Hogeborn
  • Date: 2008-07-19 18:43:24 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080719184324-iwhoa5in75xa0u2u
* mandos-clients.conf ([foo]/dn, [foo]/password, [braxen_client]/dn,
                       [braxen_client]/password): Removed.
  ([foo]/fingerprint, [braxen_client]/fingerprint): New.
  ([foo]/checker): New.
  ([foo]/secfile): New.
  ([braxen_client]/secret): New.

* server.py: New "--debug" option to set debug flag.  Removed "cert",
             "key", "ca", "crl", and "cred" variables.  Added default
             value for "checker" config file setting.  Do not pass
             credentials to IPv6_TCPServer constructor.
  (debug): New global debug flag.  Used by most debugging output code.
  (Client.__init__): Keyword argument "dn" replaced by "fingerprint",
                     "password" renamed to "secret", and "passfile"
                     renamed to "secfile".  New keyword argument
                     "checker". All callers changed.
  (Client.dn): Removed.
  (Client.fingerprint): New.
  (Client.password): Renamed to "secret"; all users changed.
  (Client.passfile): Renamed to "secfile"; all users changed.
  (Client.timeout, Client.interval): Changed to be properties; now
                                     automatically updates the
                                     "_timeout_milliseconds" and
                                     "_interval_milliseconds" values.
  (Client.timeout_milliseconds): Renamed to "_timeout_milliseconds".
  (Client.interval_milliseconds): Renamed to "_interval_milliseconds".
  (Client.check_command): New.
  (Client.start_checker): Use the new "check_command" attribute.
  (peer_certificate, fingerprint): New functions.

  (tcp_handler.handle): Use ClientSession with empty credentials
                        object instead of ServerSession.  Set gnutls
                        priority string.  Do not verify peer.  Use
                        fingerprint instead of DN when searching for
                        clients.  Bug fix: Loop sending data so even large
                        secret data strings are sent.
  (IPv6_TCPServer.credentials): Removed.
  (if_nametoindex): Do not import ctypes since that is now imported
                    globally.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
-*- org -*-
2
 
 
3
 
* mandos-client
4
 
** TODO [#B] Temporarily lower kernel log level
5
 
   for less printouts during sucessfull boot.
6
 
   klogctl(6, NULL, 0); klogctl(7, NULL, 0);
7
 
** TODO [#C] IPv4 support
8
 
 
9
 
* plugin-runner
10
 
** TODO [#B] use scandir(3) instead of readdir(3)
11
 
 
12
 
* mandos (server)
13
 
** TODO [#B] Log level                          :bugs:
14
 
** TODO /etc/mandos/clients.d/*.conf
15
 
   Watch this directory and add/remove/update clients?
16
 
** TODO config for TXT record
17
 
** TODO [#B] Run-time communication with server :bugs:
18
 
   Probably using D-Bus
19
 
   See also [[*Mandos-tools]]
20
 
*** Client class
21
 
*** Main server
22
 
    + SetLogLevel
23
 
      syslogger.setLevel(logging.WARNING)
24
 
    + Quit
25
 
    + [[http://log.ometer.com/2007-05.html][Best D-Bus practices]]
26
 
** TODO Implement --foreground                  :bugs:
27
 
   [[info:standards:Option%20Table][Table of Long Options]]
28
 
** TODO Implement --socket
29
 
   [[info:standards:Option%20Table][Table of Long Options]]
30
 
** TODO Date+time on console log messages       :bugs:
31
 
   Is this the default?
32
 
** TODO delete hook when clients fall out by timeout
33
 
   This will not be strictly necessary when the D-Bus interface is
34
 
   implemented.
35
 
 
36
 
* mandos.xml
37
 
** [[file:mandos.xml::XXX][Document D-Bus interface]]
38
 
 
39
 
* Provide and install /etc/dbus-1/system.d/mandos.conf
40
 
 
41
 
* mandos-list
42
 
*** Handle "no D-Bus server" and/or "no Mandos server found" better
43
 
*** [#B] --dump option
44
 
** TODO Disable client
45
 
** TODO Enable client
46
 
** TODO Reset timer
47
 
 
48
 
* Curses interface
49
 
 
50
 
* mandos-keygen
51
 
** TODO "--secfile" option
52
 
   Using the "secfile" option instead of "secret"
53
 
** TODO [#B] "--test" option
54
 
   For testing decryption before rebooting.
55
 
 
56
 
* Package
57
 
** /usr/share/initramfs-tools/hooks/mandos
58
 
*** TODO [#C] Do not install in initrd.img if configured not to.
59
 
    Use "/etc/initramfs-tools/conf.d/mandos"?  Definitely a debconf
60
 
    question.
61
 
** TODO [#C] /etc/bash_completion.d/mandos
62
 
   From XML sources directly?
63
 
 
64
 
 
65
 
#+STARTUP: showall
 
1
[Client]
 
2
configuration for cert, key, CA and interface
 
3
IPv4 support
 
4
OpenPGP keys support
 
5
 
 
6
[Server]
 
7
config file
 
8
client-list
 
9
run-time communication with server
 
10
 
 
11
handle SIGTERM, SIGQUIT, etc.
 
12
 
 
13
[Mandos-tools/utilities]
 
14
        List clients
 
15
        Enable client
 
16
        Disable client