2N/A#
2N/A# CDDL HEADER START
2N/A#
2N/A# The contents of this file are subject to the terms of the
2N/A# Common Development and Distribution License, Version 1.0 only
2N/A# (the "License"). You may not use this file except in compliance
2N/A# with the License.
2N/A#
2N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A# or http://www.opensolaris.org/os/licensing.
2N/A# See the License for the specific language governing permissions
2N/A# and limitations under the License.
2N/A#
2N/A# When distributing Covered Code, include this CDDL HEADER in each
2N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A# If applicable, add the following below this CDDL HEADER, with the
2N/A# fields enclosed by brackets "[]" replaced with your own identifying
2N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2N/A#
2N/A# CDDL HEADER END
2N/A#
2N/A# Copyright 1999 Sun Microsystems, Inc. All rights reserved.
2N/A# Use is subject to license terms.
2N/A#
2N/A# ident "%Z%%M% %I% %E% SMI"
2N/A
2N/A#
2N/A# Example configuration file for SLP. This file lists and explains
2N/A# each property you can set for SLP. No properties are acutally set,
2N/A# so uncomment and edit any properties you wish to change. The
2N/A# file /etc/inet/slp.conf must exist in order for slpd(1m) to start,
2N/A# so copy this file to /etc/inet/slp.conf to enable SLP. See
2N/A# slp.conf(4), slpd(1m), or RFC 2614 for more information.
2N/A#
2N/A
2N/A# Specifies if slpd should act as a DA. Default is false.
2N/A#
2N/A# net.slp.isDA=true
2N/A#
2N/A
2N/A# Static scope configuration
2N/A#
2N/A# Determines the set of scopes which this SA or DA supports. These scopes
2N/A# will also be included in the list returned from a find scopes query.
2N/A# This example simply sets the property to the default:
2N/A# net.slp.useScopes=default
2N/A#
2N/A# This example sets the property to a site-specific list:
2N/A# net.slp.useScopes=building17,building18,admin
2N/A#
2N/A
2N/A# Static DA Configuration
2N/A#
2N/A# Forces UAs and SAs to use a set of DAs.
2N/A#
2N/A# This example specifies two DAs:
2N/A# net.slp.DAAddresses=192.168.1.20,192.168.2.20
2N/A#
2N/A
2N/A# Serialized Proxy Registrations
2N/A#
2N/A# Specifies a file containing a set of registrations to be processed
2N/A# when slpd starts up, written as an URL.
2N/A# To load a proxy-registration file at /etc/inet/slpd.reg:
2N/A# net.slp.serializedRegURL=file:/etc/inet/slpd.reg
2N/A#
2N/A
2N/A# Tracing and Logging
2N/A#
2N/A# By default, all tracing and logging is disabled.
2N/A#
2N/A# Display messages about traffic with DAs:
2N/A# net.slp.traceDATraffic=true
2N/A#
2N/A# Display details about SLP messages:
2N/A# net.slp.traceMsg=true
2N/A#
2N/A# Display details whenever a message is dropped:
2N/A# net.slp.traceDrop=true
2N/A#
2N/A# Dump service table upon registration or deregistration:
2N/A# net.slp.traceReg=true
2N/A#
2N/A
2N/A#
2N/A# Set this property to change the default DA Heartbeat (10800 seconds).
2N/A# This example sets it to 7200 seconds (two hours):
2N/A# net.slp.DAHeartBeat=7200
2N/A#
2N/A
2N/A#
2N/A# Use this property to configure special attributes for DAs; these
2N/A# will be included in the attrs field in a DAAdvert. Currently
2N/A# the only useful property is min-refresh-interval, which allows
2N/A# you to set the minimum interval for which a DA will accept
2N/A# registration refreshes. This example sets the minimum interval
2N/A# to 3 hours (10800 seconds):
2N/A# net.slp.DAAttributes=(min-refresh-interval=10800)
2N/A#
2N/A
2N/A#
2N/A# Use this property to configure special attributes for SAs; these
2N/A# will be included in the attrs field in a SAAdvert. This example
2N/A# sets the attribute "special-features" to "none":
2N/A# net.slp.SAAttributes=(special-features=none)
2N/A#
2N/A
2N/A#
2N/A# Force SLP agents to use broadcast only (instead of the default multicast):
2N/A# net.slp.isBroadcastOnly=true
2N/A#
2N/A
2N/A#
2N/A# Disable passive DA detection. Default is enabled.
2N/A# net.slp.passiveDADetection=false
2N/A#
2N/A
2N/A#
2N/A# Change the multicast time-to-live (TTL). Default is 255. This example
2N/A# limits SLP multicast to the local subnet only:
2N/A# net.slp.multicastTTL=1
2N/A#
2N/A
2N/A#
2N/A# Set this property to change the default interval between DA discoveries.
2N/A# Default is 900 seconds (15 minutes). This example changes it to 2 minutes
2N/A# (at the risk of increasing network congestion):
2N/A# net.slp.DAActiveDiscoveryInterval=120
2N/A#
2N/A
2N/A#
2N/A# Set this property to change the maximum amount of time to wait until
2N/A# multicast convergance completes. Default is 15000 ms (15 seconds). This
2N/A# example changes it to 20000 ms (20 seconds), which may be desirable on
2N/A# congested networks with many SAs:
2N/A# net.slp.multicastMaximumWait=20000
2N/A#
2N/A
2N/A#
2N/A# Set this property to control the intervals used in multicast convergance.
2N/A# The default is 3000,3000,3000,3000,3000 (all 3 seconds). The following
2N/A# example reduces the initial intervals, which may be increase responsiveness
2N/A# on fast networks:
2N/A# net.slp.multicastTimeouts=1000,1250,1500,2000,4000
2N/A#
2N/A# This example sets it to an aggressively short value; this may be useful
2N/A# for increased responsiveness on fast, reliable networks:
2N/A# net.slp.multicastTimeouts=1000
2N/A
2N/A#
2N/A# This property works in a manner similar to net.slp.multicastTimeouts,
2N/A# but acts on DA discovery multicast convergance instead. Default is
2N/A# 2000,2000,2000,2000,3000,4000. This example increases the intervals,
2N/A# which may help to discovery DAs which are slow, heavily loaded, or on
2N/A# congested networks:
2N/A# net.slp.DADiscoveryTimeouts=3000,3000,4000,4000,4000,4000
2N/A#
2N/A
2N/A#
2N/A# This property controls the retransmission intervals used for datagram
2N/A# unicast. Default is 3000,3000,3000. This example decreases the
2N/A# intervals for more aggressive retransmission, to 2 seconds:
2N/A# net.slp.datagramTimeouts=2000,2000,2000
2N/A#
2N/A
2N/A#
2N/A# Set this property to change the maximum random wait bound (used with
2N/A# initial DA discovery, for instance). Default is 1000 ms (1 second).
2N/A# This example changes it to 2 seconds:
2N/A# net.slp.randomWaitBound=2000
2N/A#
2N/A
2N/A#
2N/A# Change this property to change the maximum size of any datagram to
2N/A# send (MTU), in bytes. Default is 1400. This example changes it to
2N/A# 1500 bytes:
2N/A# net.slp.MTU=1500
2N/A#
2N/A
2N/A#
2N/A# Set this property to restrict SLP to specific interfaces. Default is
2N/A# empty, which causes SLP to use the the default interface.
2N/A#
2N/A# net.slp.interfaces=192.168.1.5,192.168.3.5
2N/A#
2N/A
2N/A#
2N/A# This property specifies the language tag to use for all messages.
2N/A# Default is "en". This example changes it to "de":
2N/A# net.slp.locale=de
2N/A#
2N/A
2N/A#
2N/A# Set this property to limit the total number of results for any
2N/A# SLP query. Default is all results (-1). This example limits it
2N/A# to 100:
2N/A# net.slp.maxResults=100
2N/A#
2N/A
2N/A#
2N/A# A type hint will be used if an agent needs to discover scopes with
2N/A# service agent solicitations. If the type hint is set, only service
2N/A# agents which support those types will respond. In effect, this poses
2N/A# the query: "find me all scopes which contain these service types."
2N/A#
2N/A# This sets the type hint to service:foo and service:bar:
2N/A# net.slp.typeHint=service:foo,service:bar
2N/A#