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