1# 2# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 3# Use is subject to license terms. 4# 5# CDDL HEADER START 6# 7# The contents of this file are subject to the terms of the 8# Common Development and Distribution License (the "License"). 9# You may not use this file except in compliance with the License. 10# 11# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 12# or http://www.opensolaris.org/os/licensing. 13# See the License for the specific language governing permissions 14# and limitations under the License. 15# 16# When distributing Covered Code, include this CDDL HEADER in each 17# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 18# If applicable, add the following below this CDDL HEADER, with the 19# fields enclosed by brackets "[]" replaced with your own identifying 20# information: Portions Copyright [yyyy] [name of copyright owner] 21# 22# CDDL HEADER END 23# 24 25The mdns vendor source repository is at https://github.com/illumos/mdns/. 26 27Updated from upstream version mDNSResponder-878.260.1 28Updated from upstream version mDNSResponder-878.1.1 29Updated from upstream version mDNSResponder-625.41.2 30Updated from upstream version mDNSResponder-576.30.4 31 32Multicast DNS and Service Discovery support in Solaris using the 33Apple Bonjour source code (v107.6). Apple Bonjour source can be 34downloaded from: 35 http://developer.apple.com/networking/bonjour/download/ 36The following components are integrated from the Apple Bonjour 37source in Solaris: 38 libdns_sd: usr/src/lib/libdns_sd <dns_sd.h> 39 mdnsd: usr/src/cmd/cmd-inet/usr.lib/mdnsd 40 dns-sd: usr/src/cmd/cmd-inet/usr.bin/dns-sd 41 42Following fixes have been made to the Apple Bonjour source 43integrated in Solaris: 44* 64-bit support by adding pad bytes in ipc_msg_hdr_struct 45* 64-bit support in libjdns_sd, dnssd.jar (JNISupport.c, DNSSD.java) 46* mdnsd switches to user 'noaccess' and not 'nobody' after init 47* Fixes to support IPv6 (mDNSPosix.c, mDNSUNP.c) 48* Fix error raised when uDNS.c is compiled with Sun Studio compiler 49* Fix in dnssd_clientstub.c to not check errno when recvmsg returns 0 50* mDNSDebug.c modified to not send msgs directly to console when 51 syslog call returns an error. Logs the messages at LOG_INFO level 52 and not LOG_ERR 53 54In addition the project introduces the following changes: 55* A new nss_mdns module is introduced to use Multicast DNS (mdns) 56 for resolving link-local hostnames and is located at: 57 usr/src/lib/nsswitch/mdns 58* snoop updated to decode mDNS packets 59* updated /etc/services to include mdns 60* <netinet/in.h> updated to include mdns 61* svc:/network/dns/multicast:default introduced to manage mDNS daemon 62* solaris.smf.manage.mdns & solaris.smf.value.mdns authorizations 63 to modify nss_mdns configuration in svc:/network/dns/multicast:default 64 Both authorizations added in network management execution profile. 65* Default nsswitch.dns includes mdns as source for hosts & ipnodes 66* nscd daemon updated to support mdns 67* SUNWdsdu and SUNWdsdr packages deliver all the new mDNS 68 service discovery components. 69