pcherenkov / udpxy

lightweight network-traffic relay daemon
229 stars 105 forks source link

udpxy with igmpproxy #19

Open maximushugus opened 4 years ago

maximushugus commented 4 years ago

Hello and thanks for your work.

I have a problem with udpxy running on my OpenWrt router : I have a multicast stream provided by my ISP : I get this stream on my LAN with IGMPproxy on my router (i have IGMPsnooping enabled on my entire lan).

But I would like to add udpxy to convert multicast to unicast when I need (through my home VPN per exemple).

So udpxy is configured with sources as my LAN router IP but I have a problem : If the multicast stream is active on the lan (on another machine for exemple), udpxy works and I can get the unicast stream of this multicast from udpxy. But if this multicast stream is not active, udpxy can't access this stream. Also if I stop the multicast stream in all my machines on my LAN, the unicast stream from udpxy stops after about 10 seconds.

It looks as if udpxy can't make the subscription to multicast.

Do you know why it doesn't work the way I want ?

Thanks

pcherenkov commented 4 years ago

Hi there,

It's most likely a faulty configuration of multicast on your network.

udpxy uses standard POSIX API to subscribe to multicast, nothing tricky there that could/should be tweaked.

Regards, -pavel

Le mar. 5 mai 2020 à 20:52, maximushugus notifications@github.com a écrit :

Hello and thanks for your work.

I have a problem with udpxy running on my OpenWrt router : I have a multicast stream provided by my ISP : I get this stream on my LAN with IGMPproxy on my router (i have IGMPscooping enable on my entire lan).

But I would like to add udpxy to convert multicast to unicast when I need (through my home VPN per exemple).

So udpxy is configure with sources as my LAN router IP but I have a problem : If the multicast stream is active on the lan (on another machine for exemple), udpxy works and I can get the unicast stream of this multicast. But if this multicast stream is not active, udpxy can't access this stream. Also if I stop the multicast stream in all my machines on my LAN, the unicast stream from udpxy stops after about 10 seconds.

It looks as if udpxy can't make the subscription to multicast.

Do you know why it doesn't work the way I want ?

Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pcherenkov/udpxy/issues/19, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJWWSYNPPTFXVCJVJHZLHLRQBG7VANCNFSM4MZY5YCQ .

maximushugus commented 4 years ago

Thanks for your answer. I will try to find the problem in my network configuration. If I find, I will post the solution here