OPNsense Forum

Archive => 20.7 Legacy Series => Topic started by: staticznld on July 31, 2020, 10:10:29 pm

Title: IGMPproxy not leaving multicast streams
Post by: staticznld on July 31, 2020, 10:10:29 pm
Hi,

Just updated to 20.7 everything looked perfect at first.
When looking in netdata i see huge bandwith usage on IPTV vlan.
It looks like the interface is not leaving the multicast iptv streams.

Reinstalled 20.1 load backup file and everything is fine!
Title: Re: IGMPproxy not leaving multicast streams
Post by: staticznld on August 01, 2020, 08:33:58 pm
Just tried a clean install of OpnSense 20.7, imported config.
But still not leaving multicast groups on the IPTV upstream.

See attached screenshot opnsense.jpg

opnsense2.jpg is 20.1.9 with same config and also some channel zapping.
Title: Re: IGMPproxy not leaving multicast streams
Post by: heresjody on August 02, 2020, 09:39:17 am
You are not the only one. Same thing happens here, continuous broadcast of 22mbit.

Of course I would like to contribute with a bug report or additional information but I haven’t got a clue where the issue is. Package, OS, or plugin...
Title: Re: IGMPproxy not leaving multicast streams
Post by: jpatriarca on August 03, 2020, 12:58:00 pm
HI all. I see the same behavior as here. Usually, in any new OPNSense releases, igmpproxy would not be working as expected.

I can also confirm that only some streams works but most of them are broken in a couple of seconds. Looking forward with a solution for this issue.
Title: Re: IGMPproxy not leaving multicast streams
Post by: joopk on August 03, 2020, 05:09:28 pm
Hi All,, facing same issue as mentioned in this topic within my setup. after upgrade iTV is consuming a lot data and at the end streams are disrupted. Could someone clarify if this issue is already addressed in a BUG report/ID?
Title: Re: IGMPproxy not leaving multicast streams
Post by: mnaim on August 03, 2020, 07:11:54 pm
Yes and sometime it is not joining IGMP until restart IGMP proxy.

On 20.1 it is fine

Log spammed with:
2020-08-03T18:58:58   igmpproxy[89505]: MRT_DEL_MFC; Errno(49): Can't assign requested address
2020-08-03T18:58:58   igmpproxy[89505]: MRT_DEL_MFC; Errno(49): Can't assign requested address
2020-08-03T18:58:58   igmpproxy[89505]: MRT_DEL_MFC; Errno(49): Can't assign requested address
2020-08-03T18:58:58   igmpproxy[89505]: MRT_DEL_MFC; Errno(49): Can't assign requested address
2020-08-03T18:58:58   igmpproxy[89505]: MRT_DEL_MFC; Errno(49): Can't assign requested address
2020-08-03T18:58:58   igmpproxy[89505]: MRT_DEL_MFC; Errno(49): Can't assign requested address
2020-08-03T18:58:40   igmpproxy[89505]: MRT_DEL_MFC; Errno(49): Can't assign requested address
2020-08-03T18:58:16   igmpproxy[36498]: MRT_DROP_MEMBERSHIP failed; Errno(49): Can't assign requested address
2020-08-03T18:58:16   igmpproxy[36498]: MRT_DROP_MEMBERSHIP failed; Errno(49): Can't assign requested address
2020-08-03T18:58:16   igmpproxy[36498]: select() failure; Errno(4): Interrupted system call
Title: Re: IGMPproxy not leaving multicast streams
Post by: micharambou on August 03, 2020, 10:45:26 pm
I can confirm the issue. Still investigating for a potential hint that leads to rc.

