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

IGMP proxying setup for tv7 #33

Open
stapelberg opened this issue Jul 14, 2019 · 0 comments
Open

IGMP proxying setup for tv7 #33

stapelberg opened this issue Jul 14, 2019 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@stapelberg
Copy link
Contributor

stapelberg commented Jul 14, 2019

Out of curiosity, I figured I’d see what would be necessary to make tv7 work with router7.

Running a statically compiled igmpproxy 0.2.1 via breakglass with the following config:

phyint uplink0 upstream altnet 77.109.129.0/25
phyint lan0 downstream

…results in a working SRF1 stream:

% curl https://api.init7.net/tvchannels.xspf
% vlc udp://@239.77.0.77:5000

With regards to what we’d need to do:

  • listen to IGMP packets
  • when a client joins an IGMP group, make the router join it
  • install a multicast route (see linux/mroute.h for the API) to tell the kernel to forward multicast packets from uplink0 to lan0 for the specific IGMP group
  • looks like the mroute API needs to be added to x/sys/unix first

https://haefelfinger.ch/posts/2018/2018-10-31-fiber7-tv7-with-plex-media-server/ looks like it might contain some additional pointers.

This all seems feasible, but since I don’t consume TV, I don’t have a lot of motivation to get this done. Help welcome.

@stapelberg stapelberg added enhancement New feature or request help wanted Extra attention is needed labels Jul 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant