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

  • Committer: Teddy Hogeborn
  • Date: 2009-02-13 05:38:21 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090213053821-03e696gckk4nbjps
Support not using IPv6 in server:

* mandos (AvahiService.__init__): Take new "protocol" parameter.  All
                                  callers changed.
  (IPv6_TCPServer.__init__): Take new "use_ipv6" parameter.  All
                             callers changed.
  (IPv6_TCPServer.server_bind): Create IPv4 socket if not using IPv6.
  (main): New "--no-ipv6" command line option.  New "use_ipv6" config
          option.
* mandos-options.xml ([@id="address"]): Document conditional IPv4
                                        address support.
  ([@id="ipv6"]): New paragraph.
* mandos.conf (use_ipv6): New config option.
* mandos.conf.xml (OPTIONS): Document new "use_dbus" option.
  (EXAMPLE): Changed to use IPv6 link-local address.  Added "use_ipv6"
             option.
* mandos.xml (SYNOPSIS): New "--no-ipv6" option.
  (OPTIONS): Document new "--no-ipv6" option.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
# values, so uncomment and change them if you want different ones.
3
3
[DEFAULT]
4
4
 
5
 
# How long until a client is disabled and not be allowed to get the
6
 
# data this server holds.
7
 
;timeout = 5m
 
5
# How long until a client is considered invalid - that is, ineligible
 
6
# to get the data this server holds.
 
7
;timeout = 1h
8
8
 
9
9
# How often to run the checker to confirm that a client is still up.
10
10
# Note: a new checker will not be started if an old one is still
11
11
# running.  The server will wait for a checker to complete until the
12
 
# above "timeout" occurs, at which time the client will be disabled,
13
 
# and any running checker killed.
14
 
;interval = 2m
15
 
 
16
 
# Extended timeout is an added timeout that is given once after a
17
 
# password has been sent sucessfully to a client.  This allows for
18
 
# additional delays caused by file system checks and quota checks.
19
 
;extended_timeout = 15m
 
12
# above "timeout" occurs, at which time the client will be marked
 
13
# invalid, and any running checker killed.
 
14
;interval = 5m
20
15
 
21
16
# What command to run as "the checker".
22
17
;checker = fping -q -- %%(host)s
23
18
 
24
 
# Whether to approve a client by default after the approval delay.
25
 
;approved_by_default = True
26
 
 
27
 
# How long to wait for approval.
28
 
;approval_delay = 0s
29
 
 
30
 
# How long one approval will last.
31
 
;approval_duration = 1s
32
 
 
33
19
 
34
20
;####
35
21
;# Example client
75
61
;host = 192.0.2.3
76
62
;
77
63
;# Parameters from the [DEFAULT] section can be overridden per client.
78
 
;interval = 1m
79
 
;
80
 
;# This client requires manual approval before it receives its secret.
81
 
;approved_by_default = False
82
 
;# Require approval within 30 seconds.
83
 
;approval_delay = 30s
 
64
;interval = 5m
84
65
;####