Information
The Cisco multicast Rendezvous Point (RP) router must be configured to filter Protocol Independent Multicast (PIM) Register messages received from the Designated Router (DR) for any undesirable multicast groups and sources.
GROUP ID: V-216811RULE ID: SV-216811r531087
Real-time multicast traffic can entail multiple large flows of data. An attacker can flood a network segment with multicast packets, over-using the available bandwidth and thereby creating a denial-of-service (DoS) condition. Hence, it is imperative that register messages are accepted only for authorized multicast groups and sources.
Solution
Configure the router to filter PIM register messages received from a multicast DR for any undesirable multicast groups and sources. The example below will deny any multicast streams for groups 239.5.0.0/16 and allow from only sources 10.1.2.6 and 10.1.2.7.
RP/0/0/CPU0:R2(config)#ipv4 access-list PIM_REGISTER_FILTERRP/0/0/CPU0:R2(config-ipv4-acl)#deny ipv4 any 239.5.0.0 0.0.255.255RP/0/0/CPU0:R2(config-ipv4-acl)#permit ipv4 host 10.1.2.6 anyRP/0/0/CPU0:R2(config-ipv4-acl)#permit ipv4 host 10.1.2.7 anyRP/0/0/CPU0:R2(config-ipv4-acl)#deny ipv4 any anyRP/0/0/CPU0:R2(config-ipv4-acl)#exitRP/0/0/CPU0:R2(config)#router pimRP/0/0/CPU0:R2(config-pim)#address-family ipv4RP/0/0/CPU0:R2(config-pim-default-ipv4)#accept-register PIM_REGISTER_FILTERRP/0/0/CPU0:R2(config-pim-default-ipv4)#end