rfc3170.txt

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

TXT
1,463 行
字号
      Figure 6: Multicast address usage for application types

   In almost all cases, application designers should assume that
   multicast addresses are to be dynamic.  Very little of the multicast
   address space is available for static assignment by IANA [MADDR].
   Also, given the host-specific addressing available with SSM,
   Internet-wide, static address assignment is expected to be very rare.

5.2 Session Management

   Session management is one of the most misunderstood services with
   respect to multicast.  Most application developers assume that
   multicast will provide services like security, encryption,
   reliability, session advertisement, monitoring, billing, etc.  In
   fact, multicast is simply a transport mechanism that provides end-



Quinn, et al.                Informational                     [Page 16]

RFC 3170               IP Multicast Applications          September 2001


   to-end delivery.  All of the other services are application-layer
   services that must be provided by each particular application.
   Furthermore, in most cases there are not defined standards for how
   these functions should be provided.  The particular functions are
   dependent on the particular needs of the application, and no single
   method (or standard) can be made to be sufficient for all cases.

   While there are no generic solutions which provide all session
   management functions, there are some protocols and common techniques
   that provide support for some of the functions.  Techniques for
   congestion control and heterogeneous receiver support are discussed
   in Section 5.3.  Protocols for reliability are discussed in Section
   5.4.  Security considerations are discussed in Section 5.5.

   With respect to session advertisement, there are a number of
   mechanisms for advertising sessions.  One commonly used technique is
   to advertise sessions via the WWW.  Users can join a group by
   clicking on URLs, and then having a response returned to the user
   that includes the group address and maybe information about group
   source(s).  Another mechanism is the session description protocol
   [SDP].  It provides a format for representing information about
   sessions, but it does not provide the transport for dissemination of
   these session descriptions, nor does it provide address allocation
   and management.  SDP only provides the syntax for describing session
   attributes.

   SDP session descriptions may be conveyed publicly or privately by
   means of any number of transports including web (HTTP) and MIME
   encoded email.  The session announcement protocol [SAP] is the de
   facto standard transport and many multicast-enabled applications
   currently use it.  SAP limits distribution via multicast scoping, but
   the current protocol definition has scaling issues that need to be
   addressed.  Specifically, the initialization latency for a session
   directory can be quite long, and it increases in proportion to the
   number of session announcements.  This is to an extent a multicast
   infrastructure issue, however, as this level of protocol detail
   should be transparent to applications.

   The session management service needs to:

     - Advertise scheduled sessions
     - Provide a query mechanism for retrieving
       information about session schedules








Quinn, et al.                Informational                     [Page 17]

RFC 3170               IP Multicast Applications          September 2001


5.3 Heterogeneous Receiver Support

   The Internet is a network of networks.  IP's strength is its ability
   to enable seamless interoperability between hosts on disparate
   network media, the heterogeneous network.

   When two hosts communicate via unicast--one-to-one--across an IP
   network, it is relatively easy for senders to adapt to varying
   network conditions.  The Transmission Control Protocol (TCP) provides
   reliable data transport, and is the model of "network friendly"
   adaptability.

   TCP receivers send acknowledgements back to the sender for data
   delivered.  A TCP sender detects data loss from the data sent that is
   not acknowledged.  When it detects data loss, TCP infers that there
   is network congestion or a low-bandwidth link, and adapts by
   throttling down its send rate [SlowStart].

   User Datagram Protocol (UDP) does not enable a receiver feedback loop
   the way TCP does, since UDP does not provide reliable data delivery
   service.  As a result, it also does not have a loss detection and
   adaptive congestion control mechanism as TCP does.  However, it is
   possible for a unicast UDP application to enable similar adaptive
   algorithms to achieve the same result, or even improve on it.

   A unicast UDP application that uses a feedback mechanism to detect
   data loss and adapt the send rate, can do so better than TCP.  TCP
   automatically reduces the "congestion window" when data loss is
   detected, although the updated send rate may be slower than a CBR
   audio/video stream requires.  When a UDP application detects loss, it
   can adapt the data itself to accommodate the lower send rate.  For
   example, a UDP application can:

     -  Reduce the data resolution (e.g., send lower fidelity
        audio/video by reducing sample frequency or frame rate) to
        reduce data rate.

     -  Modify the data encoding to add redundant data (e.g., forward
        error correction) offset in time to avoid fate sharing.  This
        could also be "layered", so a percentage of data loss will
        simply reduce fidelity rather than corrupt the data.

     -  Reduce the send rate of one datastream in order to favor another
        of higher priority (e.g., sacrifice video in order to ensure
        audio delivery).






Quinn, et al.                Informational                     [Page 18]

