/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk
51 by Teddy Hogeborn
* clients.conf: Better comments.
1
# Default settings for all clients.  These values are the default
2
# values, so uncomment and change them if you want different ones.
25 by Teddy Hogeborn
* mandos-clients.conf ([DEFAULT]): New section.
3
[DEFAULT]
51 by Teddy Hogeborn
* clients.conf: Better comments.
4
411 by Teddy Hogeborn
More consistent terminology: Clients are no longer "invalid" - they
5
# How long until a client is disabled and not be allowed to get the
6
# data this server holds.
51 by Teddy Hogeborn
* clients.conf: Better comments.
7
;timeout = 1h
8
9
# How often to run the checker to confirm that a client is still up.
10
# Note: a new checker will not be started if an old one is still
11
# running.  The server will wait for a checker to complete until the
411 by Teddy Hogeborn
More consistent terminology: Clients are no longer "invalid" - they
12
# above "timeout" occurs, at which time the client will be disabled,
13
# and any running checker killed.
51 by Teddy Hogeborn
* clients.conf: Better comments.
14
;interval = 5m
15
16
# What command to run as "the checker".
257 by Teddy Hogeborn
Change the default value of the "checker" option command to make the
17
;checker = fping -q -- %%(host)s
51 by Teddy Hogeborn
* clients.conf: Better comments.
18
423 by Teddy Hogeborn
Documentation changes:
19
# Whether to approve a client by default after the approval delay.
20
;approved_by_default = True
21
22
# How long to wait for approval.
23
;approval_delay = 0s
24
25
# How long one approval will last.
26
;approval_duration = 1s
27
51 by Teddy Hogeborn
* clients.conf: Better comments.
28
29
;####
63 by Teddy Hogeborn
Merge.
30
;# Example client
51 by Teddy Hogeborn
* clients.conf: Better comments.
31
;[foo]
32
;
63 by Teddy Hogeborn
Merge.
33
;# OpenPGP key fingerprint
51 by Teddy Hogeborn
* clients.conf: Better comments.
34
;fingerprint =  7788 2722 5BA7 DE53 9C5A  7CFA 59CF F7CD BD9A 5920
35
;
36
;# This is base64-encoded binary data.  It will be decoded and sent to
37
;# the client matching the above fingerprint.  This should, of course,
38
;# be OpenPGP encrypted data, decryptable only by the client.
39
;secret =
40
;        hQIOA6QdEjBs2L/HEAf/TCyrDe5Xnm9esa+Pb/vWF9CUqfn4srzVgSu234
41
;        REJMVv7lBSrPE2132Lmd2gqF1HeLKDJRSVxJpt6xoWOChGHg+TMyXDxK+N
42
;        Xl89vGvdU1XfhKkVm9MDLOgT5ECDPysDGHFPDhqHOSu3Kaw2DWMV/iH9vz
43
;        3Z20erVNbdcvyBnuojcoWO/6yfB5EQO0BXp7kcyy00USA3CjD5FGZdoQGI
44
;        Tb8A/ar0tVA5crSQmaSotm6KmNLhrFnZ5BxX+TiE+eTUTqSloWRY6VAvqW
45
;        QHC7OASxK5E6RXPBuFH5IohUA2Qbk5AHt99pYvsIPX88j2rWauOokoiKZo
46
;        t/9leJ8VxO5l3wf/U64IH8bkPIoWmWZfd/nqh4uwGNbCgKMyT+AnvH7kMJ
47
;        3i7DivfWl2mKLV0PyPHUNva0VQxX6yYjcOhj1R6fCr/at8/NSLe2OhLchz
48
;        dC+Ls9h+kvJXgF8Sisv+Wk/1RadPLFmraRlqvJwt6Ww21LpiXqXHV2mIgq
49
;        WnR98YgSvUi3TJHrUQiNc9YyBzuRo0AjgG2C9qiE3FM+Y28+iQ/sR3+bFs
50
;        zYuZKVTObqiIslwXu7imO0cvvFRgJF/6u3HNFQ4LUTGhiM3FQmC6NNlF3/
51
;        vJM2hwRDMcJqDd54Twx90Wh+tYz0z7QMsK4ANXWHHWHR0JchnLWmenzbtW
52
;        5MHdW9AYsNJZAQSOpirE4Xi31CSlWAi9KV+cUCmWF5zOFy1x23P6PjdaRm
53
;        4T2zw4dxS5NswXWU0sVEXxjs6PYxuIiCTL7vdpx8QjBkrPWDrAbcMyBr2O
54
;        QlnHIvPzEArRQLo=
55
;
56
;# Host name; used only by the checker, not used by the server itself.
57
;host = foo.example.org
58
;####
59
60
;####
61
;# Another example client, named "bar".
62
;[bar]
63
;# The fingerprint is not space or case sensitive
64
;fingerprint = 3e393aeaefb84c7e89e2f547b3a107558fca3a27
65
;
66
;# If "secret" is not specified, a file can be read for the data.
202 by Teddy Hogeborn
* clients.conf ([bar]/secfile): Do not imply armored format.
67
;secfile = /etc/mandos/bar-secret.bin
51 by Teddy Hogeborn
* clients.conf: Better comments.
68
;
69
;# An IP address for host is also fine, if the checker accepts it.
70
;host = 192.0.2.3
71
;
72
;# Parameters from the [DEFAULT] section can be overridden per client.
73
;interval = 5m
423 by Teddy Hogeborn
Documentation changes:
74
;
75
;# This client requires manual approval before it receives its secret.
76
;approved_by_default = False
77
;# Require approval within 30 seconds.
78
;approval_delay = 30s
51 by Teddy Hogeborn
* clients.conf: Better comments.
79
;####