~ubuntu-branches/ubuntu/saucy/nut/saucy

« back to all changes in this revision

Viewing changes to conf/upsd.conf

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2005-07-20 19:48:50 UTC
  • mto: (16.1.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20050720194850-oo61wjr33rrx2mre
Tags: upstream-2.0.2
ImportĀ upstreamĀ versionĀ 2.0.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
# ACL <name> <ipblock>
11
11
# ACL myhost 10.0.0.1/32
12
12
#
13
 
# ACCESS <action> <level> <aclname>
14
 
# ACCESS grant monitor myhost
15
 
16
 
# <level> can be one of:
17
 
#
18
 
#    BASE - to only allow connections (perhaps for a service checker)
19
 
# MONITOR - allows connections allows access to UPS status data
20
 
#
21
 
# Use these to define blocks of addresses.  See the upsd.conf(5) man page
22
 
# for more information.
23
 
#
24
 
# This default configuration allows localhost to monitor things and denies
25
 
# access to the rest of the world.  To allow more, see the docs and 
26
 
# change these lines.
 
13
# ACCEPT <aclname> [<aclname>...]
 
14
# REJECT <aclname> [<aclname>...]
 
15
#
 
16
# Define lists of hosts or networks with ACL definitions. 
 
17
#
 
18
# ACCEPT and REJECT use ACL definitions to control whether a host is 
 
19
# allowed to connect to upsd.
 
20
#
 
21
# This default configuration only gives access to localhost.  To allow
 
22
# other hosts or networks to connect, see the documentation and change
 
23
# these lines.
27
24
 
28
25
ACL all 0.0.0.0/0
29
26
ACL localhost 127.0.0.1/32
30
27
 
31
 
ACCESS grant monitor localhost
32
 
ACCESS deny all all
 
28
ACCEPT localhost
 
29
REJECT all
33
30
 
34
31
# =======================================================================
35
32
# MAXAGE <seconds>