[Bug 226884] net/minidlna setsockopt with interface index breaks sending of IGMP membership report

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Mar 23 22:50:05 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226884

            Bug ID: 226884
           Summary: net/minidlna setsockopt with interface index breaks
                    sending of IGMP membership report
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet at FreeBSD.org
          Reporter: ascherrer+fbdb at gmail.com
             Flags: maintainer-feedback?(sunpoet at FreeBSD.org)
          Assignee: sunpoet at FreeBSD.org

Created attachment 191763
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=191763&action=edit
very crude patch

Overview:

When MiniDLNA receives a "M-SEARCH" message an IGMP membership report message
is triggered. This message follows the default route instead of being sent out
on the interface MiniDLNA is listening on.

Steps to Reproduce:

1) Configure MiniDLNA to listen on an interface that does not have the default
route (and no route for 224.0.0.22) and start it.

2) After MiniDLNA is running, fire up a DLNA client (e.g. VLC)

Actual Results:

The client (VLC) does not discover the MiniDLNA server (immediately)

Expected Results: 

The client (VLC) should discover the MiniDLNA server (immediately)

Build Date & Hardware:

MiniDLNA 1.2.1, FreeBSD 11.1-RELEASE

Additional Information:

"Prior to FreeBSD 7.0, if the imr_interface member is within the network range
0.0.0.0/8, it is treated as an interface index in the system interface MIB, as
per the RIP Version 2 MIB Extension (RFC-1724). In versions of FreeBSD since
7.0, this behavior is no longer supported."
https://www.freebsd.org/cgi/man.cgi?query=ip&apropos=0&sektion=4&manpath=FreeBSD+11.1-RELEASE&arch=default&format=html

https://forums.freebsd.org/threads/minidlna-not-discovered-multicast-issue.64947/
http://docs.freebsd.org/cgi/mid.cgi?f85a4da6-a06f-e045-36e0-2d82c67e8239

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list