RE: Does mcproxy support IGMPv3(source specific multicast ) ?

366 views
Skip to first unread message

Siva Prasad Meduri

unread,
Mar 2, 2017, 3:41:52 AM3/2/17
to multica...@googlegroups.com, Sebastian Woelke

 

Hi Sebastian 

 

I am using mcproxy for openwrt routers . I am finding difficulty in configuring mcproxy .

 

Could you please help in basic configuration of mcproxy . 

 

Thanks 

 

Regards

Siva Prasad

 

 

From: Siva Prasad Meduri
Sent: Monday, February 13, 2017 7:41 PM
To: 'multica...@googlegroups.com' <multica...@googlegroups.com>; 'Sebastian Woelke' <nutel...@gmail.com>
Subject: RE: Does mcproxy support IGMPv3(source specific multicast ) ?

 

Hi Sebastian 

 

I am using mcproxy for openwrt routers . I am finding difficulty in configuring mcproxy .

 

Could you please help in basic configuration of mcproxy . 

 

Thanks 

 

Regards

Siva Prasad

 

From: Siva Prasad Meduri
Sent: Monday, February 06, 2017 2:03 PM
To: 'multica...@googlegroups.com' <multica...@googlegroups.com>
Subject: Does mcproxy support IGMPv3(source specific multicast ) ?

 

Hi Admin

 

