/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

Added configuration files support for mandos-client
Removed plus argument support for mandos-client

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 = PT5M
 
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 = PT2M
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 = PT15M
 
12
# "timeout" above 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 = PT0S
29
 
 
30
 
# How long one approval will last.
31
 
;approval_duration = PT1S
32
 
 
33
 
# Whether this client is enabled by default
34
 
;enabled = True
35
 
 
36
19
 
37
20
;####
38
21
;# Example client
60
43
;        5MHdW9AYsNJZAQSOpirE4Xi31CSlWAi9KV+cUCmWF5zOFy1x23P6PjdaRm
61
44
;        4T2zw4dxS5NswXWU0sVEXxjs6PYxuIiCTL7vdpx8QjBkrPWDrAbcMyBr2O
62
45
;        QlnHIvPzEArRQLo=
 
46
;        =iHhv
63
47
;
64
48
;# Host name; used only by the checker, not used by the server itself.
65
49
;host = foo.example.org
72
56
;fingerprint = 3e393aeaefb84c7e89e2f547b3a107558fca3a27
73
57
;
74
58
;# If "secret" is not specified, a file can be read for the data.
75
 
;secfile = /etc/mandos/bar-secret.bin
 
59
;;secfile = /etc/mandos/bar-secret.txt.asc
76
60
;
77
61
;# An IP address for host is also fine, if the checker accepts it.
78
62
;host = 192.0.2.3
79
63
;
80
64
;# Parameters from the [DEFAULT] section can be overridden per client.
81
 
;interval = PT1M
82
 
;
83
 
;# This client requires manual approval before it receives its secret.
84
 
;approved_by_default = False
85
 
;# Require approval within 30 seconds.
86
 
;approval_delay = PT30S
 
65
;interval = 5m
87
66
;####