Opened 5 years ago

Closed 3 years ago

Last modified 18 months ago

#12316 closed Bug Report - General (fixed)

Frontend tries to setup Multicast Socket on IPv4 but not IPv6 on IPv6-only host.

Reported by: werner@… Owned by: Peter Bennett
Priority: minor Milestone: unknown
Component: MythTV - UPnP Version: 0.27.4
Severity: medium Keywords:
Cc: Ticket locked: no

Description

While trying to get an additional frontend running on my network, I saw these loglines:

Listening on TCP 127.0.0.1:6547 2014-11-04 15:56:35.913764 I Listening on TCP [::1]:6547 2014-11-04 15:56:35.913823 I Listening on TCP [fe80::a60:6eff:fe44:90f9%eth0]:6547 2014-11-04 15:56:35.914118 E MMulticastSocketDevice(239.255.255.250:46): setsockopt - IP_ADD_MEMBERSHIP

eno: Kein passendes Gerät gefunden (19)

2014-11-04 15:56:35.914216 E MMulticastSocketDevice(239.255.255.250:48): setsockopt - IP_ADD_MEMBERSHIP

eno: Kein passendes Gerät gefunden (19)

2014-11-04 15:56:35.914296 I SSDP::PerformSearch? - did not write entire buffer. 2014-11-04 15:56:35.914395 E MMulticastSocketDevice(239.255.255.250:50): setsockopt - IP_ADD_MEMBERSHIP

eno: Kein passendes Gerät gefunden (19)

It fails, no wonder, except lo there is no IPv4 Interface on this machine. But it doesn't even try to open an multicast socket on IPv6

Change History (4)

comment:1 Changed 5 years ago by Raymond Wagner

Component: MythTV - GeneralMythTV - UPnP
Owner: set to dblain

239.255.255.250 is the IPv4 address used for UPnP discovery, which MythTV uses for auto-discovery of the backend, and streaming content to UPnP clients. While this is something that will need to be fixed, at the moment, the only issue likely to happen is that auto-discovery won't work. The number of hardware UPnP clients that support IPv6 can probably be counted on one hand, if any exist at all.

comment:2 Changed 3 years ago by Peter Bennett

Owner: changed from dblain to Peter Bennett
Status: newassigned

comment:3 Changed 3 years ago by Peter Bennett <pbennett@…>

Resolution: fixed
Status: assignedclosed

In 79844ba0d7c834f6760f745a84f2ce3b4a93e1ac/mythtv:

Add IPv6 UPNP support

This adds some UPNP support for IPV6 only setups. The frontend
auto-discovery now works through IPv6. I cannot get Windows media
center to see MythTV through IPV6, perhaps IPv6 is not supported
by Windows Media Center in this way.

There are now some extra settings available. Setting IPv4Support to 0
disables IPv4 listening and setting IPv6Support to 0 disables IPv6
listening.

Fixes #12316

comment:4 Changed 18 months ago by Peter Bennett

Owner: changed from Peter Bennett to Peter Bennett
Note: See TracTickets for help on using tickets.