OPNsense Forum

English Forums => Development and Code Review => Topic started by: gliddie on December 03, 2017, 02:03:54 am

Title: [SOLVED] Please update igmpproxy
Post by: gliddie on December 03, 2017, 02:03:54 am
Hi,

there seams to be an updated version from igmpproxy which does work with IGMP V3.
I might be wrong, but if I read the posts in the pfsense forum, to me it looks like some folks got Telekom EnterteinTV to work on PFSense 2.4.0, 2.4.1 or 2.4.2.
Haven't tried that, as I love OPNSense ;-)

What it be possible to update OPNSense with the same version from igmpproxy?

Thank you,
Gliddie
Title: Re: Please update igmpproxy
Post by: mimugmail on December 03, 2017, 06:00:36 am
Hi,

there's already an open issue:
https://github.com/opnsense/plugins/issues/373

You can ping franco via the issue
Title: Re: Please update igmpproxy
Post by: franco on December 03, 2017, 08:48:52 am
We can try in January if nobody else creates a PR before that. It is not a priority, mostly because we have waited so long to be able to get VLAN supported and now I don't want to jeopardise this state by updating to a new version that nobody in upstream FreeBSD ports is working on.


Cheers,
Franco
Title: Re: Please update igmpproxy
Post by: gliddie on December 03, 2017, 10:06:18 am
Thank you for the Info. No rush 😉
Title: Re: Please update igmpproxy
Post by: franco on December 03, 2017, 11:40:32 am
Ok, here is a test version based on the latest code on GitHub for amd64 only:

# pkg add -f https://pkg.opnsense.org/FreeBSD:11:amd64/snapshots/igmpproxy-0.1.g20171030,1.txz

And here is the integration code...

https://github.com/opnsense/ports/commit/ce69914ce2

Disclaimer: only build-tested so far. Not sure if this needs changes in core.git. It may be worth linking the pfSense discussions for further investigation and integration work. :)


Cheers,
Franco
Title: Re: Please update igmpproxy
Post by: gliddie on December 03, 2017, 04:51:52 pm
Nice, that one works. Just tried it. Thank you very much.
EntertainTV IPTV does work with that one, on OPNSense. Its using IGMPV3 and SSM
Title: Re: Please update igmpproxy
Post by: franco on December 04, 2017, 10:20:20 am
Cool! Does your Telekom connection require the upstream interface to be specific VLAN?

I will try to get the authors to release a version and we can work on inclusion in FreeBSD. :)


Cheers,
Franco
Title: Re: Please update igmpproxy
Post by: gliddie on December 04, 2017, 01:57:39 pm
Thank you. Yes Telekom requires VLAN 7 on their BNG cirquits. I have my OPNSense Box Behind a Draytek Vigor, which I use only as Modem. If you set the VLAN in the Modem, you don't have to do that in OPNSense,  which would work as well that way.
Title: Re: Please update igmpproxy
Post by: mimugmail on December 04, 2017, 02:03:05 pm
And behind the OPNsense is your smart tv? I only know the SIP stuff with Telekom ..
Title: Re: Please update igmpproxy
Post by: gliddie on December 04, 2017, 03:48:21 pm
It would work if you plugin the IPTV device straight into the OPNSense box. But have a managed switch between my OPNSense Box and my IPTV Device. That Switch does IGMP Snooping, to prevent the Multicast traffice to go to any port, which doesnt require it.
So far, I havent seen a Smart TV yet, which is able to receive IPTV out of the box. You could  either use the setop box from Telekom, or you build your own with a rasperry pi and Kodi / TVHeadend.
Works well. My wife and my son are loving it ;-)
Title: Re: Please update igmpproxy
Post by: mimugmail on December 04, 2017, 04:38:35 pm
I'll get Telekom Glasfaser in 2 months ... good time to switch from Cisco to OPN .. but I have to read about the IP TV stuff .. absolute boon :)
Title: Re: Please update igmpproxy
Post by: franco on December 04, 2017, 04:50:43 pm
Ah, thanks for clarifying! So the test case about VLAN we should still verify. The thing is pushing the VLAN to OPNsense to terminate it there and run igmpproxy on it didn't work for a long time in FreeBSD 10 and that's why we have included the custom patches into our igmpproxy.


Cheers,
Franco
Title: Re: Please update igmpproxy
Post by: gliddie on December 22, 2017, 10:44:36 am
Hi,

I have tested both with this Version of igmpproxy and both ways are working fine on my APU 2C4 Box
Title: Re: Please update igmpproxy
Post by: franco on December 22, 2017, 10:04:21 pm
igmpproxy was finally updated to version 0.2. I built a test package:

# pkg add -f https://pkg.opnsense.org/FreeBSD:11:amd64/snapshots/igmpproxy-0.2,1.txz

The changes are as follows:

Major changes since last release 0.1:

