Questions tagged [igmp]

Question related to IGMP(Internet Group Management Protocol), a communications protocol used by hosts and adjacent routers on IP networks to establish multicast group memberships.

Internet Group Management Protocol (IGMP) is a communications protocol used by hosts and adjacent routers on IP networks to establish multicast group memberships.

IGMP is an integral part of the IP multicast specification. It is analogous to ICMP for unicast connections. IGMP can be used for online streaming video and gaming, and allows more efficient use of resources when supporting these types of applications.

More information at http://en.wikipedia.org/wiki/Internet_Group_Management_Protocol

54 questions
0
votes
1 answer

Understanding Linux Kernel Code: net/ipv4/igmp.c - Only on a v3 query the function timer_expire() is called but nothing similar on a v1 query?

I have trouble to find the code line in net/ipv4/igmp.c, which responds to a IGMP v1 query with a IGMP report. I wrote printk in the beginning of each function in igmp.c. When I send a IGMP v3 query, I can observe via the printk messages straight…
Olaf4342
  • 1
  • 2
0
votes
0 answers

IGMP query on the Linux networking stack

In Linux IPv4 protocol implementation: https://man7.org/linux/man-pages/man7/ip.7.html, I can call IP_ADD_MEMBERSHIP to send IGMP Membership Report message, and IP_DROP_MEMBERSHIP to send IGMP leave meassge. But how can I use it to send IGMP query…
Hastings
  • 23
  • 3
0
votes
2 answers

How to use MLDv2 in C# (IPv6 Multicast)

In IPv4, [Version 3 of IGMP adds support for "source filtering", that is, the ability for a system to report interest in receiving packets *only* from specific source addresses.][1] I am using IGMPv3 in a C# application to support this behaviour.…
Absolom
  • 1,369
  • 1
  • 13
  • 28
0
votes
1 answer

How to receive multicast join reports (IGMP v3)

I want to see which Multicast-Join-Reports fly through the network in which my host computer resides in. For that I've written a little TypeScript program, that joins the multicast group '224.0.0.22', which is defined in RFC3376 under 4.2.14 as the…
Till
  • 126
  • 11
0
votes
1 answer

Where does the igmp version get set in RedHat 7

Is there a different location/method to set the default igmp version for multicast on a RedHat 7 server other than using the force parameter (net.ipv4.conf.eth0.force_igmp_version = 0 ) in sysctl.conf or sysctl.d etc. In the example above the 0…
leonjv
  • 1
  • 1
0
votes
1 answer

what is difference between General Membership Query vs Group Specific Membership Query in IGMP

I have gone through various documents over net but could not find what is General Membership Query in IGMP. I can understand Group specific message query like it multicast router send query to for a specific group say 224.10.10.10 and all host…
Ravi
  • 173
  • 1
  • 10
0
votes
1 answer

How to configure Windows/winsock to reply to IGMP v3 queries?

Working with Winsock2 for collecting ipv4 multicast data by a Windows 10 host. From Wireshark, igmp joins/leaves work well, which start/stop the switch transmission (switch with snooping + integrated querier). The switch's querier sends periodically…
jakez
  • 1
  • 2
0
votes
1 answer

JoinMulticastGroup with TTL

I am using C# .net framework 4.7. My application is trying to join a multicast group that's a few routers (hops) away. As a result, I am trying to send the IGMP packet with TTL > 1. Currently, I am using UdpClient.JoinMulticastGroup() with the TTL…
Lex L
  • 315
  • 1
  • 3
  • 17
0
votes
1 answer

IGMP: Host rejecting igmp query from src "0.0.0.0"

As per RFC4541, it is valid scenario for a proxy to send IGMP query with src as 0.0.0.0. Also, the RFC says, section 2.1.1 (4) that "If the switch is not the Querier, it should use the 'all-zeros' IP Source Address in these proxy queries (even…
user1765709
  • 441
  • 1
  • 4
  • 8
0
votes
0 answers

Problem receiving multicast traffic from several groups on one socket

I am working on an application in C that listens to several multicast groups on one single socket. I am disabling the socket option: IP_MULTICAST_ALL. The socket is receiving traffic from 20 different multicast groups. This traffic arrives in…
Rayban
  • 1
0
votes
1 answer

Every sent UDP multicast message is received twice because of two IGMPv2 join messages. How to avoid?

I have a Python program that uses a sockets to send and receive UDP multicast messages on multicast IP address 224.0.1.1 and UDP port 20001. On the receive the side, I create a single receive socket, and call socket.setsockopt once using socket…
Bruno Rijsman
  • 3,715
  • 4
  • 31
  • 61
0
votes
1 answer

How to send igmp join from specific interface with python ?

i'm trying to implement the following program in Python to send join request from a specific interface (right now my kernel is choosing something by default). import socket import struct import time MCAST_GRP = '239.0.1.1' MCAST_PORT = 2000 …
T.itzhak
  • 1
  • 2
0
votes
1 answer

Java multicast listening and IGMP

I have an issue that is driving me crazy! Both design-wise and tech-wise. I have a need to listen to a LOT of multicast addresses. They are divided into 3 groups per item that I am monitoring/collecting. I have gone down the road of having one…
Wayne
  • 85
  • 1
  • 6
0
votes
1 answer

How to get System.ServiceModel.DiscoveryClient to use IGMP?

I have a D-Link DGS-1210-10P with two VLAN's (10.104.. and 192.168..) I have a video camera on each network, and two NIC's in my computer on each network. With IGMP off on the D-Link, I can discover both cameras using Microsoft DiscoveryClient, and…
0
votes
0 answers

How to listen to IGMPv3 frames

I need to get IGMPv3 Frames for this I'm using a socket like following: sockfd = socket(AF_INET, SOCK_RAW, IPPROTO_IGMP); the problem is that my program is filtring IGMPv3 Frames, i don't know why !! I don't get IGMP frames although I'm getting…