Mailing Lists: Apple Mailing Lists

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

Re: Wide area rendezvous with posix daemon



Jakub,

On Nov 24, 2004, at 11:37 AM, Jakub Stachowski wrote:

Dnia wtorek, 23 listopada 2004 17:23, Bill Fenner napisaƂ:
That's good to know. Attached patch adds possbility to set uDNS host name,
secret and public ip (this is temporary - i just don't know good method to
retrieve address of interface with default route).

If you know an IP address that is reached by the route you want to use, you can connect a udp socket to that destination and then use getsockname() to get the IP source address your system would use to reach that destination - works on at least *BSD, Linux, Solaris >=2.6 and doesn't involve any actual network traffic.

Thanks for this tip, it allows do to 'right thing' in almost all cases without
any configuration. Updated patch can read public IP from file. If it cannot
be parsed as IP, it will be treated as interface name - useful for dynamic
ip. If public IP still has not been determined it will be guessed by
checking source address for connection to 1.1.1.1 (anyone has better idea?)


Another important question for Marc: i hate to bother you when you are so busy
with preparation of new MacOSX, but can you give me approximate date when new
mDNSResponder is going to be packaged? KDE 3.4alpha 1 is scheduled for Dec
3rd, and I can't add CVS version (+patches to apply) of responder as new
dependency. Of course, if there is no other way, I can patch it, make tarball
and publish it somewhere for download myself.

Thanks for letting us know about the deadline. We're very excited about mDNSResponder going into KDE, and we'll do our best to get your patches integrated and have a package available around December 3rd.


Best Regards,

-Marc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Rendezvous-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/rendezvous-dev/email@hidden

This email sent to email@hidden
References: 
 >Wide area rendezvous with posix daemon (From: Jakub Stachowski <email@hidden>)
 >Re: Wide area rendezvous with posix daemon (From: Jakub Stachowski <email@hidden>)
 >Re: Wide area rendezvous with posix daemon (From: Bill Fenner <email@hidden>)
 >Re: Wide area rendezvous with posix daemon (From: Jakub Stachowski <email@hidden>)



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.