/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: 2008-09-05 16:24:33 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080905162433-58fgx91ae9foxlh1
* Makefile (PIDDIR, USER, GROUP): Removed.
  (install-server): Do not create $(PIDDIR).
  (uninstall-server): Do not remove $(PIDDIR).

* init.d-mandos (PIDFILE): Changed to "/var/run/$NAME.pid".

* mandos (IPv6_TCPServer.enabled): New attribute.
  (IPv6_TCPServer.server_activate): Only call method of superclass if
                                    "self.enabled".
  (IPv6_TCPServer.enable): Set "self.enabled" to True.
  (main): Create client Set() early.  Create IPv6_TCPServer object
          early.  Switch to user and group "mandos", "nobody" or
          65534, if possible.  Enable IPv6_TCPServer *after* switching
          user.

* mandos-keygen (KEYDIR): Changed to "/etc/keys/mandos".

* mandos.xml (FILES): Changed PID file.
  (SECURITY): The server does need to be privileged, but switches to a
              non-privileged user.

* plugin-runner.xml (EXAMPLE): Changed long example to something more
                               realistic.

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.
 
5
# How long until a client is considered invalid - that is, ineligible
 
6
# to get the data this server holds.
7
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.
 
12
# above "timeout" occurs, at which time the client will be marked
 
13
# invalid, and any running checker killed.
14
14
;interval = 5m
15
15
 
16
16
# What command to run as "the checker".
17
 
;checker = fping -q -- %%(host)s
 
17
;checker = fping -q -- %(host)s
18
18
 
19
19
 
20
20
;####
55
55
;fingerprint = 3e393aeaefb84c7e89e2f547b3a107558fca3a27
56
56
;
57
57
;# If "secret" is not specified, a file can be read for the data.
58
 
;secfile = /etc/mandos/bar-secret.bin
 
58
;;secfile = /etc/mandos/bar-secret.txt.asc
59
59
;
60
60
;# An IP address for host is also fine, if the checker accepts it.
61
61
;host = 192.0.2.3