This is the output of igmpproxy during the event of a MC Group Leave Event:
Code: [Select]
RECV Leave message      from 192.168.100.15  to 224.0.0.2
Got leave message from 192.168.100.15 to 232.0.20.120. Starting last member detection.
counted 1 interfaces
Leaving group 2014576872 now
Leaving group 232.0.20.120 upstream on IF address 84.132.144.112
leaveMcGroup: 232.0.20.120 on pppoe0
Interface id 0 is in group $d
SENT Membership query   from 192.168.100.1   to 232.0.20.120
Sent membership query from 192.168.100.1 to 232.0.20.120. Delay: 10
Created timeout 3 (#1) - delay 2 secs
(Id:2, Time:8)
(Id:3, Time:2)
RECV Membership query   from 192.168.100.1   to 232.0.20.120
RECV Leave message      from 192.168.100.15  to 224.0.0.2
Got leave message from 192.168.100.15 to 232.0.20.120. Starting last member detection.
Interface id 0 is in group $d
SENT Membership query   from 192.168.100.1   to 232.0.20.120
Sent membership query from 192.168.100.1 to 232.0.20.120. Delay: 10
Created timeout 4 (#2) - delay 0 secs
(Id:2, Time:8)
(Id:3, Time:2)
(Id:4, Time:0)
RECV Membership query   from 192.168.100.1   to 232.0.20.120
About to call timeout 2 (#0)
SENT Membership query   from 192.168.100.1   to 224.0.0.1
Sent membership query from 192.168.100.1 to 224.0.0.1. Delay: 10
Created timeout 5 (#2) - delay 8 secs
(Id:3, Time:2)
(Id:4, Time:0)
(Id:5, Time:8)
Created timeout 6 (#3) - delay 21 secs
(Id:3, Time:2)
(Id:4, Time:0)
(Id:5, Time:8)
(Id:6, Time:21)
RECV Membership query   from 192.168.100.1   to 224.0.0.1
The IGMP message was local multicast. Ignoring.
RECV V2 member report   from 192.168.100.13  to 224.0.0.252
Should insert group 224.0.0.252 (from: 192.168.100.13) to route table. Vif Ix : 0
Updated route entry for 224.0.0.252 on VIF #0

Current routing table (Insert Route):
-----------------------------------------------------
#0: Src0: 87.141.215.251, Dst: 232.0.20.120, Age:2, St: A, OutVifs: 0x00000001
#1: Dst: 224.0.0.251, Age:2, St: I, OutVifs: 0x00000001
#2: Dst: 224.0.0.252, Age:1, St: I, OutVifs: 0x00000001

However running tcpdump on pppoe0 shows, that the igmp leave message never passes the interface.

By the way - why can't I just rollback igmpproxy package like this?

Code: [Select]
root@OPNsense:/home/michael # opnsense-revert -r 20.1 igmpproxy
Fetching igmpproxy.txz: .. failed
Title: Re: IGMPproxy not leaving multicast streams
Post by: madj42 on August 04, 2020, 03:16:51 am
Are you actually able to enable igmp proxy without it causing the system to hang?  If I enable the service, it causes my system to kernel panic on every boot until I remove the service package in single user mode.
Title: Re: IGMPproxy not leaving multicast streams
Post by: heresjody on August 04, 2020, 07:50:44 am
Are you actually able to enable igmp proxy without it causing the system to hang?  If I enable the service, it causes my system to kernel panic on every boot until I remove the service package in single user mode.

Yes the system runs fine except for stuttering and errors with just a couple TV channels.
Title: Re: IGMPproxy not leaving multicast streams
Post by: thoho on August 05, 2020, 06:47:06 pm
I have the same problem: IGMP streams do not terminate (With Telekom Magenta TV).
Everything else seems to work without problems (IGMP Proxy also starts without problems).

i downgraded to 20.1 (Reinstall with saved config).
Title: Re: IGMPproxy not leaving multicast streams
Post by: mnaim on August 07, 2020, 09:54:37 am
IGMP works, no kernel panics.
But I cant to subscribe to new channel or change channel without restarting IGMP service.
So I have to watch TV with remote control in one hand and OPNsense admin GUI in second :))

And of course no IGMP leave so I have brutal traffic > 300Mbit during watching TV.
Title: Re: IGMPproxy not leaving multicast streams
Post by: chemlud on August 07, 2020, 04:43:47 pm
https://forum.opnsense.org/index.php?topic=18490.msg84154#msg84154

:-)
Title: Re: IGMPproxy not leaving multicast streams
Post by: oshimapt on March 25, 2022, 05:07:35 pm
hello,

sorry for digging the thread, but i'm having this problem after upgrading for de latest opnsense version.

the error is:
MRT_DEL_MFC; Errno(49): Can't assign requested address

my version is 22.1.4_1.

it was working fine with a portuguese iptv provider called Altice/MEO.