Article View: news.software.nntp
Article #79032Re: Another bug
From: D. Stussy
Date: Wed, 14 May 2008 00:23
Date: Wed, 14 May 2008 00:23
37 lines
2834 bytes
2834 bytes
"Julien ΓLIE" <iulius@nom-de-mon-site.com.invalid> wrote in message news:g0cqcn$kt6$1@news.trigofacile.com... > Hi D. Stussy, > > As one might guess, this patch causes innfeed to print the IP addresses > > (IPv4 and IPv6) that it has internally stored for a peer. It prints one > > line as expected for the stable version released 02/29/2008 (the version I > > had on hand), but when I apply it to today's version (Stable 05/12/2008), I > > was rather surprised: Each address seems to be duplicated in the "ipAddrs" > > array 3 times. That is just strange. This is the only patch applied to > > today's version - a fresh copy. > > > > Why is each IP address stored 3 times in the array? Where multiple > > addresses exist, all copies of the same address were consecutive. > > I do not know exactly where the problem comes from (I assume it is triggered > off by some changes for bindaddress/bindaddress6 -- revision 7778). > Note that CURRENT works fine (only one IP is printed). > STABLE has the problem but innfeed still does its job correctly. > > I forward the bug to inn-workers. Thank you for confirming that it wasn't me. I also note that it won't hamper overall operation - just waste some resources (memory, bandwidth, etc). As for the whole "unspecified address" as destination thing, I still don't like it, but it appears as if it may be a Linux kernel bug, not INN. However, I'm still a bit shocked at the attitude of going ahead and letting innfeed try an invalid situation - poor programming practice, but I do understand that it makes the code cleaner. My view is that no properly designed program should be allowed to do invalid things.
Technical Details
Message-ID:
<g0dbe2$f87$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:
<fvt1bf$qug$1@snarked.org> <g0aoo6$op9$1@snarked.org> <g0cqcn$kt6$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <g0dbe2$f87$1@snarked.org> Subject: Re: Another bug Date: Tue, 13 May 2008 17:23:24 -0700 From: "D. Stussy" <spam@bde-arc.ampr.org> References: <fvt1bf$qug$1@snarked.org> <g0aoo6$op9$1@snarked.org> <g0cqcn$kt6$1@news.trigofacile.com> 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: 37 Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org> NNTP-Posting-Host: pool-71-118-49-180.lsanca.dsl-w.verizon.net X-Trace: snarked.org 1210724610 15623 71.118.49.180 (14 May 2008 00:23:30 GMT) X-Complaints-To: newsmaster@snarked.org NNTP-Posting-Date: Wed, 14 May 2008 00:23:30 +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