[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: libldap "Happy Eyeballs" support (aka Fast Fallback or ipv4/ipv6 dual-stack)
Hi,
On Tue, 25 Feb 2014, ?arko Milenkovi? wrote:
Hi all,
I would like to have Happy Eyeballs<http://en.wikipedia.org/wiki/Happy_eyeballs> algorithm (more details here<http://tools.ietf.org/html/rfc6555>) implemented for all network communication in my application.
Because I'm using libldap for searching openldap server I'm not quite sure does library already support this or would I need to implement
it myself?
very bad idea.
To further clarify, I have following scenario: ldap server on myoldap.organization.org that listens for both ipv6 and ipv4 connections. Clients connect to it using libldap.
Does libldap have support to automatically choose ipv6 over ipv4 or vice versa?
If yes, how is choice made? Is ipv6 always preferred if available or does better connection win?
If no, then I know the way I need to go. The only thing to add there is that I would be willing to add this support to libldap.
the decision is made by the operating system and the resolver libary.
FreeBSD for example has this configurable via ip6addrctl.
I would strongly object to having anything on the order of Happy Eyeballs embedded into libldap. This is technology aimed at getting the end user (Eye Ball) connected to whatever website he wants to visit. Server communication should be predictable for various reasons including security.
Greetings
Christian
--
Christian Kratzer CK Software GmbH
Email: ck@cksoft.de Wildberger Weg 24/2
Phone: +49 7032 893 997 - 0 D-71126 Gaeufelden
Fax: +49 7032 893 997 - 9 HRB 245288, Amtsgericht Stuttgart
Mobile: +49 171 1947 843 Geschaeftsfuehrer: Christian Kratzer
Web: http://www.cksoft.de/