Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Dec 2016 14:07:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 215545] net/mDNSResponder mdnsd doesn't bind to second interface
Message-ID:  <bug-215545-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215545

            Bug ID: 215545
           Summary: net/mDNSResponder mdnsd doesn't bind to second
                    interface
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: kika@kikap.com
          Assignee: sunpoet@FreeBSD.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)

Created attachment 178258
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D178258&action=
=3Dedit
disable SO_REUSEADDR for FreeBSD and enable SO_REUSEPORT instead

I have a dual-homed machine which advertises mDNS resources to only one
network. After running the mdnsd in debug mode I discovered that it reports
"bind: address already in use" when trying to bind to the second interface.=
=20
It appears that on FreeBSD using SO_REUSEADDR is not enough and one needs to
use SO_REUSEPORT to successfully receive unicast and multicast packets on t=
he
same port on multiple interfaces.

Suggested patch was made against latest Apple upstream version
"mDNSResponder-765.20.4"

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215545-13>