Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[os-igmp-proxy] igmproxy not working since 18.1.3 - There must be at least 1 Vif as upstream #590

Closed
rx-tx opened this issue Mar 8, 2018 · 17 comments
Assignees
Labels
upstream Third party issue

Comments

@rx-tx
Copy link

rx-tx commented Mar 8, 2018

Hello,
i am running OPNsense 18.1.3 with igmpproxy plugin 1.3 together with german telekom IPTV service.
The solution already worked with OPNsense 18.x just fine. After upgrading to 18.1.3 i recognized that the igmpproxy service does not come up.
The error in the log file is:

igmpproxy[20043]: There must be at least 1 Vif as upstream.

The igmpproxy service configuration is not changed, so there is one upstream interface (outside_pppoe) and one downstream interface (inside_untagged).

Maybe there is an issue with VLAN tagging, because the PPPoE interface is a tagged interface within an APU board. I tested to choose an untagged interface for the igmp upstream interface and the service started successfully. As soon as i switch back to my tagged PPPoE interface the service cannot start with the above error message.

Also tried to re-create the igmp configuration, but no change.

Any ideas or things i can check?

@fichtner
Copy link
Member

fichtner commented Mar 9, 2018

igmpproxy was revived after many years of no updates. Unfortunately, several "forks" existed that did things slightly different. For now you can bring it back with:

# opnsense-revert -r 18.1.2 igmpproxy

The better question: what is your upstream interface setup like? We would like to report this upstream.

@fichtner fichtner added the upstream Third party issue label Mar 9, 2018
@fichtner fichtner self-assigned this Mar 9, 2018
@rx-tx rx-tx changed the title [os-igmp-proxy] igmproxy not working within 18.1.3 - There must be at least 1 Vif as upstream [os-igmp-proxy] igmproxy not working within 18.1.3/18.1.4 - There must be at least 1 Vif as upstream Mar 9, 2018
@rx-tx
Copy link
Author

rx-tx commented Mar 9, 2018

Just verified - same issue with 18.1.4.

Installed igmpproxy from 18.1.2 and it works again.
Did not see anything related to igmpproxy in the release notes for 18.1.3.

The configuration is as follows:

a) physical interface - tagged (IEEE 802.1Q) ethernet interface w/ VLAN ID 7

igb2_vlan7: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=400000<TXCSUM_IPV6>
ether 00:0d:b9:xx:xx:xx
inet6 fe80::20d:b9ff:fexx:xxxx%igb2_vlan7 prefixlen 64 scopeid 0x9
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT )
status: active
vlan: 7 vlanpcp: 0 parent interface: igb2
groups: vlan

b) PPPoE on top of igb2_vlan7 (OUTSIDE_PPPOE)
see attached screenshot

c) igmpproxy configuration (upstream interface):

OUTSIDE_PPPOE upstream 224.0.0.0/4, 193.158.0.0/15

opns_pppoe_if

@rx-tx rx-tx changed the title [os-igmp-proxy] igmproxy not working within 18.1.3/18.1.4 - There must be at least 1 Vif as upstream [os-igmp-proxy] igmproxy not working since 18.1.3 - There must be at least 1 Vif as upstream Apr 1, 2018
@rx-tx
Copy link
Author

rx-tx commented Apr 1, 2018

Just verified with 18.1.5 and included igmpproxy 0.2.1 from https://github.com/pali/igmpproxy/tree/0.2.1 - same issue.
Workaround with "opnsense-revert -r 18.1.2 igmpproxy" helps.

@micressor
Copy link

Same problem with 18.1.8. I haven't tested the workaround yet.

@thomasnilsen
Copy link

Any update on this? Not beeing able to use igmpproxy is a huge disadvantage.

I run 18.7 and when I try to perform "opnsense-revert -r 18.1.2 igmpproxy" I get, "Fetching igmpproxy.txz: .. failed".

@fichtner
Copy link
Member

fichtner commented Aug 2, 2018

Yep, somebody is working on it: pali/igmpproxy#38

# pkg add -f https://pkg.opnsense.org/FreeBSD:11:amd64/18.1/MINT/18.1.2/OpenSSL/All/igmpproxy-0.1_2,1.txz

@thomasnilsen
Copy link

thomasnilsen commented Aug 2, 2018

I tried updating and now I get a different error mesage.

adding VIF, Ix 0 Fl 0x0 IP 0x01ca000a re1_vlan202, Threshold: 1, Ratelimit: 0 There must be at least 2 Vif's where one is upstream.

My upstream interface should be re0_vlan102 and for my config it seems allright. Probably another thing that is worked on to be fixed or?

@fichtner Tried tearing down the config and rebuilding in oposite direction. Now with downstream defined before upstream in my config igmpproxy is starting! So there is some logical faults in the code for checking presence of interfaces. 👍

@rx-tx
Copy link
Author

rx-tx commented Aug 2, 2018

Just for information: Working configuration at the moment:
OPNsense 18.1.13_1-amd64 + os-igmp-proxy 1.3_1 (with opnsense-revert -r 18.1.2 igmpproxy)

@ljpaff
Copy link

ljpaff commented Aug 2, 2018

@thomasnilsen Did the patch worked in your machine? Could you give me feedback please?

@fichtner There is a rollback in config.c, Please take care about it. If you are doing packages, please make another one with the change.

@thomasnilsen
Copy link

@ljpaff I found that pkg add -f https://pkg.opnsense.org/FreeBSD:11:amd64/18.1/MINT/18.1.2/OpenSSL/All/igmpproxy-0.1_2,1.txz worked for me. I had one issue with the VLAN I get multicast on did not have a IP set on the interface. Therefore igmpproxy did not want to start. I fixed that with a dummy ip address.

Things seemed fine to me when I fixed this, but I was unable due to lack of time to fully test this..

@nivek1612
Copy link

Note I have the same issue but I'm not using a pppoe interface. I'm a VLAN Tagged interface to Orange France for their IPTV service, the connection is established over VLAN 838 PCP 4 using DHCP. So I believe this isn't just PPPOE related. Regressing to v1.2 of IGMProxy and all is well

@fichtner
Copy link
Member

@nivek1612
Copy link

I'm not back in France at the minute and dont want to try over VPN just in case I break something :-) so let me ask one of the other guys to try

@fichtner
Copy link
Member

fichtner commented Sep 16, 2018

no worries. I'll push this update in 18.7.3. I've harmlessly bumped MAX_IF from 40 to 100 to see if that makes a difference. I don't understand the upstream patch and this seemed the only thing that would imply a difference in parsing...

@nivek1612
Copy link

nivek1612 commented Sep 17, 2018

For what its worth I have just set up this version of IGMPproxy

https://pkg.opnsense.org/FreeBSD:11:amd64/snapshots/igmpproxy-0.2.1_1,1.txz

on my UK system which uses PPPOE and I can now start the IGMPproxy service where as before I could not. I cant fully test it as I dont have access to the Orange IPTV service here in the UK

@fichtner
Copy link
Member

@nivek1612 ok... so far so good. Due to a mistake on my side this update won't make the 18.7.3 cut, but that also gives time for others to comment. I also published the CFT in the relevant forum thread. :)

@fichtner
Copy link
Member

Due to a build mixup the proposed fix did not make it into 18.7.3 but will be included in 18.7.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream Third party issue
Development

No branches or pull requests

6 participants