I am currently working on latest mcproxy  (downloaded from  https://github.com/mcproxy/mcproxy )

 

Please help me with the following queries

 

1.       Does this mcproxy support IGMPv3 ? (Source specific multicast ). Please help me in understanding to what extent mcproxy supports IGMPv3 (source specific multicast ) and limitations if any .

2.       I see the mcproxy source code is written in CPP . Is the code available in C programming language ?.

 

Please help me with the following queries

 

Thanks

 

 

Regards

Siva Prasad

 

Sebastian Woelke

unread,
Mar 2, 2017, 4:28:34 AM3/2/17
to Multicast Proxy, siva....@nxp.com
Hello Siva,

here is an example of how to configure Mcproxy:
https://github.com/mcproxy/mcproxy/blob/master/mcproxy/mcproxy.conf

In detail you have to set the group management protocol the proxy shall use ("IGMPv3" for IPv4 or "MLDv2" for IPv6)
and you have to configure upstream interface and downstream interfaces.

Your config file could like like this:
protocol IGMPv3;
pinstance myProxy: eth0 ==> eth1 eth2;

Regards
Sebastian

Siva Prasad Meduri

unread,
Mar 3, 2017, 5:59:31 AM3/3/17
to Sebastian Woelke, Multicast Proxy

Hi Sebastian

 

Thanks a lot for your valuable reply. It helped me a lot.

 

I am trying to compile openwrt mcproxy for ARM linux .

 

When I try to compile mcproxy using below commands, it is compiling for x86.

1.       qmake mcproxy.pro

2.       Make

 

But my requirement is to compile for ARM . Could you please help me with the Makefile , or the how to generate ARM compatible makefile from qmake .

 

Please help me in this issue.

Regards

Siva Prasad

Sebastian Woelke

unread,
Mar 3, 2017, 6:06:31 AM3/3/17
to Multicast Proxy, nutel...@gmail.com, siva....@nxp.com
Hello Siva,
unfortunately I am not familiar with ARM linux, so I cannot help you here.

Regards
Sebastian


On Friday, March 3, 2017 at 11:59:31 AM UTC+1, Siva Prasad Meduri wrote:

Hi Sebastian

 

Thanks a lot for your valuable reply. It helped me a lot.

Thomas C. Schmidt

unread,
Mar 3, 2017, 6:11:35 AM3/3/17
to multica...@googlegroups.com
Hi Siva,

we do have a number of other people in the group who are familiar with
OpenWRT on Arm.

We'll try to address your problem.

Best,
Thomas

On 03.03.2017 12:06, Sebastian Woelke wrote:
> Hello Siva,
> unfortunately I am not familiar with ARM linux, so I cannot help you here.
>
> Regards
> Sebastian
>
> On Friday, March 3, 2017 at 11:59:31 AM UTC+1, Siva Prasad Meduri wrote:
>
> Hi Sebastian
>
>
>
> Thanks a lot for your valuable reply. It helped me a lot.
>
>
>
> I am trying to compile openwrt mcproxy for ARM linux .
>
>
>
> When I try to compile mcproxy using below commands, it is compiling
> for x86.
>
> 1. qmake mcproxy.pro <http://mcproxy.pro>
>
> 2. Make
>
>
>
> But my requirement is to compile for ARM . Could you please help me
> with the Makefile , or the how to generate ARM compatible makefile
> from qmake .
>
>
>
> Please help me in this issue.
>
> Regards
>
> Siva Prasad
>
>
>
>
>
> *From:*Sebastian Woelke [mailto:nutel...@gmail.com
> <mailto:nutel...@gmail.com>]
> *Sent:* Thursday, March 02, 2017 2:59 PM
> *To:* Multicast Proxy <multica...@googlegroups.com
> <mailto:multica...@googlegroups.com>>
> *Cc:* Siva Prasad Meduri <siva....@nxp.com
> <mailto:siva....@nxp.com>>
> *Subject:* Re: Does mcproxy support IGMPv3(source specific multicast ) ?
>
>
>
> Hello Siva,
>
> here is an example of how to configure Mcproxy:
> https://github.com/mcproxy/mcproxy/blob/master/mcproxy/mcproxy.conf
> <https://github.com/mcproxy/mcproxy/blob/master/mcproxy/mcproxy.conf>
>
> In detail you have to set the group management protocol the proxy
> shall use ("IGMPv3" for IPv4 or "MLDv2" for IPv6)
> and you have to configure upstream interface and downstream interfaces.
>
> Your config file could like like this:
>
> protocol IGMPv3;
> pinstance myProxy: eth0 ==> eth1 eth2;
>
>
> Regards
> Sebastian
>
> On Thursday, March 2, 2017 at 9:41:52 AM UTC+1, Siva Prasad Meduri
> wrote:
>
>
>
> Hi Sebastian
>
>
>
> I am using mcproxy for openwrt routers . I am finding difficulty
> in configuring mcproxy .
>
>
>
> Could you please help in basic configuration of mcproxy .
>
>
>
> Thanks
>
>
>
> Regards
>
> Siva Prasad
>
>
>
>
>
> *From:* Siva Prasad Meduri
> *Sent:* Monday, February 13, 2017 7:41 PM
> *To:* 'multica...@googlegroups.com
> <mailto:multica...@googlegroups.com>'
> <multica...@googlegroups.com
> <mailto:multica...@googlegroups.com>>; 'Sebastian Woelke'
> <nutel...@gmail.com <mailto:nutel...@gmail.com>>
> *Subject:* RE: Does mcproxy support IGMPv3(source specific
> multicast ) ?
>
>
>
> Hi Sebastian
>
>
>
> I am using mcproxy for openwrt routers . I am finding difficulty
> in configuring mcproxy .
>
>
>
> Could you please help in basic configuration of mcproxy .
>
>
>
> Thanks
>
>
>
> Regards
>
> Siva Prasad
>
>
>
> *From:* Siva Prasad Meduri
> *Sent:* Monday, February 06, 2017 2:03 PM
> *To:* 'multica...@googlegroups.com
> <mailto:multica...@googlegroups.com>'
> <multica...@googlegroups.com
> <mailto:multica...@googlegroups.com>>
> *Subject:* Does mcproxy support IGMPv3(source specific multicast ) ?
>
>
>
> Hi Admin
>
>
>
> I am currently working on latest mcproxy (downloaded from
> https://github.com/mcproxy/mcproxy
> <https://github.com/mcproxy/mcproxy> )
>
>
>
> Please help me with the following queries
>
>
>
> 1. Does this mcproxy support IGMPv3 ? (Source specific
> multicast ). Please help me in understanding to what extent
> mcproxy supports IGMPv3 (source specific multicast ) and
> limitations if any .
>
> 2. I see the mcproxy source code is written in CPP . Is
> the code available in C programming language ?.
>
>
>
> Please help me with the following queries
>
>
>
> Thanks
>
>
>
>
>
> Regards
>
> Siva Prasad
>
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Multicast Proxy" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to multicast-pro...@googlegroups.com
> <mailto:multicast-pro...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

--

Prof. Dr. Thomas C. Schmidt
° Hamburg University of Applied Sciences Berliner Tor 7 °
° Dept. Informatik, Internet Technologies Group 20099 Hamburg, Germany °
° http://www.haw-hamburg.de/inet Fon: +49-40-42875-8452 °
° http://www.informatik.haw-hamburg.de/~schmidt Fax: +49-40-42875-8409 °

Sebastian Meiling

unread,
Mar 3, 2017, 6:29:12 AM3/3/17
to multica...@googlegroups.com
Hi Siva,

there already is support for mcproxy in OpenWRT [1], so you should be able to install it via opkg or lucy.

If you want to build a custom version of mcproxy for your specific OpenWRT platform, you have to use the OpenWRT SDK [2]. I'm quite certain, that simply cross compiling mcproxy for ARM will work with OpenWRT. OpenWRT runs on many different ARM-based routers, the SDK provides a toolchain to build the base system and required packages.

[1]: https://github.com/openwrt-routing/packages/tree/master/mcproxy
[2]: https://wiki.openwrt.org/doc/howto/obtain.firmware.sdk

Hope this gets you started, best,
Sebastian (another one :)
> --
> You received this message because you are subscribed to the Google Groups "Multicast Proxy" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to multicast-pro...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Sebastian Meiling
+---------------------------------------+
Internet Technologies Group
Department of Computer Science
Hamburg University of Applied Sciences
Berliner Tor 7, 20099 Hamburg, Germany
+---------------------------------------+
Mail: sebastia...@haw-hamburg.de
Fon: +49 40 42875 - 8067
Fax: +49 40 42875 - 8409
Web: http://www.haw-hamburg.de/inet
+---------------------------------------+

Siva Prasad Meduri

unread,
Mar 30, 2017, 4:09:38 AM3/30/17
to Sebastian Woelke, Multicast Proxy, G Vidya Sankar Gottumukkula, Ganesh Reddy

Hi Sebastian

 

Thanks a lot for your valuable reply .

 

I have configured mcproxy in the following way  and run the mcproxy binary as shown below :

 

root@OpenWrt:~# cat /etc/mcproxy.conf

protocol IGMPv3;

pinstance myproxy: eth0 ==> eth2.1;

 

root@OpenWrt:~# /usr/local/bin/mcproxy -dsvv -f /etc/mcproxy.conf

ERROR: failed to parse line 2 unknown token TT_DOT with value  in this context

failed to parse config file

 

But I get the above error marked in yellow,  when I configure eth0 as upstream and eth2.1 as downstream interfaces. I think it’s a parsing error in mcproxy.conf but the syntax I followed seems correct.

 

Could you please help me resolve this issue.

 

 

Regards

Siva Prasad

 

From: Sebastian Woelke [mailto:nutel...@gmail.com]

Sent: Thursday, March 02, 2017 2:59 PM
To: Multicast Proxy <multica...@googlegroups.com>
Cc: Siva Prasad Meduri <siva....@nxp.com>

Sebastian Woelke

unread,
Mar 30, 2017, 4:22:45 AM3/30/17
to Multicast Proxy, vidya.got...@nxp.com, ganesh...@nxp.com, siva....@nxp.com
Hi Siva,

quotes around eth2.1 should solve the problem.

Like this:

protocol IGMPv3;

pinstance myproxy: eth0 ==> "eth2.1";


Regards
   Sebastian


On Thursday, March 30, 2017 at 10:09:38 AM UTC+2, Siva Prasad Meduri wrote:

Hi Sebastian

 

Thanks a lot for your valuable reply .

Siva Prasad Meduri

unread,
Mar 30, 2017, 5:11:03 AM3/30/17
to Sebastian Woelke, Multicast Proxy

Hi Sebestian

 

Thanks a lot for the reply. Yes, it is working now.

 

I have one more query.

When I use protocol as IGMPv3, and connect two downstream interfaces ,(one host using IGMPv2 and the other IGMPv3),

 

root@OpenWrt:~# cat /etc/mcproxy.conf

protocol IGMPv3;

pinstance myproxy: “eth0” ==> “eth2.1” “eth2.2”;

 

Here host connected to eth2.1 sends IGMPv2 packets, host connect to eth2.2 sends IGMPV3 packets. Does mcproxy forward to both the hosts ?

Please help me in this issue.

Regards

Siva Prasad

 

From: Sebastian Woelke [mailto:nutel...@gmail.com]

Sent: Thursday, March 30, 2017 1:53 PM
To: Multicast Proxy <multica...@googlegroups.com>

Cc: G Vidya Sankar Gottumukkula <vidya.got...@nxp.com>; Ganesh Reddy <ganesh...@nxp.com>; Siva Prasad Meduri <siva....@nxp.com>
Subject: Re: Does mcproxy support IGMPv3(source specific multicast ) ?

 

Hi Siva,

Sebastian Woelke

unread,
Mar 30, 2017, 5:37:38 AM3/30/17
to Multicast Proxy, siva....@nxp.com
Hi Siva,

yes, Mcproxy can interoperate with the older version IGMPv2.

I hope this helps.

Regards
   Sebastian

Siva Prasad Meduri

unread,
Oct 27, 2017, 4:36:07 AM10/27/17
to Sebastian Woelke, Multicast Proxy, Vidya Sankar Gottumukkula, Abhilash Ramineni

Hi Sebastian

Following is the issue I am facing while using mcproxy.

 

I have configured upstream interface as “eth0” and downstream interface as “eth2.1” as seen below.

 

root@router0D0E0F:~# cat /etc/mcproxy.conf

protocol IGMPv3;

pinstance myproxy:"eth0"  ==> "eth2.1" ;

Traffic is sent from eth0 interface and received on eth2.1 interface as expected.

 

Issue:

Now,  I changed upstream interface to eth2.1 and downstream to eth0 like below.

 

root@router0D0E0F:~# cat /etc/mcproxy.conf

protocol IGMPv3;

pinstance myproxy:"eth2.1"  ==> "eth0" ;

 

In this case, if Traffic is still sent from eth0 interface, it is received on eth2.1 interface which should not be case.

I think streaming should happen when traffic is sent from eth2.1 and received on eth0 ONLY.

 

Please correct me if my understanding is wrong. Please provide your inputs on this behavior.

 

Regards

Siva Prasad

 

From: Sebastian Woelke [mailto:nutel...@gmail.com]

Sent: Thursday, March 30, 2017 3:08 PM
To: Multicast Proxy <multica...@googlegroups.com>

Cc: Siva Prasad Meduri <siva....@nxp.com>
Subject: Re: Does mcproxy support IGMPv3(source specific multicast ) ?

 

Hi Siva,

Sebastian Woelke

unread,
Oct 27, 2017, 6:11:05 AM10/27/17
to Multicast Proxy
Hello Siva Prasad,

I'm not sure if I get your issue, but I try to clarify the relation between upstream and downstream.

The configuration looks like this: upstream ==> downstream
And data received on a downstream is always (unconditionally) forwarded to the upstream.
Data received on an upstream is only forwarded to a downstream if hosts in the subnet of the downstream have subscribed the respective group.

Does this help you?

Regards,
Sebastian


On Friday, October 27, 2017 at 10:36:07 AM UTC+2, Siva Prasad Meduri wrote:

Hi Sebastian

Following is the issue I am facing while using mcproxy.

Reply all
Reply to author
Forward
0 new messages