I have added a patch to use /proc filesystem to get ifi_info with linux
systems. It now allows IPv6 to be populated to mDNSCore. Also, when you
start up mDNS apps, you can see mulitcast traffic destined for both
224.0.0.251 and ff02::fb (which did not happen before). Also,
mDNSIdentify now shows IPv6 AAAA Address records for hosts that are
being polled.
But, it seems like to browse for services, there needs to be an IPv4
address present on an interface. When I remove IPv4 address from an
interface, just leaving an IPv6 address, dns-sd -B browser doesn't see
services even though I can see traffic destined to ff02::fb. When I add
IPv4 address, services come up.
I am still introducing myself to the code and getting an understanding
of how it is designed. If you have any idea where to look to fix this,
I'd appreciate it.
Thanks
PS: I will post that patch after I have time to clean it up.
On Feb 16, 2005, at 3:20 PM, Marc Krochmal wrote:
Hi Leonid,
On Feb 16, 2005, at 7:39 AM, Leonid Veytser wrote:
It seems like the current mDNSReponder code does not support IPv6 for
linux. Are there any plans to support it in the future?
We already have a bug about IPv6 support in Linux. We'd be willing to
take any fixes from the community. Here's the bug as reported by one
of our developers...
In mDNSUNP.c, the function get_ifi_info attempts to use
ioctl(sockfd, SIOCGIFCONF, &ifc) to acquire information about the
interfaces, including the IP address. However, at least on Linux,
this will only return IPv4 addresses. This means that the mDNS core
never gets populated with an IPv6 address and so no activity takes
place over IPv6. I think once this function is changed to another
method, the IPv6 portion of the mDNS implementation should begin
working for Linux although I have not had time to implement
something myself. Possible alternatives to SIOCGIFONF include using
the rtnetlink Kernel interface or reading from the proc file system.
Best Regards,
-Marc
Leonid Veytser
MIT Lincoln Laboratory
Advanced Networking and Applications Group
(781)981-1395
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Rendezvous-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden