rfc3111.txt

来自「RFC 的详细文档!」· 文本 代码 · 共 732 行 · 第 1/2 页

TXT
732 行
字号
   zones, but of the SAME scope.

   A host which has multiple interfaces attached to different links is
   by definition is attached to two link-local zones.  A host may also
   be attached to multiple zones of other scopes.

   A SLPv2 Agent MUST NOT propagate service advertisements from one zone
   to another.  Another way of saying this is a SLPv2 SA or DA MUST NOT
   respond to a request from one zone with service information
   associated with a service in a different zone.

   The specific implication of these rules is discussed in the sections
   which follow.

4.2.4.1 General rules

   Service Locations (in SrvReg, SrvRply, AttrRst, SAAdvert or DAAdvert
   messages) whose locations are literal addresses MUST only be sent to
   SLP agents located on the same zone.

   For example, a service: URL containing a link-local address on link A
   may be sent in a SLPv2 message on link A, to a link-local destination
   address only.




Guttman                     Standards Track                     [Page 7]

RFC 3111    Service Location Protocol Modifications for IPv6    May 2001


   Each interface of a multihomed device is potentially on a separate
   link.  It is often difficult to determine whether two interfaces are
   connected to the same link.  For that reason a prudent implementation
   strategy is to not issue SLP messages containing link-local service
   locations except on the interface where the service is known to
   reside.

4.2.4.2 Multihomed UA

                   +----+        +----+        +----+
                   | SA |--------| UA |--------| DA |
                   +----+ Link 1 +----+ Link 2 +----+

                      (Zone 1)            (Zone 2)

                       Figure 2:  Multihomed UA

   In Figure 2 the UA is multihomed.  The UA can issue a service request
   in Zone 1 and discover services on the SA or in Zone 2 and discover
   services advertised by the DA.  For example, if the request is issued
   from a link-local source address, the SA will only reply with a
   service available on link 1, the DA only with a service available on
   link 2.

   The UA MUST use active discovery to detect DAs before issuing
   multicast requests, as per SLPv2 [2].  The UA MUST issue requests
   using increasing multicast scopes starting at FF01 and increasing to
   a maximum scope of FF05, to solicit DAAdvertisements.  Note the
   restrictions in Section 4.2.2.

   If the UA is unable to discover any DAs using multicast discovery, it
   may issue site-local scope (FF05) or less multicast requests.  (Note
   that the source address of the request must be of at least the scope
   of the multicast, as described in section 4.2.2.)

   If the UA wishes to discover all services, it must issue requests
   into both Zone 1 and 2.

4.2.4.3 Multihomed SA

                   +----+        +----+        +----+
                   | UA |--------| SA |--------| DA |
                   +----+ Link 1 +----+ Link 2 +----+

                      (Zone 1)            (Zone 2)

                        Figure 3: Multihomed SA




Guttman                     Standards Track                     [Page 8]

RFC 3111    Service Location Protocol Modifications for IPv6    May 2001


   In Figure 3, the SA is multihomed.  The SA may receive a request from
   the UA on Link 1 (Zone 1).  The SA MUST NOT return service
   information for services offered on a different zone as a request.
   For example, the UA could discover services offered in Zone 1 not
   Zone 2.

   The SA may receive a DAAdvert on Link 2 (Zone 2).  The SA MUST NOT
   send a service registration to the DA for a service which is present
   in Zone 1.  The SA MUST register a service with the DA which is
   present in Zone 2.

   The SA MUST NOT include an address in a SAAdvert message which is
   sent on a zone where the address is not valid.  For example, the SA
   MUST NOT send a SAAdvert onto link 2, if the SAADvert contains a
   service: URL with a literal link-local scoped IPv6 address for Link
   1.

   The SA performs active DA discovery, as described in SLPv2 [2].  The
   SA MUST issue requests using multicast scope FF02 to solicit
   DAAdvertisements.  If the SA has a site-local or global source
   address, it MUST reissue the request with increasing scopes up to a
   maximum scope of FF05.  Active DA discovery must be attempted in both
   Zone 1 and 2.  This ensures that the SA will discover as many DAs in
   its scope as possible.

4.2.4.4 Multihomed DA

                   +----+        +----+        +----+
                   | UA |--------| DA |--------| SA |
                   +----+ Link 1 +----+ Link 2 +----+

                      (Zone 1)            (Zone 2)

                        Figure 4: Multihomed DA

   In Figure 4, the DA is multihomed.  The DA MUST keep track of which
   interface registrations were made on.  The DA MUST prevent a
   registration from the SA which contains a service information valid
   in one zone from being discovered in another zone.  For example,
   services registered by the SA in Zone 2 would not be discoverable by
   the UA in Zone 1.

   Care must be taken when issuing DAAdverts.  The DA must respond to
   active DA discovery requests using the same scope as the request.
   For instance, if the SA issues a SrvRqst message for service type
   "service:directory" from a link-local source address, the DA MUST
   respond with a link-local (link 2) source address.




Guttman                     Standards Track                     [Page 9]

