Article View: news.software.nntp
Article #78639Re: Regarding INN - name to address resolution for peers
From: Russ Allbery
Date: Tue, 05 Feb 2008 05:14
Date: Tue, 05 Feb 2008 05:14
20 lines
2011 bytes
2011 bytes
"D. Stussy" <spam@bde-arc.ampr.org> writes:
> 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.
Hm, it may be that only CURRENT has the right code for IPv6. The IPv6
support in CURRENT is much cleaner.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87ejbs0ytv.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!headwall.stanford.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mailReferences:
<fnqsnb$e8h$1@snarked.org> <fo82tr$14d$1@bongo.bofh.it> <fo8pcb$nkd$1@snarked.org>Show Full Headers
Complete Article Headers
Message-ID: <87ejbs0ytv.fsf@windlord.stanford.edu> Subject: Re: Regarding INN - name to address resolution for peers Date: Mon, 04 Feb 2008 21:14:20 -0800 From: Russ Allbery <rra@stanford.edu> References: <fnqsnb$e8h$1@snarked.org> <fo82tr$14d$1@bongo.bofh.it> <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!headwall.stanford.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 20 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1202188460 17954 171.64.19.147 (5 Feb 2008 05:14:20 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) Cancel-Lock: sha1:NFlT7uEjWI4AampL1SVgV9ilZzs=