added openslp
[openwrt/svn-archive/archive.git] / net / openslp / files / slp.conf
1 #############################################################################
2 #
3 # OpenSLP configuration file
4 #
5 # Format and contents conform to specification in IETF RFC 2614 so the
6 # comments use the language of the RFC. In OpenSLP, SLPD operates as an SA
7 # and a DA. The SLP UA functionality is encapsulated by SLPLIB.
8 #
9 #############################################################################
10
11
12 #----------------------------------------------------------------------------
13 # Static Scope and Static DA Configuration
14 #----------------------------------------------------------------------------
15
16 # This option is a comma delimited list of strings indicating the only scopes
17 # a UA or SA is allowed when making requests or registering or the scopes a
18 # DA must support. (default value is "DEFAULT")
19 ;net.slp.useScopes = myScope1, myScope2, myScope3
20
21 # Allows administrator to force UA and SA agents to use specific DAs. If
22 # this setting is not used dynamic DA discovery will be used to determine
23 # which DAs to use. (Default is to use dynamic DA discovery)
24 ;net.slp.DAAddresses = myDa1,myDa2,myDa3
25
26
27 #----------------------------------------------------------------------------
28 # DA Specific Configuration
29 #----------------------------------------------------------------------------
30
31 # Enables slpd to function as a DA. Only a very few DAs should exist. It
32 # is suggested that the administrator read the OpenSLP users guide before
33 # enabling this setting. Default is false. Uncomment the line below to
34 # enable DA operation.
35 ;net.slp.isDA = true
36
37 # A 32 bit integer giving the number of seconds for the DA heartbeat.
38 # Default is 3 hours (10800 seconds). This property corresponds to
39 # the protocol specification parameter CONFIG_DA_BEAT [7]. Ignored
40 # if isDA is false.
41 ;net.slp.DAHeartBeat = 10800
42
43
44 #----------------------------------------------------------------------------
45 # SA Specific Configuration
46 #----------------------------------------------------------------------------
47
48 # If net.slp.watchRegistrationPID is set to true, local registrations made
49 # with the SA via the SLPReg() API call will be monitored. If the PID of the
50 # process (and/or thread on Linux) disappears (the registering process died
51 # unexpectedly with out calling SLPDereg()), then the registration is
52 # automatically de-registered. (Default value is true. Uncomment the line
53 # below to disable PID watching.
54 ;net.slp.watchRegistrationPID = false
55
56
57 #----------------------------------------------------------------------------
58 # UA Specific Configuration
59 #----------------------------------------------------------------------------
60 # A 32 bit integer giving the maximum number of results to accumulate and
61 # return for a synchronous request before the timeout, or the maximum number
62 # of results to return through a callback if the request results are
63 # reported asynchronously (default value is 256).
64 ;net.slp.maxResults = 256
65
66
67 #----------------------------------------------------------------------------
68 # Network Configuration Properties
69 #----------------------------------------------------------------------------
70
71 # Force broadcasts to be used instead of multicast. This setting is seldom
72 # necessary since OpenSLP will automatically use broadcast if multicast
73 # is unavailable. (Default is false)
74 ;net.slp.isBroadcastOnly = true
75
76 # A boolean indicating whether passive DA detection should be used.
77 # Default is true. Uncomment the following line to disable passive DA
78 # detection
79 ;net.slp.passiveDADetection = false
80
81 # A boolean indicating whether active DA detection should be used. This is
82 # useful when the DAs available are explicitly restricted to those obtained
83 # from DHCP or the net.slp.DAAddresses property. Default is true. Uncomment
84 # the following line to disable active DA detection
85 ;net.slp.activeDADetection = false
86
87 # The net.slp.DAActiveDiscoveryInterval property controls *periodic*
88 # transmission of active DA discovery SrvRqsts. The default setting
89 # of 1 which disables sending periodic active DA discovery SrvRqsts.
90 # However, even if net.slp.DAActiveDiscoveryInterval=1 OpenSLP agents will
91 # send a send active DA request only upon initialization. To disable all
92 # active DA detection you MUST net.slp.passiveDADetection = false. (you
93 # may also set net.slp.DAActiveDiscoveryInterval=0)
94 # simply set
95 ;net.slp.DAActiveDiscoveryInterval = 1
96
97 # A positive integer that is less than or equal to 255. (The default is 255)
98 ;net.slp.multicastTTL = 255
99
100 # An integer giving the maximum amount of time (in milliseconds) to perform
101 # active DA discovery requests. (Default is 2000 ms or 2 secs).
102 ;net.slp.DADiscoveryMaximumWait = 2000
103
104 # A value-list of 32 bit integers used as timeouts, in milliseconds, to
105 # implement the multicast convergence algorithm during active DA discovery.
106 # Each value specifies the time to wait before sending the next request, or
107 # until nothing new has been learned from two successive requests.
108 # Default is: 500,750,1000,1500,2000,3000.
109 ;net.slp.DADiscoveryTimeouts = 500,750,1000,1500,2000,3000
110
111 # An integer giving the maximum amount of time (in milliseconds) to perform
112 # multicast requests. (Default is 5000 ms or 5 secs).
113 ;net.slp.multicastMaximumWait = 5000
114
115 # A value-list of 32 bit integers used as timeouts, in milliseconds, to
116 # implement the multicast convergence algorithm. Each value specifies
117 # the time to wait before sending the next request, or until nothing new
118 # has been learned from two successive requests.
119 # Default is: 500,750,1000,1500,2000,3000. In a slow network the less
120 # aggressive values of 3000,3000,3000,3000,3000 allow better performance.
121 ;net.slp.multicastTimeouts = 500,750,1000,1500,2000,3000
122
123 # An integer giving the maximum amount of time (in milliseconds) to perform
124 # unicast requests. (Default is 5000 ms or 5 secs).
125 ;net.slp.unicastMaximumWait = 5000
126
127 # A value-list of 32 bit integers used as timeouts, in milliseconds, to
128 # implement unicast datagram transmission to DAs. The nth value gives
129 # the time to block waiting for a reply on the nth try to contact the DA.
130 # Currently OpenSLP uses TCP for all unicast communication so this setting
131 # does not do anything
132 ;net.slp.unicastTimeouts = 500,750,1000,1500,2000,3000
133
134 # To OpenSLP the following is the same as net.slp.unicastTimeouts. Use
135 # net.slp.unicastTimeouts instead.
136 ;net.slp.datagramTimeouts = IGNORED
137
138 # An integer giving the maximum value for all random wait parameters.
139 # (Default is 5000 or 5 sec)
140 ;net.slp.randomWaitBound = 5000
141
142 # A integer giving the network packet MTU in bytes. (Default is 1400)
143 ;net.slp.MTU = 1400
144
145 # A list of IP address of network interfaces on which the DA/SA should listen
146 # for slp requests. By default, slpd will use all interfaces.
147 ;net.slp.interfaces = 1.2.3.4,1.2.3.5,1.2.3.6
148
149
150 #----------------------------------------------------------------------------
151 # Security
152 #----------------------------------------------------------------------------
153 # A boolean indicating whether the agent should enable security for URLs,
154 # attribute lists, DAAdverts, and SAAdverts. (Default setting is false and
155 # ENABLE_SECURITY code must be compiled)
156 ;net.slp.securityEnabled=true
157
158 # A boolean indicating whether the DA or SA will only allow deregistrations
159 # and re-registration from the *exact* host that made the registration.
160 # Default setting if true. Uncomment the line below to disable source
161 # address checking.
162 ;net.slp.checkSourceAddr=false
163
164
165 #----------------------------------------------------------------------------
166 # Tracing and Logging
167 #----------------------------------------------------------------------------
168
169 # A boolean controlling printing of messages about traffic with DAs.
170 # Default is false. Uncomment the following line to enable DA traffic
171 # tracing
172 ;net.slp.traceDATraffic = true
173
174 # A boolean controlling dumps of all registered services upon registration
175 # and deregistration. If true, the contents of the DA or SA server are
176 # dumped after a registration or deregistration occurs. Default is false.
177 # Uncommment the following line to enable registration message logging
178 ;net.slp.traceReg = true
179
180 # A boolean controlling printing details when a SLP message is dropped for
181 # any reason. Default is false. Uncomment the following line to trace all
182 # dropped messages
183 ;net.slp.traceDrop = true
184
185 # A boolean controlling printing of details on SLP messages. The fields in
186 # all incoming messages and outgoing replies are printed. Very verbose.
187 # Default is false. Uncomment the following line to enable verbose message
188 # tracing.
189 ;net.slp.traceMsg = true
190
191
192 #----------------------------------------------------------------------------
193 # Serialized Proxy Registration
194 #----------------------------------------------------------------------------
195 # The net.slp.serializedRegURL is not supported by net.slp.serializeRegURL.
196 #
197 # slpd accepts the [-r] command line parameter that specifies the serialized
198 # registration file. The default serialized registration file is
199 # /etc/slp.reg
200
201
202