Skip to content

mcproxy: fix detection of interface for IPv4 and source address for IPv6

Anatoly Mirin requested to merge mirin/mcproxy-fix-iface-and-src-detection into devel

Two similar issues fixed for related IP 4/6 functions:

  1. Get an explicit interface number for all packets instead of detecting interface by the source address. Some proxies may send IGMP reports with a zero IP source address (0.0.0.0), so interface number can't be reliably detected by source IP.

  2. Instead of the source address, the destination address from IPV6_PKTINFO was used. This incorrect address was included in MLD multicast dump entries. Now the real src address of the packet is used.

Merge request reports