FACTOID # 18: Sick of crowds? Move to Greenland! Greenlanders have 38 square kilometres of land per person.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

FACTS & STATISTICS    Simple view

  1. Select countries to view: (hold down Control key and click to select several)

     

     

    Compare:

     

     

  1. Select fact or statistic: (* = graphable)

     

     

     

  2. (OPTIONAL) Compare to statistic: (both need to be graphable)

     

     

     

  3. View result as:

     

       
(OR) SEARCH ALL encyclopedia, stats & forums:   

Encyclopedia > Service Location Protocol

The Service Location Protocol (SLP, srvloc) allows computers and other devices to find services in a local area network without prior configuration. SLP has been designed to scale from small, unmanaged networks to large enterprise networks. It has been defined in RFC 2608 as Standards Track document. A local area network (LAN) is a computer network covering a small local area, like a home, office, or small group of buildings such as a home, office, or college. ...

Contents


Logical overview

SLP is used by devices to announce services on a local network. Each service must have a URL that is used to locate the service. Additionally it may have an unlimited number of name/value pairs, called attributes. Each device must always be in one or more scopes. Scopes are simple strings and are used to group services, comparable to the network neighbourhood in other systems. A device can not see services that are in different scopes. A Uniform Resource Locator, URL (spelled out as an acronym, not pronounced as earl), or Web address, is a standardized address name layout for resources (such as documents or images) on the Internet (or elsewhere). ...


The URL of a printer could look like:

 service:printer:lpr://myprinter/myqueue 

This URL describes a queue called "myqueue" on a printer with the host name "myprinter". The protocol used by the printer is LPR. Note that a special URL scheme "service:" is used by the printer. "service:" URLs are not required, any URL scheme can be used, but they allow you to search for all services of the same type (e.g. all printers) regardless of the protocol that they use. The first three components of the "service:" URL type ("service:printer:lpr") are also called service type. The first two components ("service:printer") are called abstract service type. In a non-"service:" URL the schema name is the service type (for instance "http" in "http://www.wikipedia.org"). The Line Printer Daemon protocol/Line Printer Remote protocol (or LPD, LPR) also known as the Berkeley printing system, is a set of programs that provide printer spooling and network print server functionality for Unix-like systems. ...


The attributes of the printer could look like:

 (printer-name=Hugo), (printer-natural-language-configured=en-us), (printer-location=In my home office), (printer-document-format-supported=application/postscript), (printer-color-supported=false), (printer-compression-supported=deflate,gzip) 

The example uses the standard syntax for attributes in SLP, only newlines have been added to improve readability.


The definition of a "service:" URL and the allowed attributes for the URL are specified by a service template, a formalized description of the URL syntax and the attributes. Service templates are defined in RFC 2609.


SLP allows several query types to locate services and obtain information about them:

  • It can search for all services with the same service type or abstract service type
  • The query can be combined with a query for attributes, using LDAP's query language.
  • Given its URL, the attributes of a service can be requested. In standard SLP the attributes are not returned in the query result and must be fetched separately. The Attribute List Extension (RFC 3059) fixes this problem.
  • A list of all service types can be obtained
  • A list of all existing scopes can be requested

In computer networking, the Lightweight Directory Access Protocol, or LDAP (ell-dap), is a networking protocol for querying and modifying directory services running over TCP/IP. An LDAP directory usually follows the X.500 model: It is a tree of entries, each of which consists of a set of named...

SLP roles

SLP has three different roles for devices. A device can also have two or all three roles at the same time.

  • User Agents (UA) are devices that search for services
  • Service Agents (SA) are devices that announce one or more services
  • Directory Agents (DA) are devices that cache services. They are used in larger networks to reduce the amount of traffic and allow SLP to scale. The existence of DAs in a network is optional, but if a DA is present, UAs and SAs are required to use it instead of communicating directly.

Today most implementations are daemons that can act both as UA and SA. Usually they can be configured to become a DA as well. In Unix and other computer multitasking operating systems, a daemon is a computer program that runs in the background, rather than under the direct control of a user; they are usually instantiated as processes. ...


Network protocol

SLP is a packet-oriented protocol. Most packets are transmitted using UDP, but TCP can also be used for the transmission of longer packets. Because of the potential unreliability of UDP, SLP repeats all multicasts several times in increasing intervals until an answer has been received. All devices are required to listen on port 427 for UDP packets, SAs and DAs should also listen for TCP on the same port. Multicasting is used extensively by SLP, especially by devices that join a network and need to find other devices. The User Datagram Protocol (UDP) is one of the core protocols of the Internet protocol suite. ... The Transmission Control Protocol (TCP) is one of the core protocols of the Internet protocol suite. ... Orange circles represent endpoints, and green circles represent routing points. ...


The operation of SLP differs considerably, depending on whether a Directory Agent (DA) is in the network or not. When a client first joins a network it multicasts a query for DAs on the network. If no DA answers it will assume that is in a network without DAs. It is also possible to add DAs later, as they multicast a 'heartbeat' packet in a predefined interval that will be received by all other devices. When a SA discovers a DA, it is required to register all services at the DA. When a service disappears the SA should notify the DA and unregister it.


