Apple Remote Desktop Admin Can't Reconnect to client on IPv6 Enabled Network

Originator:justindelliott
Number:rdar://7163059 Date Originated:8/22/2009
Status:Open Resolved:
Product:Apple Remote Desktop Admin Product Version:3.3 (451.15)
Classification:Serious Bug Reproducible:Always
 
22-Aug-2009 03:03 PM Justin Elliott:
Summary:

When on an IPv6 enabled network, Apple Remote Desktop 3.3 (451.15) can't reconnect to a client that is running the ARD client version 3.3.1 once ARD has been relaunched.

Steps to Reproduce:

1. Get on an IPv6 enabled network - where the host Mac running ARD Admin and the client to connect to has valid IPv6 addresses.
2. Enable Remote Management on the client.
3. Add the client to a computer list with it's IPv4 address (ie, 192.168.1.74).
4. Double click to control or observe the client, and it works fine.
5. Quit out of ARD Admin.
6. Relaunch ARD Admin, double click the entry for the client, and ARD will display an error: "Connection Failed to 'Elliott Mac'.
7. Open the /var/log/system.log file to see interesting errors when ARD was first launched:

Aug 22 14:22:31 jde6MacBookPro Remote Desktop[402]: [IPMIInterface initWithDescriptor] Could not convert '::' to an IP address
Aug 22 14:22:31 jde6MacBookPro Remote Desktop[402]: [Computer initWithDescriptor] CFStringToIPv6Address failed to convert string [::] to an IP address.
Aug 22 14:22:31: --- last message repeated 104 times ---

8. Later attempts to launch Apple Remote Desktop just does not work - it never completes launch, becomes unresponsive, and I have to force quit it.

9. The only thing that allows me to reconnect to the client is to either delete the entry for it in the Computer list and re-add it for that session, OR disable IPv6 on the client and then I can connect to it every time, relaunch of ARD and everything.

Expected Results:

I should be able to reconnect to the client after relaunching ARD Admin and keeping IPv6 enabled on the client.

Actual Results:

ARD Admin can connect the first time to a 10.5.8 client, with ARD 3.3.1 client enabled, IPv6 enabled, but after relaunching ARD, it can't and then subsequent launches of ARD never launch fully and have to be force quit.

Regression:

The previous version of ARD Admin worked fine.

Notes:

Here's the full email thread that I posted to the MacEnterprise email list:

The drama continues ...

Turned off IPv6, rebooted, and ARD now launches completely, but still reports the same can't convert '::' to IP address in the system log.

If I add a new client, which has the newest ARD client, and IPv6 also enable, as long as I don't quit out of ARD I can connect to the client, no problem.

As soon as I quit ARD, and then relaunch it, ARD can't connect to the client and reports the usual "Connection Failed to MacName"...

The only thing that allows me to reconnect to the client is to either delete the entry for it in the Computer list and re-add it for that session, OR disable IPv6 on the client and then I can connect to it every time, relaunch of ARD and everything.

Smells like a bug to me.

Can anyone else confirm this? Note that in order for this to happen you'll need to be on an IPv6 enabled network with an IPv6 savvy router and IPv6 enabled on the client and admin you're at.

- Justin

-- 
Justin Elliott                       Penn State University
Manager, Macintosh & Linux Systems   Information Technology Services
jde6@psu.edu                         TLT/Classroom and Lab Computing


On Aug 22, 2009, at 2:30 PM, Justin Elliott wrote:

Hello everyone -

Anyone else having issue with the newest release of Apple Remote Desktop Admin version 3.3 (451.15) never fully starting up and reporting a lot of issues when parsing IPv6 addresses in the system.log? I have to force quit ARD. This is occurring on my home network where I have IPv6 enabled and my router is an Apple Airport Extreme handing out the IPv6 addresses.

Here's the relevant system.log section:

Aug 22 14:22:31 jde6MacBookPro Remote Desktop[402]: [IPMIInterface initWithDescriptor] Could not convert '::' to an IP address
Aug 22 14:22:31 jde6MacBookPro Remote Desktop[402]: [Computer initWithDescriptor] CFStringToIPv6Address failed to convert string [::] to an IP address.
Aug 22 14:22:31: --- last message repeated 104 times ---

The Mac I'm connecting from:

	inet6 fe80::226:4aff:fe00:46%en0 prefixlen 64 scopeid 0x4
	inet6 2002:473a:6ec6::226:4aff:fe00:46 prefixlen 64 autoconf
	inet 128.118.108.83 netmask 0xffffffc0 broadcast 128.118.108.127
	inet 192.168.1.100 netmask 0xffffff00 broadcast 192.168.1.255

I've turned off IPv6 also on my network interface, relaunch ARD Admin, and same problem.

Idears, anyone? ;-)

Thanks!

- Justin

-- 
Justin Elliott                       Penn State University
Manager, Macintosh & Linux Systems   Information Technology Services
jde6@psu.edu                         TLT/Classroom and Lab Computing

_____________________________________________________
MacEnterprise, Inc
http://www.macenterprise.org

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!