o Mrouted part of source code was relicensed from proprietary Stanford license to free 3-clause BSD license.
o Thanks for all who agreed with license change. Now whole igmpproxy project is GPLv2+ compatible.
o Added support for whitelisting multicast groups on downstream interface.
o Added support for QNX 6, FreeBSD 9/10 and uclinux.
o Added support for daemonization.
o Added experimental support for igmpv3 clients.
o Send IGMP packets with IP Router Alert.
o Change default interface state to disabled.


Cheers,
Franco
Title: Re: Please update igmpproxy
Post by: gliddie on December 23, 2017, 12:22:42 am
Thank you,

I had just tried that one.
Have tested it with VLAN Tag set on the Modem.
It works.
Will play with it some days and also try setting the VLAN on the OPNSense box.

Happy Holidays,
Gliddie
Title: Re: Please update igmpproxy
Post by: franco on December 23, 2017, 03:45:55 pm
Hi Gliddie,

Thanks for the quick test. I've pushed this to FreeBSD ports in the hopes it will land soon.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224543

Appreciate all feedback and further testing. :)


Happy Holidays!
Franco
Title: Re: Please update igmpproxy
Post by: secpro on January 21, 2018, 04:04:00 am
Hello, new OPNSense user here... I'm using the i386 nanobsd version, and trying to get IGMP proxy working with my provider that uses v3. Would it be possible to get a snapshot of this fix for i386? It would be much appreciated.
Title: Re: Please update igmpproxy
Post by: franco on January 22, 2018, 09:09:10 am
Try this one for 17.7 i386:

# pkg add -f https://pkg.opnsense.org/FreeBSD:11:i386/snapshots/igmpproxy-0.2,1.txz


Cheers,
Franco
Title: Re: Please update igmpproxy
Post by: secpro on January 23, 2018, 03:42:55 am
Thanks! I gave it a try, and it wasn't working (starts up OK but wasn't seeing the normal multicast messages when running with igmpproxy -d -vv /usr/local/etc/igmpproxy.conf). So I went back using
#pkg add -f https://pkg.opnsense.org/FreeBSD:11:i386/17.7/latest/All/igmpproxy-0.1_2,1.txz
And it started working... I didn't update anything else. Not sure why that would be?
Title: Re: Please update igmpproxy
Post by: frank_p on February 04, 2018, 07:56:33 am
Hi Franco,

does the current plug-in version 1.3 include the functionality for igmpv3 clients and ssm?

regards
frank
Title: Re: Please update igmpproxy
Post by: franco on February 05, 2018, 08:58:12 am
Hi Frank,

No, FreeBSD hasn't taken up the offer of updating igmpproxy yet...

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224543

But you can install the package manually (info in this thread) and that's said to work automatically afterwards.


Cheers,
Franco
Title: Re: Please update igmpproxy
Post by: frank_p on February 05, 2018, 11:02:24 am
Thanks Franco for fast feedback
regards, Frank
Title: Re: Please update igmpproxy
Post by: franco on February 08, 2018, 08:35:28 am
FreeBSD has merged the new version of igmpproxy which means we are going to adapt it for 18.1.3 if there are no last minute issues popping up.... you have been warned... and the clock is ticking. ;)


Cheers,
Franco
Title: Re: [SOLVED] Please update igmpproxy
Post by: gliddie on February 09, 2018, 10:47:52 am
Thank you very much for this. Much appreciated.
It has been working stable for me, since I am using it.
Also regarding the VLAN. No matter if I set that on Opnsense or on the modem. There is no difference. Both does work for me.
Just one thing, I had recognized, but did not look deaper into it. When I boot my opnsense box, the IGMP Proxy has to start before the Open VPN Server is starting. Else somehow the IGMP Proxy Service doesnt start on my box.
Might be something on my box. So far, when I boot up my box, I just did stop that OpenVPN Server, then start the IGMP Proxy and after that start the OpenVPN Server.
Title: Re: [SOLVED] Please update igmpproxy
Post by: frank_p on February 13, 2018, 09:00:54 am
That's great (!) news Franco.
Thanks a lot. That give access to the new InternetTV plattform from Telekom.

regards, Frank
Title: Re: [SOLVED] Please update igmpproxy
Post by: nivok on March 14, 2018, 07:24:47 am
Hello guys,
I kind of bumping this thread... I've a IPTV service that I run on a VLAN (because I've 2 WANS)... That was working perfectly with 18.1.3, but I upgraded yesterday to 18.1.4 and since it's not working anymore... Anyone else noticed that? I've temporarily removed the VLAN and I got it working again...
Has anything important changed on igmprpoxy?
Thanks,Nick
Title: Re: [SOLVED] Please update igmpproxy
Post by: franco on March 14, 2018, 06:14:14 pm
igmpproxy 0.1 project was discontinued a few years ago and we had manual patches. igmpproxy 0.2 is a new fork, we likely have to redo a few things with the author, see the other thread.
Title: Re: [SOLVED] Please update igmpproxy
Post by: nivok on March 16, 2018, 07:39:56 am
I'm just forwarding people to the other thread:
https://forum.opnsense.org/index.php?topic=7581.msg34618#msg34618