• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
dns_sd and double nat
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

dns_sd and double nat


  • Subject: dns_sd and double nat
  • From: Curtis Jones <email@hidden>
  • Date: Tue, 27 Dec 2011 15:31:30 -0500

I've been researching this issue for a while and can't find a solution - I'm hoping someone here can help, or at least confirm my fate.

I need to perform port mapping (UPnP / NAT-PMP) from within a Cocoa application. I've found several open source libraries in addition to dns_sd that can accomplish this.

At the moment I'm not able to use dns_sd because it complains in double-nat'ed environments. I don't expect it to perform port mapping on the "outer" of the two NAT's; only the "closer" one; the default gateway. But because it detects the double-nat, it refuses to proceed. I'd really like to be able to tell it that I understand it's objections, but I'd really like it to proceed anyway.

I dug into the Bonjour source code and found the offending line of code, but unless I misunderstood, it looks nothing short of replacing mDNSResponder with a new build would resolve the issue - which isn't an acceptable course of action for me.

Is there any way to make Bonjour ignore its double-nat objections?

Left field here: would it be crazy to include an mDNSResponder build with the application? Can multiple instances run without bothering each other?

Thanks for your help.

--
Curtis Jones
email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Get the RSS Feed of a site
  • Next by Date: Re: How to update preview in NSPrintPanel?
  • Previous by thread: Re: Get the RSS Feed of a site
  • Next by thread: Static variables reset inside CFPlugin code
  • Index(es):
    • Date
    • Thread