RFC 3111    Service Location Protocol Modifications for IPv6    May 2001


   The DA MUST multicast unsolicited DAAdverts on each interface using
   link-local and site-local source addresses, unless it is only
   configured with a link-local address.  In that case, the DA MUST
   issue DAAdverts with link-local scope only.

   The DA URL MUST contain the address of the greatest scope the DA is
   configured with in the zone.  For instance, if the DA is configured
   with a link-local, site-local and global address in Zone 2, it would
   use the global address in the DA URL (as a literal IPv6 address).

5. IANA Considerations

   The IPv6 multicast group-id range FF05::1:1000 - FF05::1:13FF was
   previously assigned by IANA in RFC 2375 for use by SLP [10].

   This document defines how the range of addresses FF0X::1:1000 -
   FF0X::1:13FF is used.  IANA has assigned this range of addresses for
   use by Service Location Protocol.

   This document fully defines the multicast addresses that this
   protocol will use.  There is no requirement for the IANA to establish
   a registry to assign additional addresses.

6. Security Considerations

   User Agents and Directory Agents MAY ignore all unauthenticated
   Service Location messages when a valid IPSec association exists.

   Service Agents and Directory Agents MUST be able to use the IP
   Authentication and IP Encapsulating Security Payload for issuing and
   processing Service Location messages whenever an appropriate IPSec
   Security Association exists [13].

   SLP allows digital signatures to be produced to allow the
   verification of the contents of messages.  There is nothing in the
   Modifications for IPv6 document which weakens or strengthens this
   technique.

Acknowledgments

   Thanks to Dan Harrington, Jim Wood and Alain Durand, Thomas Narten,
   Dave Thaler and Erik Nordmark for their reviews of this document.
   John Veizades contributed to the original version of this document.
   The hash function is modified from a code fragment attributed to
   Chris Torek.  Text on Scope Zones is taken from writing by Steve
   Deering, Brian Haberman and Brian Zill.





Guttman                     Standards Track                    [Page 10]

RFC 3111    Service Location Protocol Modifications for IPv6    May 2001


References

   [1]  Bradner, S., "The Internet Standards Process -- Version 3", BCP
        9, RFC 2026, October 1996.

   [2]  Guttman, E., Perkins, C., Veizades, J. and M. Day, "Service
        Location Protocol, Version 2", RFC 2608, June 1999.

   [3]  Veizades, J., Guttman, E., Perkins, C. and S. Kaplan, "Service
        Location Protocol", RFC 2165, June 1997.

   [4]  Bradner, S., "Key words for use in RFCs to Indicate Requirement
        Levels", BCP 14, RFC 2119, March 1997.

   [5]  Mockapetris, P., "Domain Names - Concepts and Facilities", STD
        13, RFC 1034, November 1987.

        Mockapetris, P., "Domain Names - Implementation and
        Specification", STD 13, RFC 1035,  November 1987.

   [6]  Guttman, E., Perkins, C. and J. Kempf, "Service Templates and
        URLs", RFC 2609, July 1999.

   [7]  Berners-Lee, T., Fielding, R. and L. Masinter, "Uniform Resource
        Identifiers (URI): Generic Syntax", RFC 2396, August 1998.

   [8]  Hinden, R. and B. Carpenter, "Format for Literal IPv6 Addresses
        in URL's", RFC 2732, December 1999.

   [9]  Hinden, R. and S. Deering, "IP Version 6 Addressing
        Architecture", RFC 2373, July 1998.

   [10] Hinden, R. and S. Deering, "IPv6 Multicast Address Assignments",
        RFC 2375, July 1997.

   [11] Meyer, D., "Administratively Scoped IP Multicast", RFC 2365,
        July 1998.

   [12] Yergeau, F., "UTF-8, a transformation format of ISO 10646", RFC
        2279, January 1998.

   [13] Kent, S. and R. Atkinson, "Security Architecture for the
        Internet Protocol", RFC 2401, November 1998.








Guttman                     Standards Track                    [Page 11]

RFC 3111    Service Location Protocol Modifications for IPv6    May 2001


Author's Address

   Erik Guttman
   Sun Microsystems
   Eichhoelzelstr. 7
   74915 Waibstadt, Germany

   Phone:  +49 7263 911701
   EMail:  Erik.Guttman@germany.sun.com










































Guttman                     Standards Track                    [Page 12]

RFC 3111    Service Location Protocol Modifications for IPv6    May 2001


Full Copyright Statement

   Copyright (C) The Internet Society (2001).  All Rights Reserved.

   This document and translations of it may be copied and furnished to
   others, and derivative works that comment on or otherwise explain it
   or assist in its implementation may be prepared, copied, published
   and distributed, in whole or in part, without restriction of any
   kind, provided that the above copyright notice and this paragraph are
   included on all such copies and derivative works.  However, this
   document itself may not be modified in any way, such as by removing
   the copyright notice or references to the Internet Society or other
   Internet organizations, except as needed for the purpose of
   developing Internet standards in which case the procedures for
   copyrights defined in the Internet Standards process must be
   followed, or as required to translate it into languages other than
   English.

   The limited permissions granted above are perpetual and will not be
   revoked by the Internet Society or its successors or assigns.

   This document and the information contained herein is provided on an
   "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
   TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
   BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
   HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
   MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

Acknowledgement

   Funding for the RFC Editor function is currently provided by the
   Internet Society.



















Guttman                     Standards Track                    [Page 13]


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?