Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Linux mDNSResponder on two interfaces



Hello Rendezvous list:

We are still having difficulties running Apple's Posix mDNSResponder
on a small embedded Linux box with two interfaces. We are now using
the latest version from CVS and still it does not work on the second
interface. The box has both wired (eth0) and wireless (eth1) interfaces.
It is advertising an http service and an ssh service. It works great on the
wired interface eth0. I can watch the Rendezvous bookmark appear in
Safari. But the same does not happen on the wireless interface eth1.
Currently, eth0 is connected into a managed network with DHCP server,
and eth1 initializes to a link-local address. The network itself seems OK
as I can surf to it wirelessly using an IP number. Both interfaces are
being registered, see log below. The log reports some ignored packets
from both interfaces but I'm not sure this is significant. I've dug into
the code but have not found a "smoking gun". Interestingly enough,
occasionally, the Rendezvous bookmark will appear, usually with some
delay, but I can never surf to it. I get no response from the browser.
Could the problem be a routing issue internal to the Linux box?
Any help is greatly appreciated.
Richard


***** Verbose log **********
root@M90:/usr/local/source/mDNSResponder/mDNSPosix# build/mDNSResponderPosix -f /usr/local/Services.txt -v2
mDNSResponderPosix: Starting in foreground mode, PID 905
SetupInterfaceList
mDNS_RegisterInterface: InterfaceID 08064DF0 10.0.2.16 not represented in list; marking active and retriggering queries
Adding 08064E00 M90.local. (Addr) to active record list
Adding 080650AC 16.2.0.10.in-addr.arpa. (PTR) to active record list
Not creating HINFO record: platform support layer provided no information
SetupOneInterface: eth0 10.0.2.16 Registered
Registered interface eth0
mDNS_RegisterInterface: InterfaceID 08065CD8 169.254.207.113 not represented in list; marking active and retriggering queries
Adding 08065CE8 M90.local. (Addr) to active record list
Adding 08065F94 113.207.254.169.in-addr.arpa. (PTR) to active record list
Not creating HINFO record: platform support layer provided no information
SetupOneInterface: eth1 169.254.207.113 Registered
Registered interface eth1
Adding 08066B98 M90._http._tcp.local. (SRV) to active record list
Adding 08066E44 M90._http._tcp.local. (TXT) to active record list
Adding 08066640 _services._mdns._udp.local. (PTR) to active record list
Adding 080668EC _http._tcp.local. (PTR) to active record list
mDNSResponderPosix: Registered service 0, name 'M90', type '_http._tcp.', port 80
Adding 08067770 M90._ssh._tcp.local. (SRV) to active record list
Adding 08067A1C M90._ssh._tcp.local. (TXT) to active record list
Adding 08067218 _services._mdns._udp.local. (PTR) to active record list
Adding 080674C4 _ssh._tcp.local. (PTR) to active record list
mDNSResponderPosix: Registered service 1, name 'M90', type '_ssh._tcp.', port 22
mDNS_Execute
select(5, 0.245117)
mDNS_Execute
SendQueries: Put Question M90.local. (Addr) probecount 2
SendQueries: Put Question M90._http._tcp.local. (SRV) probecount 2
SendQueries: Put Question M90._ssh._tcp.local. (SRV) probecount 2
SendQueries: Sending 3 Questions 0 Answers 3 Updates on 08064DF0
SendQueries: Put Question M90.local. (Addr) probecount 2
SendQueries: Put Question M90._http._tcp.local. (SRV) probecount 2
SendQueries: Put Question M90._ssh._tcp.local. (SRV) probecount 2
SendQueries: Sending 3 Questions 0 Answers 3 Updates on 08065CD8
select(5, 0.098632)
SocketDataReady got a packet from 10.0.2.16 to 224.0.0.251 on interface 10.0.2.16/eth0/2
Received Query from 10.0.2.16 :5353 to 224.0.0.251 :5353 on 0x08064DF0 with 3 Questions, 0 Answers, 3 Authorities, 0 Additionals
SocketDataReady ignored a packet from 10.0.2.16 to 224.0.0.251 on interface /2 expecting 169.254.207.113/eth1/3
select(5, 0.097656)
SocketDataReady ignored a packet from 169.254.207.113 to 224.0.0.251 on interface /3 expecting 10.0.2.16/eth0/2
SocketDataReady got a packet from 169.254.207.113 to 224.0.0.251 on interface 169.254.207.113/eth1/3
Received Query from 169.254.207.113:5353 to 224.0.0.251 :5353 on 0x08065CD8 with 3 Questions, 0 Answers, 3 Authorities, 0 Additionals
select(5, 0.096679)
mDNS_Execute
select(5, 0.149414)
mDNS_Execute
SendQueries: Put Question M90.local. (Addr) probecount 1
SendQueries: Put Question M90._http._tcp.local. (SRV) probecount 1
SendQueries: Put Question M90._ssh._tcp.local. (SRV) probecount 1
SendQueries: Sending 3 Questions 0 Answers 3 Updates on 08064DF0
SendQueries: Put Question M90.local. (Addr) probecount 1
SendQueries: Put Question M90._http._tcp.local. (SRV) probecount 1
SendQueries: Put Question M90._ssh._tcp.local. (SRV) probecount 1
SendQueries: Sending 3 Questions 0 Answers 3 Updates on 08065CD8
select(5, 0.098632)
SocketDataReady got a packet from 10.0.2.16 to 224.0.0.251 on interface 10.0.2.16/eth0/2
Received Query from 10.0.2.16 :5353 to 224.0.0.251 :5353 on 0x08064DF0 with 3 Questions, 0 Answers, 3 Authorities, 0 Additionals
SocketDataReady ignored a packet from 10.0.2.16 to 224.0.0.251 on interface /2 expecting 169.254.207.113/eth1/3
select(5, 0.097656)
SocketDataReady ignored a packet from 169.254.207.113 to 224.0.0.251 on interface /3 expecting 10.0.2.16/eth0/2
SocketDataReady got a packet from 169.254.207.113 to 224.0.0.251 on interface 169.254.207.113/eth1/3
Received Query from 169.254.207.113:5353 to 224.0.0.251 :5353 on 0x08065CD8 with 3 Questions, 0 Answers, 3 Authorities, 0 Additionals
select(5, 0.096679)
mDNS_Execute
...
___________________
Richard Mueller
Digital Techniques, Inc.
262-860-1000
www.dtech.com
_______________________________________________
rendezvous mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/rendezvous
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.