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.1.1 28Updated from upstream version mDNSResponder-625.41.2 29Updated from upstream version mDNSResponder-576.30.4 30 31Multicast DNS and Service Discovery support in Solaris using the 32Apple Bonjour source code (v107.6). Apple Bonjour source can be 33downloaded from: 34 http://developer.apple.com/networking/bonjour/download/ 35The following components are integrated from the Apple Bonjour 36source in Solaris: 37 libdns_sd: usr/src/lib/libdns_sd <dns_sd.h> 38 mdnsd: usr/src/cmd/cmd-inet/usr.lib/mdnsd 39 dns-sd: usr/src/cmd/cmd-inet/usr.bin/dns-sd 40 41Following fixes have been made to the Apple Bonjour source 42integrated in Solaris: 43* 64-bit support by adding pad bytes in ipc_msg_hdr_struct 44* 64-bit support in libjdns_sd, dnssd.jar (JNISupport.c, DNSSD.java) 45* mdnsd switches to user 'noaccess' and not 'nobody' after init 46* Fixes to support IPv6 (mDNSPosix.c, mDNSUNP.c) 47* Fix error raised when uDNS.c is compiled with Sun Studio compiler 48* Fix in dnssd_clientstub.c to not check errno when recvmsg returns 0 49* mDNSDebug.c modified to not send msgs directly to console when 50 syslog call returns an error. Logs the messages at LOG_INFO level 51 and not LOG_ERR 52 53In addition the project introduces the following changes: 54* A new nss_mdns module is introduced to use Multicast DNS (mdns) 55 for resolving link-local hostnames and is located at: 56 usr/src/lib/nsswitch/mdns 57* snoop updated to decode mDNS packets 58* updated /etc/services to include mdns 59* <netinet/in.h> updated to include mdns 60* svc:/network/dns/multicast:default introduced to manage mDNS daemon 61* solaris.smf.manage.mdns & solaris.smf.value.mdns authorizations 62 to modify nss_mdns configuration in svc:/network/dns/multicast:default 63 Both authorizations added in network management execution profile. 64* Default nsswitch.dns includes mdns as source for hosts & ipnodes 65* nscd daemon updated to support mdns 66* SUNWdsdu and SUNWdsdr packages deliver all the new mDNS 67 service discovery components. 68