🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #78637

Re: Regarding INN - name to address resolution for peers

#78637
From: D. Stussy
Date: Tue, 05 Feb 2008 04:38
26 lines
2302 bytes
"Marco d'Itri" <md@Linux.IT> wrote in message
news:fo82tr$14d$1@bongo.bofh.it...
> spam@bde-arc.ampr.org wrote:
>
> >Q1)  Will "innfeed" always make an "AAAA" query first and use IPv6
> >addressing if found?
> Yes. The Debian package has a patch to configure this behaviour, I do
> not remember if it has been merged upstream yet.

Apparently not.  Looking at innfeed/connection.c at about line 520, it looks
as if it tries to connect with the first address that gets returned (whether
it be IPv6 or IPv4) and upon failure, it sleeps/kills the connection and the
subroutine exits.  It should probably loop, trying ALL the addresses - in
the event that the name server and/or client resolvr library do not
randomize nor round-robin the results.

I'm looking at the (source of the) stable snapshot versioned as INN 2.4.4
dated 2008/01/01.

I've noted this in that one of my peers is apparently seeing the IPv6
address in the resolver and trying it, but fails to connect because his
kernel doesn't have IPv6 support compiled in (yet for some reason, his INN
and BIND do - maybe he's using precompiled versions; I'm waiting to hear
back).

Technical Details
Message-ID: <fo8pcb$nkd$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>

Show Full Headers
Complete Article Headers
Message-ID: <fo8pcb$nkd$1@snarked.org>
Subject: Re: Regarding INN - name to address resolution for peers
Date: Mon, 4 Feb 2008 20:38:10 -0800
From: "D. Stussy" <spam@bde-arc.ampr.org>
References: <fnqsnb$e8h$1@snarked.org> <fo82tr$14d$1@bongo.bofh.it>
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: 26
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 1202186444 24205 71.160.235.237 (5 Feb 2008 04:40:44 GMT)
X-Complaints-To: newsmaster@snarked.org
NNTP-Posting-Date: Tue, 5 Feb 2008 04:40:44 +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