📄 slp.conf
字号:
################################# slp.conf ################################ ## configuration file for l-SLP kernel ## ################################################################################# DA Advertisement ######### DA advertisement provides regular publication over the network of the# existence and properties of the SLP Directory Agent. You need to ensure# that each network segment receives regular DA advertisements. # The best way to do this is through multicast advertising to # address 239.255.255.253. However, if multicast is not enabled to cross # routers, the next best option is to do directed broadcast. ## DA advertisement should be done regularly but not too frequently because# it is unsolicited network traffic. ## syntax is as follows: # da_advert, <type>, <interval>, <target address>, <sending interface>, <mask>## where <type> is one of multicast, broadcast, or unicast ;# <interval> is the number of seconds between each advertisement; # <target address> is the IP address to which the advertisement will be sent ;# <sending interface> is the IP address from which to send the advertisement;# <mask> is the IP mask to apply to broadcast advertisements# next line is a multicast to the SLP group da_advert, multicast, 1000, 239.255.255.253, 0.0.0.0# next line is a directed broadcast to #da_advert, broadcast, 1000, 137.69.141.112, 0.0.0.0, 255.255.255.0# next line is a directed broadcast to 127.69.142.255#da_advert, broadcast, 1000, 137.69.142.112, 0.0.0.0, 255.255.255.0# next line is a directed broadcast to 127.69.143.255#da_advert, broadcast, 1000, 137.69.143.112, 0.0.0.0, 255.255.255.0# next line is an example of a unicast advertisement#da_advert, unicast, 1000, 137.69.141.39, 0.0.0.0##### Active DA Discovery ####### Active DA discovery allows the DA agent to actively query for other # SLP directory agents. ## Active DA discovery can be done more frequently than DA Advertisement# but also can generate needless traffic if done too frequently. You should# experiment with the interval for each DA discovery line. ## syntax is as follows:# da_disc, <type>, <interval>, <target address>, <sending interface>, <mask># the syntax is the same as for DA Advertisement, above. da_disc, multicast, 200, 239.255.255.253, 0.0.0.0#da_disc, broadcast, 200, 137.69.141.112, 0.0.0.0, 255.255.255.0#da_disc, broadcast, 200, 137.69.142.112, 0.0.0.0, 255.255.255.0#da_disc, broadcast, 200, 137.69.143.112, 0.0.0.0, 255.255.255.0# how many seconds before an inactive TCP connection should be closed # NOTE: for mesh operation, this setting must be the same for all# participants in the mesh. Otherwise they will time the slow# DA out of the mesh!!close_conn, 300#listen, 9.37.98.90# which port should the l-slp simplified network API operate upon# you should select an unused port - it should be in the unreserved range api_port, 4800# which port should the SLP DA operate on -- 427 is the defaultoperational_port, 427# max time to wait for a complete multicast query response mc_max, 15# how long to wait upon startup to perform DA Discoverystart_wait, 3 # wait interval before retransmission of multicast or broadcast queriesretry_interval, 2# time to wait before giving up on unicast message transmissionretry_max, 15# time between regular multicast da advertisementsda_beat, 10800 # time between regular multicast active da discoveryda_find, 900# wait to register services upon passive da discoveryreg_passive, 1# wait to register services upon active da discoveryreg_active, 1# not support in this releaseslp_mtu, 1458# time-to-live for multicast messagesslp_ttl, 255# max message size the DA can process. messages larger than this will# be discarded. This is a security feature to prevent buffer overruns or# uncontrolled memory allocationmax_msg, 8192# not used -- redundant # converge_retries, <seconds># not used -- redundant# converge_wait, <seconds># file to hold debugging messages -- not recommended right now # log_file, <file name># not tested yet# use_syslog <1 or 0># not tested yet# log_stderr < 1 or 0># not tested yet# log_level <1 - 5># not completely implemented# www_file, <file name># ip address of the DA - useful to force the DA to live at a # specified address on multi-homed hostsda_addr, 192.168.2.45# language taglanguage, en#scope list for DA# format is scopes, <scope0>, <scope1>, <scopeN>scopes, DEFAULT
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -