/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 mandos-clients.conf

  • Committer: Teddy Hogeborn
  • Date: 2008-07-21 01:50:31 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080721015031-ivjiclli2j06hwgs
* Makefile: Include targets for all binaries.

* plugins.d/Makefile: Do nothing but call the parent Makefile.

* server.py: Added copyright statement and information.
  (Client.__init__): Added doc string.
  (Client.stop): Bug fix: Only log message if stopping for the first
                 time.  Check if the "stop_initiator_tag" and
                 "checker_initiator_tag" attributes exist before using
                 them.
  (Client.__del__): Call self.stop() instead of doing things here.
  (Client.checker_callback): Set self.checker_callback_tag and
                             self.checker to None unconditionally and
                             immediately.
  (Client.stop_checker): Added some checks to handle multiple calls.
  (tcp_handler.handle): Use "self.server.clients" instead of "clients".
  (__main__): Moved all code to the "main" function.
  (main): New.  New option "--address".  Instantiate IPv6_TCPServer
          with "options.address".  Log before starting main loop.
  (main.cleanup) Use "clients.pop()" to remove clients from the set as
                 they are stopped.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Example
2
 
#[foo]
3
 
#fingerprint = 3e393aeaefb84c7e89e2f547b3a107558fca3a27
4
 
#secfile = openpgp/secret.txt.asc
5
 
#fqdn = foo.example.org
6
 
#checker = echo %%(fqdn)s >&2; false
7
 
#
 
2
[foo]
 
3
fingerprint = 3e393aeaefb84c7e89e2f547b3a107558fca3a27
 
4
secret = Base+64+encoded+OpenPGP+encrypted+data/=
 
5
# secfile = /etc/mandos/foo-secret.txt.asc
 
6
fqdn = foo.example.org
 
7
checker = fping -q -- %%(fqdn)s
 
8
timeout = 10m
 
9
 
8
10
[braxen_client]
9
11
fingerprint =  7788 2722 5BA7 DE53 9C5A  7CFA 59CF F7CD BD9A 5920
10
12
secret =