Article View: news.software.nntp
Article #78692Re: Regarding INN - name to address resolution for peers
From: D. Stussy
Date: Sat, 09 Feb 2008 05:58
Date: Sat, 09 Feb 2008 05:58
35 lines
3484 bytes
3484 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message news:874pcig0hq.fsf@windlord.stanford.edu... > "D. Stussy" <spam@bde-arc.ampr.org> writes: > > > I don't see where trying a second or subsequent address would discard > > prior statistics that the program has gathered to express an ordering > > preference to the getaddrinfo() call. > > No, that's not what I'm talking about. I'm talking about the ordering > returned by the resolver, not something maintained in INN (which is not > where it really belongs, IMO). Address ordering for hosts with multiple A > records is used fairly widely for preference ranking and is implemented by > many resolver clients. Only on systems that have that enabled as an option (another assumption), and again, if there's "anything" wrong with the top address, why then not try the others? It's better to try another address that may complete than to sit-and-spin on one that won't. The worst case is that ALL addresses fail, as opposed to just one. > > The manual page for getaddrinfo() does not indicate (nor does RFC 2553) > > that it orders the addresses returned in any manner other than by > > parameters given by the calling routine. > > See RFC 3484 and /etc/gai.conf on a Linux system. > > Anyway, I will not be making this change. I think it's wrong. You can > try to convince another INN committer to do so, I suppose. Your choice, but if this does result in a bug report in the future, then don't say I didn't warn you.... You're making an assumption that the setting of this function is not address (or address family) dependent -- where I say you have no basis for that conclusion.
Technical Details
Message-ID:
<fojfj8$ecn$1@snarked.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!news.linkpendium.com!news.linkpendium.com!news.snarked.org!not-for-mailReferences:
<fnqsnb$e8h$1@snarked.org> <87ejbs0ytv.fsf@windlord.stanford.edu> <fo8uhn$o2q$1@snarked.org> <87odavzzlq.fsf@windlord.stanford.edu> <fo93cm$oik$1@snarked.org> <87prvbyhy9.fsf@windlord.stanford.edu> <fo969n$qhl$1@snarked.org> <87fxw71bi4.fsf@windlord.stanford.edu> <foaqf4$jnr$1@snarked.org> <87lk5zrntp.fsf@windlord.stanford.edu> <fob7v7$kma$1@snarked.org> <87hcgmn3wz.fsf@windlord.stanford.edu> <fodcpa$12p$1@snarked.org> <87prv94slm.fsf@windlord.stanford.edu> <fodncj$1s2$1@snarked.org> <878x1x1r5s.fsf@windlord.stanford.edu> <fodtia$36i$1@snarked.org> <fohnj8$7ub$1@news.trigofacile.com> <foiice$bgm$1@snarked.org> <87tzkj15qe.fsf@windlord.stanford.edu> <fojd9e$e8e$1@snarked.org> <874pcig0hq.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <fojfj8$ecn$1@snarked.org> Subject: Re: Regarding INN - name to address resolution for peers Date: Fri, 8 Feb 2008 21:58:33 -0800 From: "D. Stussy" <spam@bde-arc.ampr.org> References: <fnqsnb$e8h$1@snarked.org> <87ejbs0ytv.fsf@windlord.stanford.edu> <fo8uhn$o2q$1@snarked.org> <87odavzzlq.fsf@windlord.stanford.edu> <fo93cm$oik$1@snarked.org> <87prvbyhy9.fsf@windlord.stanford.edu> <fo969n$qhl$1@snarked.org> <87fxw71bi4.fsf@windlord.stanford.edu> <foaqf4$jnr$1@snarked.org> <87lk5zrntp.fsf@windlord.stanford.edu> <fob7v7$kma$1@snarked.org> <87hcgmn3wz.fsf@windlord.stanford.edu> <fodcpa$12p$1@snarked.org> <87prv94slm.fsf@windlord.stanford.edu> <fodncj$1s2$1@snarked.org> <878x1x1r5s.fsf@windlord.stanford.edu> <fodtia$36i$1@snarked.org> <fohnj8$7ub$1@news.trigofacile.com> <foiice$bgm$1@snarked.org> <87tzkj15qe.fsf@windlord.stanford.edu> <fojd9e$e8e$1@snarked.org> <874pcig0hq.fsf@windlord.stanford.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!news.linkpendium.com!news.linkpendium.com!news.snarked.org!not-for-mail Newsgroups: news.software.nntp Lines: 35 Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org> NNTP-Posting-Host: pool-71-160-235-237.lsanca.dsl-w.verizon.net X-Trace: snarked.org 1202536872 14743 71.160.235.237 (9 Feb 2008 06:01:12 GMT) X-Complaints-To: newsmaster@snarked.org NNTP-Posting-Date: Sat, 9 Feb 2008 06:01:12 +0000 (UTC) X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1478 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478