braice / MuMuDVB

A DVB IPTV streaming software
http://mumudvb.braice.net/
GNU General Public License v2.0
219 stars 133 forks source link

HTTP unicast not supporting IPv6 #231

Closed DaAllexx closed 2 years ago

DaAllexx commented 6 years ago

Unfortunately, HTTP unicast streaming does not support IPv6. The ip_http directive currently only accepts ipv4 addresses, what makes ipv6 only deployments impossible. Is it possible to support ipv6 with unicast as well? for example:

# equivalent to 0.0.0.0 for ipv4
ip_http=::

# full ipv6 address
ip_http=2001:DB8:1337:42::1
braice commented 5 years ago

Hello

When I looked into it a while ago, the dual stack ipv6/ipv4 under linux was kind of annoying to do. Usually MuMuDVB is in a private network so not a lot of people asked for ipv6

If you have any advise on how to implement I will be glad to review and include

Brice

Le sam. 3 nov. 2018 à 18:21, Alexander Beck notifications@github.com a écrit :

Unfortunately, HTTP unicast streaming does not support IPv6. The ip_http directive currently only accepts ipv4 addresses, what makes ipv6 only deployments impossible. Is it possible to support ipv6 with unicast as well? for example:

equivalent to 0.0.0.0 for ipv4

ip_http=::

full ipv6 address

ip_http=2001:DB8:1337:42::1

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/braice/MuMuDVB/issues/231, or mute the thread https://github.com/notifications/unsubscribe-auth/AAUUDwTyoZKmfXGsgISg_9V9EIrtuvQlks5urhblgaJpZM4YNB3_ .

trollcop commented 2 years ago

I've implemented this in my fork, here: https://github.com/trollcop/MuMuDVB/commit/3fe7a9cc1eed21119b2a2387f7ef171f7bf5c038 It should be easy to merge once PR #290 is merged. The changes are minimal.

trollcop commented 2 years ago

ipv6 http unicast has been merged to master, and I've done some testing using public ipv6 addresses. seems to work.

@DaAllexx wanna try it out and see?

DaAllexx commented 2 years ago

I just tried it and it works as expected. Thank you!