In order to send a query in a network without a DA, the UA sends a multicast UDP packet that contains the query. All SAs that contain matches will send a UDP answer to the UA. If the answer is too large to fit into a single UDP packet, the packet will be marked as "overflown" and the UA is free to send the query directly to the SA using TCP, which can transmit packets of any size.


In order to send a query in a network with a DA, the UA will send the query packet to the DA using either UDP or TCP. As every SA must register all services with the DA, the DA is able to fulfill the request completely and simply sends the result back to the UA.


Security

SLP contains a public-key cryptography based security mechanism that allows signing of service announcements. In practice it is rarely used: PKC, see PKC (disambiguation) Public-key cryptography is a form of modern cryptography which allows users to communicate securely without previously agreeing on a shared secret key. ...

  • The public keys of every service provider must be installed on every UA. This requirement defeats the original purpose of SLP, being able to locate services without prior configuration.
  • Protecting only the services is not enough. Service URLs contain host names or IP addresses, and in a local network it is almost impossible to prevent IP or DNS spoofing. Thus only guaranteeing the authenticity of the URL is not enough if any device can respond to the address.
  • As addresses can be spoofed, the authenticity of the device must be proved at a different level anyway, e.g. in the application protocol (e.g. with SSL) or in the packet layer (IPsec). Doing it additionally in SLP does not provide much additional security.

In computer networking, the term Internet Protocol spoofing (IP spoofing) is the creation of IP packets with a forged (spoofed) source IP address. ... Secure Sockets Layer (SSL) and Transport Layer Security (TLS), its successor, are cryptographic protocols which provide secure communications on the Internet. ... IPsec (IP security) is a standard for securing Internet Protocol (IP) communications by encrypting and/or authenticating all IP packets. ...

Adoption

  • SLP is frequently used for locating printers and supported by printing systems such as CUPS.
  • ACN, a protocol being develped for entertianment control, uses SLP to find different devices such as dimmers and intelligent lights
  • Mac OS and Mac OS X up to version 10.1 used SLP to locate file shares and other services. Newer releases of Mac OS X, versions 10.2 onwards, prefer Zeroconf for new features though.
  • Novell NetWare clients in a pure IP environment use SLP to locate servers.
  • SUSE Linux supports SLP for a variety of services since version 9.1

Cups may refer to: the Common Unix Printing System cup as a drinking vessel, a unit of volume, etc. ... Mac OS, which stands for Macintosh Operating System, is a series of graphical user interface-based operating systems developed by Apple Computer for their Macintosh line of computer systems. ... This article or section does not cite its references or sources. ... This article or section does not cite its references or sources. ... It has been suggested that Multicast DNS be merged into this article or section. ... NetWare is a network operating system developed by Novell, Inc. ... It has been suggested that this article or section be merged into openSUSE. (Discuss) SUSE (properly pronounced , but frequently and incorrectly pronounced /suzi/) is a major retail Linux distribution, produced in Germany. ...

See also

Universal Plug and Play (UPnP) is a set of computer network protocols promulgated by the UPnP Forum. ... Jiniâ„¢ (pronounced like genie) is a network architecture for the construction of distributed systems where scale, rate of change and complexity of interactions within and between networks are extremely important and cannot be satisfactorily addressed by existing technologies. ... It has been suggested that Multicast DNS be merged into this article or section. ... Bonjour, formerly Rendezvous, is Apples trade name for its implementation of the IETF Zeroconf protocol, a computer network technology used in Apples Mac OS X from version 10. ... The OSGi Alliance (formerly known as the Open Services Gateway initiative) is an open standards organization. ... Salutation in computing is a technique for service discovery and service management. ... In the context of computer networking, Dynamic Host Configuration Protocol (DHCP, currently implemented as DHCPv6) is a client-server networking protocol. ...

References

  • Silvia Hagen, Guide to Service Location Protocol, Podbooks.Com LLC, ISBN 1-893939-359
  • James Kempf, Robert St. Pierre, Pete St. Pierre: Service Location Protocol for Enterprise Networks: Implementing and Deploying a Dynamic Service Finder, John Wiley & Sons, ISBN 0471315877
  • Golden G. Richard: Service and Device Discovery : Protocols and Programming, McGraw-Hill Professional, ISBN 0071379592
  • Johan Hjelm: Creating Location Services for the Wireless Web, John Wiley & Sons, ISBN 0471402613
  • Anna Hac: Mobile Telecommunications Protocols for Data Networks, John Wiley & Sons, ISBN 0470850566

External links


  Results from FactBites:
 
NodeWorks - Encyclopedia: Service Location Protocol (1061 words)
Each service must have a URL that is used to locate the service.
Service URLs contain host names or IP addresses, and in a local network it is almost impossible to prevent IP or DNS spoofing.
SLP is frequently used for locating printers and supported by printing systems such as CUPS.
  More results at FactBites »


 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments
Please enter the 5-letter protection code

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms.