2. Overview of the Protocol
The Multicast Listener Discovery (MLD) protocol is used by an IPv6 router to discover the presence of multicast listeners on its directly attached links, and to discover specifically which multicast addresses are of interest to those neighboring nodes. MLDv2 is an asymmetric protocol, specifying different behaviors for multicast listeners (hosts or routers) and multicast routers.
マルチキャストリスナー発見(MLD)プロトコルは、IPv6ルーターが直接接続されたリンク上のマルチキャストリスナーの存在を発見し、具体的にどのマルチキャストアドレスがそれらの近隣ノードにとって関心があるかを発見するために使用される。MLDv2は非対称プロトコルであり、マルチキャストリスナー(ホストまたはルーター)とマルチキャストルーターに対して異なる動作を規定している。
2.1. Building Blocks
The protocol is built on two types of messages:
プロトコルは、2種類のメッセージに基づいて構築されている。
-
Multicast Listener Query (Query): Sent by multicast routers to query the multicast reception state of neighboring interfaces.
マルチキャストリスナー・クエリ(Query): 近隣インターフェースのマルチキャスト受信状態を問い合わせるためにマルチキャストルーターによって送信される。
-
Multicast Listener Report (Report): Sent by multicast listeners to report their current multicast reception state.
マルチキャストリスナー・レポート(Report): 現在のマルチキャスト受信状態を報告するためにマルチキャストリスナーによって送信される。
2.2. Protocol Operations
The basic operation of MLDv2 is as follows:
MLDv2の基本的な動作は以下の通りである。
-
Multicast routers use MLDv2 to determine which multicast addresses have listeners on their attached links.
マルチキャストルーターは、MLDv2を使用して、接続されたリンク上のどのマルチキャストアドレスにリスナーがいるかを判断する。
-
Multicast listeners use MLDv2 to report their interest in receiving multicast packets for specific multicast addresses.
マルチキャストリスナーは、MLDv2を使用して、特定のマルチキャストアドレスのマルチキャストパケットを受信することへの関心を報告する。
-
Routers maintain a state for each attached link, indicating which multicast addresses have listeners and, for MLDv2, which source addresses are of interest.
ルーターは、各接続リンクの状態を維持し、どのマルチキャストアドレスにリスナーがいるか、およびMLDv2の場合はどの送信元アドレスに関心があるかを示す。
-
When a router receives a Report from a listener, it updates its state.
ルーターは、リスナーからレポートを受信すると、その状態を更新する。
-
When a router receives a multicast packet, it forwards the packet to all links that have listeners for that packet's destination address (and source address, if applicable).
ルーターは、マルチキャストパケットを受信すると、そのパケットの宛先アドレス(および該当する場合は送信元アドレス)のリスナーがいるすべてのリンクにパケットを転送する。
2.3. MLDv2 Improvements
MLDv2 improves upon MLDv1 by adding support for Source-Specific Multicast (SSM). In MLDv1, a listener could only report interest in a group address (G). In MLDv2, a listener can report interest in a specific source (S) sending to a group (G), denoted as (S,G). This allows the network to optimize multicast delivery trees and prevent denial-of-service attacks from unwanted sources.
MLDv2は、特定送信元マルチキャスト(SSM)のサポートを追加することにより、MLDv1を改良している。MLDv1では、リスナーはグループアドレス(G)への関心しか報告できなかった。MLDv2では、リスナーはグループ(G)に送信する特定の送信元(S)への関心を報告でき、(S,G)と表記される。これにより、ネットワークはマルチキャスト配信ツリーを最適化し、不要な送信元からのサービス拒否攻撃を防ぐことができる。