🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #78646

Re: Regarding INN - name to address resolution for peers

#78646
From: D. Stussy
Date: Tue, 05 Feb 2008 08:21
45 lines
3855 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message
news:87prvbyhy9.fsf@windlord.stanford.edu...
> "D. Stussy" <spam@bde-arc.ampr.org> writes:
> > "Russ Allbery" <rra@stanford.edu> wrote:
>
> >> That sounds like a horribly broken getaddrinfo.  getaddrinfo
> >> specifically looks up the address of a host.  It shouldn't be returning
> >> random other DNS RRs, whether they be APL, MX, AFSDB, TXT, or anything
> >> else.
>
> > I'm not saying that it would return an APL or other RRs - just that
> > there are other address families besides IPv4 and IPv6 and that it's
> > possible that there COULD be a return of something not IP and that the
> > code (as of January 1) ignores that multiple AFs can be returned.
>
> I'm not sure what you think the code should do.  The intent of the
> getaddrinfo interface is that, by using it, code can be AF-neutral and not
> have to be constantly updated whenever new AFs show up (such as some
> hypothetical IPv7), and more relevantly not have to care whether it gets
> back IPv4 or IPv6.  I don't want to hard-code any address family
> expectations; that's exactly counter to the whole point of the new
> interfaces.
>
> CURRENT provides more information via hints, such as telling getaddrinfo
> that the address will be used for SOCK_STREAM.  I would be very surprised
> if that's not sufficient.  CURRENT also correctly tries each address in
> turn rather than giving up if the first one doesn't work.  The IPv6
> support in 2.4 was sort of bolted on the side.  CURRENT uses the new
> interfaces unconditionally and more cleanly and provides a compatibility
> layer for systems that don't have them.

Look's like I need to see what changes to the source (stable) in the past
month before continuing, but it's clear that the January 1 snapshot of
innfeed did NOT cycle through the various AF's and addresses - simply trying
the first one (first address of the first AF) returned by the resolver - and
that was the problem my peer had with connecting to me in that he
consistently was trying to connect via an AF (IPv6) that his kernel didn't
support.  If this has been fixed, maybe 2.4.4 should be released instead of
waiting for 2.5.0?  Why?  With the root-servers.net now publishing IPv6
addresses, there may be more people shifting their machines toward that
transition and encountering this problem because they're running older INN
versions.  With an update and this issue in the changelog, maybe they'll
catch on and upgrade?

Technical Details
Message-ID: <fo969n$qhl$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-mail
References: <fnqsnb$e8h$1@snarked.org> <fo82tr$14d$1@bongo.bofh.it> <fo8pcb$nkd$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>

Show Full Headers
Complete Article Headers
Message-ID: <fo969n$qhl$1@snarked.org>
Subject: Re: Regarding INN - name to address resolution for peers
Date: Tue, 5 Feb 2008 00:21:07 -0800
From: "D. Stussy" <spam@bde-arc.ampr.org>
References: <fnqsnb$e8h$1@snarked.org> <fo82tr$14d$1@bongo.bofh.it> <fo8pcb$nkd$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>
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: 45
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 1202199671 27189 71.160.235.237 (5 Feb 2008 08:21:11 GMT)
X-Complaints-To: newsmaster@snarked.org
NNTP-Posting-Date: Tue, 5 Feb 2008 08:21:11 +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