[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: gethostby* users

Simo Sorce wrote:
>> This debate has splintered a bit on the list, but it seems to me that
>> everybody's concern has to do with this unfamiliar sorting algorithm.
>> Am I right, or does somebody have another concern, unrelated to the
>> sorting algorithm?
> Sorting is the only point we are discussing.
>> Ulrich's last comment made me think that DNS results will be sorted a
>> lot less than people seem to think.  It also seems that the biggest
>> cause of this whole misunderstanding is that Ulrich appears to be the
>> only one who understands when and how this mysterious sorting algorithm
>> is applied.
> Not mysterious at all, read the RFC (easier) and glibc source code and
> you'll know all about it.
>> Ulrich: Is there a clear spec that outlines the behavior of this
>> function, or will we just have to go examine the source code?  I think
>> that if we all had a more realistic and concrete idea about how this
>> function performs, that we'd all sleep better tonight. :)
> I didn't see the code diverge much from the RFC, but I didn't do a
> strict analysis either, just enough to be concerned about the artificial
> (for IPv4) difference between site-local and global scope addresses
> (which is dictated by the RFC). That's my principal concern, so far.
> Simo.

Thanks for the references.  I should have read through the RFC first.

Topher Fischer
GnuPG Fingerprint: 3597 1B8D C7A5 C5AF 2E19  EFF5 2FC3 BE99 D123 6674
javert42 cs byu edu | http://www.thetopher.com

Attachment: signature.asc
Description: OpenPGP digital signature

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]