mDNS error

I just noticed that every time i start iChat, and not even logging in, there is a mDNS error in the system.log:

Aug 26 22:12:54 MacBook-Pro mDNSResponder[21]: Failed to obtain NAT port mapping 0080BA5C from router 192.168.1.254 external address 0.0.0.0 internal port 16402 error 0

It seems that iChat is trying to get the public address of the router, but gets none. Dumping the internal state of mDNSResponder to system.log shows thats mDNSResponder has no public IP of the router:

Aug 26 21:53:51 MacBook-Pro Unknown[21]: -------- NAT Traversals --------
Aug 26 21:53:51 MacBook-Pro Unknown[21]: 0080BA5C UDP Int 16402 Ext 0 Err 0 Retry 13 Interval 128 Expire 0

Is this a bad sign, or can I just ignore it? Or will iChat better connect if it was not there?

Mac Pro, Mac OS X (10.5.4), Speedtouch ST780 uPnP enabled

Posted on Aug 26, 2008 1:39 PM

Reply
11 replies

Sep 7, 2008 5:14 AM in response to Ralph-Johns-UK

I have switchoff bonjour in iChat.

iChat uses mDNS and uPnP. The speedtouch doesnot respond to either. mDNS because it is an Apple protocol not supported by Speedtouch. uPnP is switched on but so far I have not seen any response in the logfile of the speedtouch nor in the network trace using tcpdump. I used http://discussions.apple.com/thread.jspa?messageID=7445630&#7445630 to dig into uPnP problem and think it is because the speedtouch does not have object "WANIPConnection"

*mDNS logs*:
iChat log shows 131032.787449 Creating a port mapping from 54138 to 16402...
tcpdump shows 13:10:32.787974 IP 192.168.1.151.5353 > 192.168.1.254. 5351: 1 54138 a 16402 q 3600au|domain
systemlog shows Sep 7 13:10:36 MacBook-Pro mDNSResponder[23]: Failed to obtain NAT port mapping 0080B45C from router 192.168.1.254 external address 0.0.0.0 internal port 1 6402 error 0
etc/services shows nat-pmp 5351 /udp # NAT Port Mapping Protocol
etc/services shows mdns 5353 /udp # Multicast DNS

man page shows mDNSResponder listens UDP port 5353

*upnp logs:*
tcpdump shows 13:10:32.788036 IP 192.168.1.151.49192 > 192.168.1.254. 1900 : UDP, length 128
etc/services shows ssdp 1900 /udp # SSDP

the uPnP call in more detail shows:
13:57:10.747770 IP 192.168.1.151.49278 > 192.168.1.254. 1900: UDP, length 128
E...`................~.l....M-SEARCH * HTTP/1.1
Host:239.255.255.250:1900
ST:urn:schemas-upnp-org:service: WANIPConnection:1
Man:"ssdp:discover"
MX:3

Sep 10, 2008 1:26 PM in response to caredes255

The List (as it is) http://support.apple.com/kb/HT1787?viewlocale=en_US
Has not been updated in some while (the date is only about the new numbering system). Does not specify Cable or ADSL and as far as th Airports go it lists Routers rather than Modems.

This site http://portforward.com/routers.htm
Relies on a mixture of User Feedback about the ports an application might use and then they transpose that up and across all the devices that they know about.

The Port Forward site does not have the info about tweaks to make certain devices work such as not using UPnP on that D-Link listed in the Apple Article.
They do specify the info on how to Port Forward obviously but do not comment on other options that might be easier.

As the SIP Binding issue that Thomson-Alcatels have effects very few devices (Some Draytreks also have it) it is not even mentioned.

The Second white text box here tell you how to Undo the Binding
http://www.ralphjohns.co.uk/page4a.html#_text
However it is known that it is not that efficient in version 5 firmware and above. (It does not fully Unbind and adds little to your success rate)

The Binding gives what looks like intermittent type results.
On a Buddy list of 50 you get a 10:10:30 split
10 successful every time in Video chats
10 Now and then Buddies
30 Never successful.
The Unbinding might give you 15:10:25

This is a set of Pics for the Speedtouch 510v4 at version 4 firmware.
At Version 4 the Binding could be Undone fully. As I had one I know and hence the page on my Web Site. (the 510V4 cannot Port Forward/NAPT the 29 ports for iChat so the page is for AIMTalk which is one port)

This link is to the Apple Discussion at ADSLGuide in Britain
Defcom put me on to them and I found them very useful and knowledgeable about the latest firmware and state of affairs. Someone there may have more current Info. (Bosie is the guy to look for on Thomson-Alcatels).

The SIP Binding has been on Thomson-Alcatels since at least version 3.9 firmware.
It was probably added to save people having to set up the SIP Ports when adding an IP Phone.

Since that time (about 8 years ago) all manufacturers have added all sorts of features to make Routers and modems more user friendly and More "Secure" and Protective. It is these features such as DoS and SPI protection and WAN Ping blocking that you need to workaround when setting up for iChat.

There is one exception to the Thomson-Alcatel range.
The BTHOMEHUB that has had the Binding removed completely in later firmware.
It is unclear if BT are now writing the firmware themselves.
(BT = British Telecom and is the Brand name if you are outside Britain).

Hope this helps.

User uploaded file

9:26 PM Wednesday; September 10, 2008

Sep 16, 2008 3:07 PM in response to caredes255

Did not not read all of that thread.

I know that My 510v4 was using PPPoA and UPnP successfully once I had done the SIP Unbinding

I know that PPPoE connections tend to have all the ports open and do not use the the same methods for broadcasting service, as your other post says.

Most British ISPs don't advertise their PPPoE Login even if they have one - most use PPPoA so UPnP should work.

However it is the SIP Binding that is the issue for iChat.

A similar issue tends to happen if you have a SIP.VoIP device like a Vonage adpater in-line between computer and modem.
Placing it on it's own Ethernet port on a router (or modem with more than one Ethernet port) helps/solves the issue.

User uploaded file

11:07 PM Tuesday; September 16, 2008

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

mDNS error

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.