/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-29 03:35:39 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080729033539-08zecoj3jwlkpjhw
* server.conf: New file.

* mandos-clients.conf: Renamed to clients.conf.

* Makefile (FORTIFY): New.
  (CFLAGS): Include $(FORTIFY).

* plugins.d/mandosclient.c (main): New "if_index" variable.  Bug fix:
                                   check if interface exists.  New
                                   "--connect" option.

* server.py (serviceInterface): Removed; replaced by
                                "AvahiService.interface".  All users
                                changed.
  (AvahiError, AvahiServiceError, AvahiGroupError): New exception
                                                    classes.
  (AvahiService): New class.
  (serviceName): Removed; replaced by "AvahiService.name".  All users
                 changed.
  (serviceType): Removed; replaced by "AvahiService.type".  All users
                 changed.
  (servicePort): Removed; replaced by "AvahiService.port".  All users
                 changed.
  (serviceTXT): Removed; replaced by "AvahiService.TXT".  All users
                changed.
  (domain): Removed; replaced by "AvahiService.domain".  All users
            changed.
  (host): Removed; replaced by "AvahiService.host".  All users
          changed.
  (rename_count): Removed; replaced by "AvahiService.rename_count" and
                 "AvahiService.max_renames".  All users changed.
  (Client.__init__): If no secret or secfile, raise TypeError instead
                     of RuntimeError.
  (Client.last_seen): Renamed to "Client.last_checked_ok".  All users
                      changed.
  (Client.stop, Client.stop_checker): Use "getattr" with default value
                                      instead of "hasattr".
  (Client.still_valid): Removed "now" argument.
  (Client.handle): Separate the "no client found" and "client invalid"
                   cases for clearer code.
  (IPv6_TCPServer.__init__): "options" argument replaced by
                             "settings".  All callers changed.
  (IPv6_TCPServer.options): Replaced by "IPv6_TCPServer.settings".
                            All users changed.
  (IPv6_TCPServer.server_bind): Use getattr instead of hasattr.
  (add_service): Removed; replaced by "AvahiService.add".  All callers
                 changed.
  (remove_service): Removed; replaced by "AvahiService.remove".  All
                    callers changed.
  (entry_group_state_changed): On entry group collision, call the new
                               AvahiService.rename method.  Raise
                               AvahiGroupError on group error.
  (if_nametoindex): Use ctypes.utils.find_library to locate the C
                    library.  Cache the result.  Loop on EINTR.
  (daemon): Use os.path.devnull to locate "/dev/null".
  (killme): Removed.  All callers changed to do "sys.exit()" instead,
            except where stated otherwise.
  (main): Removed "exitstatus".  Removed all default values from all
          non-bool options.  New option "--configdir".  New variables
          "server_defaults" and "server_settings", read from
          "%(configdir)s/server.conf".  Let any supplied command line
          options override server settings.   Variable "defaults"
          renamed to "client_defaults", which is read from
          "clients.conf" instead of "mandos-clients.conf".  New global
          AvahiService object "service" replaces old global variables.
          Catch AvahiError and exit with error if caught.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
-*- org -*-
2
 
 
3
 
* plugin-runner
4
 
** TODO Man page  for plugin-runner.conf.5
5
 
   link to plugin-runner.8
6
 
 
7
 
* mandos-client
8
 
** TODO [#B] Temporarily lower kernel log level
9
 
   for less printouts during sucessfull boot.
10
 
** TODO [#C] IPv4 support
11
 
 
12
 
* DONE password-prompt
13
 
 
14
 
* mandos (server)
15
 
** TODO [#B] Log level                          :bugs:
16
 
** TODO /etc/mandos/clients.d/*.conf
17
 
   Watch this directory and add/remove/update clients?
18
 
** TODO config for TXT record
19
 
** TODO [#B] Run-time communication with server :bugs:
20
 
   Probably using D-Bus
21
 
   See also [[*Mandos-tools]]
22
 
** TODO Implement --foreground                  :bugs:
23
 
   [[info:standards:Option%20Table][Table of Long Options]]
24
 
** TODO Implement --socket
25
 
   [[info:standards:Option%20Table][Table of Long Options]]
26
 
** TODO Date+time on console log messages       :bugs:
27
 
   Is this the default?
28
 
** TODO delete hook when clients fall out by timeout
29
 
 
30
 
* Mandos-tools/utilities
31
 
  All of this probably using D-Bus
32
 
** TODO List clients
33
 
** TODO Disable client
34
 
** TODO Enable client
35
 
** TODO Reset timer
36
 
 
37
 
* Man pages
38
 
** TODO Use xinclude for all common sections
39
 
   Like authors, etc.
40
 
 
41
 
 
42
 
* Installer
43
 
** Client-side
44
 
*** TODO Update initrd.img after installation
45
 
    This seems to use some kind of "trigger" system
46
 
    [[file:/usr/share/doc/dpkg/triggers.txt.gz]]
47
 
    dpkg-trigger(1), deb-triggers(5)
48
 
*** mandos-keygen
49
 
**** TODO [#A] Ask for password twice for confirmation
50
 
**** TODO "--passfile" option
51
 
     Using the "secfile" option instead of "secret"
52
 
**** TODO [#B] "--test" option
53
 
     For testing decryption before rebooting.
54
 
** Server-side
55
 
*** TODO [#A] Create mandos user and group for server
56
 
 
57
 
 
58
 
* [#A] Package
59
 
** /usr/share/initramfs-tools/hooks/mandos
60
 
*** TODO Do not install in initrd.img if configured not to.
61
 
    Use "/etc/initramfs-tools/conf.d/mandos"?  Definitely a debconf
62
 
    question.
63
 
** TODO /etc/bash_completion.d/mandos
64
 
   From XML sources directly?
65
 
** TODO unperish
66
 
** DONE bzr-builddeb
67
 
** TODO mandos user/group creation
68
 
** TODO Key creation in postinst
69
 
 
70
 
* TODO Web site
71
 
** DONE http://www.fukt.bsnet.se/mandos
72
 
   Redirects to the wiki page
73
 
** TODO http://wiki.fukt.bsnet.se/wiki/Mandos
74
 
 
75
 
* Mailing list
76
 
** DONE mandos-dev
77
 
*** TODO http://gmane.org/subscribe.php
78
 
 
79
 
* TODO Announce project on Usenet
80
 
  [[news:comp.os.linux.announce]]
81
 
 
82
 
 
83
 
#+STARTUP: showall
 
1
[Mandos client]
 
2
configuration for OpenPGP key dir
 
3
header files/symbols tally
 
4
check exit codes of all system calls
 
5
IPv4 support
 
6
protocol version header
 
7
use strsep instead of strtok?
 
8
 
 
9
[Pluginbasedclient]
 
10
disable certain plugins
 
11
header files/symbols tally
 
12
check exit codes of all system calls
 
13
change uid to nobody:nogroup
 
14
        other drop privs stuff?
 
15
pass things in environment, like device name, etc
 
16
        Does cryptsetup already do this?
 
17
Configurable plugin dir
 
18
use strsep instead of strtok?
 
19
 
 
20
[Server]
 
21
config for:
 
22
        TXT record
 
23
protocol version header
 
24
Run-time communication with server
 
25
        probably using D-Bus
 
26
 
 
27
[Mandos-tools/utilities]
 
28
        List clients
 
29
        Enable client
 
30
        Disable client
 
31
 
 
32
[Installer]
 
33
...