RFC 3170               IP Multicast Applications          September 2001


     -  Send data at a lower rate (i.e., with a different encoding) on a
        separate multicast address and/or port number for high-loss
        receivers.

   However, with multicast applications--one-to-many or many-to-many--
   which have multiple receivers, the feedback loop design needs
   modification.  If all receivers return data loss reports
   simultaneously, the sender is easily overwhelmed in the storm of
   replies.  This is known as the "implosion problem".

   Another problem is that heterogeneous receiver capabilities can vary
   widely due to the wide range of (static) network media bandwidth
   capabilities and dynamically due to transient traffic conditions.  If
   a sender adapts its send rate and data resolution based on the loss
   rate of its worst receiver(s), then it can only service the lowest
   common denominator.  Hence, a single "crying baby" can spoil it for
   all other receivers.

   Strategies exist for dealing with these heterogeneous receiver
   problems.  Here are two examples:

     Shared Learning - When loss is detected (i.e., a sequenced packet
        isn't received), a receiver starts a random timer.  If it
        receives a data loss report sent by another receiver as it waits
        for the timer to expire, it stops the timer and does not send a
        report.  Otherwise, it sends a report when the timer expires.
        The Real-Time Protocol and its feedback-loop counterpart Real-
        Time Control Protocol [RTP/RTCP] employ a strategy similar to
        this to keep feedback traffic to 5 percent or less than the
        overall session traffic.  This technique was originally utilized
        in IGMP.

     Local Recovery - Some receivers may be designated as local
        distribution points or "transcoders" that either re-send data
        locally (possibly via unicast) when loss is reported or they re-
        encode the data for lower bandwidth receivers before re-sending.
        No standards exist for these strategies, although "local
        recovery" is used by several reliable multicast protocols.

   Adaptive multicast application design for heterogeneous receivers is
   still an active area of research.  The fundamental requirements are
   to maximize application usability, while accommodating network
   conditions in a "network friendly" manner.  In other words,
   congestion detection and avoidance are (at least) as important in
   protocol design as the user experience.  The adaptive mechanisms must
   also be stable, so they do not adapt too quickly--changing encoding
   and rates based on too little information about what may be a
   transient condition--to avoid oscillation.



Quinn, et al.                Informational                     [Page 19]

RFC 3170               IP Multicast Applications          September 2001


   This "feedback loop" service necessary for support of heterogeneous
   receivers is not illustrated in the services summary in Figure 4,
   although it could be added alongside "Reliable Transport" and the
   others.  This service could be implemented within an application or
   accessed externally, as provided by the operating system or a third
   party.  See [HNRS] for a taxonomy of strategies for providing
   feedback for multicast, with the ultimate goal of developing a common
   multicast feedback protocol.

5.4 Reliable Data Delivery

   Many of the multicast application examples in our list--like
   audio/video distribution--have loss-tolerant data content.  In other
   words, the data content itself can remain useful even if some of it
   is lost.  For example, audio might have a short gap or lower fidelity
   but will remain intelligible despite some data loss.

   Other application examples--like caching and synchronized resources-
   -require reliable data delivery.  They deliver content that must be
   complete, unchanged, in sequence, and without duplicates.  The "Loss
   Intolerant" column in Figure 7 shows a list of applications with this
   requirement, while the others can tolerate varying levels of data
   loss.  The tolerance levels are typically determined by the nature of
   the data and the encoding in use.

        |
   1toM |     b             a, d               c, e
        |
   MtoM |             f, j, k, l, m, n       g, h, i
        |
   Mto1 |                o, p, r, s, t          q
        |
        +------------------------------------------------
          Loss Tolerant                   Loss Intolerant

      Figure 7: Reliability Requirements of Application types

   Some of the challenges involved with enabling reliable multicast
   transport are the same as those of sending to heterogeneous
   receivers, and some solutions are similar also.  For example, many
   reliable multicast transport protocols avoid the implosion problem by
   using negative acknowledgements (NAKs) from receivers to indicate
   what was lost.  They also use "shared learning" whereby receivers
   listen to others' NAKs and then listen for the resulting
   retransmission of data, rather than requesting retransmission by
   sending a NAK themselves.





Quinn, et al.                Informational                     [Page 20]

RFC 3170               IP Multicast Applications          September 2001


   Although reliable delivery cannot change the data sent--except,
   perhaps, to use a loss-less data compression algorithm--they can use
   other adaptive techniques like sending redundant data, or adjusting
   the send rate.

   Although many reliable multicast protocol implementations exist
   [Obraczka], and a few are already available in commercial products,
   none of them are standardized.  Work is ongoing in the "Reliable
   Multicast" research group of the Internet Research Task Force [IRTF]
   to provide a better definition of the problem, the multicast
   transport requirements, and protocol mechanisms.

   Scalability is the paramount concern, and it implies the general need
   for "network friendly" protocols that detect and avoid congestion as
   they provide reliable delivery.  Other considerations are protocol
   robustness, support for "late joins", group management and security
   (which we discuss next).

   The current consensus is that due to the wide variety of multicast
   application requirements--some of which are at odds--no single
   multicast transport will likely be appropriate for all applications.
   As a result, most believe that we will eventually standardize a
   number of reliable multicast protocols, rather than a single one
   [BULK, RMT].

5.5 Security

   For any IP network application--unicast or multicast--security is
   necessary because networks comprise users with different levels of
   trust.

   Network application security is challenging, even for unicast.  And
   as the need for security increases--gauged by the risks of being
   without it--the challenges increase also.  Security system complexity
   and overhead is commensurate with the protection it provides.  "No
   one can guarantee 100% security.  But we can work toward 100% risk
   acceptance...Strong cryptography can withstand targeted attacks up to
   a point--the point at which it becomes easier to get the information
   some other way...A good design starts with a threat model: what the
   system is designed to protect, from whom, and for how long."
   [Schneier]

   Multicast applications are no different than unicast applications
   with respect to their need for security, and they require the same
   basic security services: user authentication, data integrity, data
   privacy and user privacy (anonymity).  However, enabling security for

⌨️ 快捷键说明

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