[Bug 215545] net/mDNSResponder mdnsd doesn't bind to second interface
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Dec 25 14:07:45 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215545
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 at FreeBSD.org
Reporter: kika at kikap.com
Assignee: sunpoet at FreeBSD.org
Flags: maintainer-feedback?(sunpoet at FreeBSD.org)
Created attachment 178258
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=178258&action=edit
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.
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 the
same port on multiple interfaces.
Suggested patch was made against latest Apple upstream version
"mDNSResponder-765.20.4"
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list