🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Bill Cole Sun, 10 Apr 2005 15:15
INN 2.4.1 XHDR oddity
#71042
Author: Bill Cole
Date: Sun, 10 Apr 2005 15:15
75 lines
3543 bytes
So maybe my long absence from running INN has my memory confused, but i 
thought it could really give me the real header asked for in XHDR. It 
looks like it is actually reconstructing Newsgroups headers from 
overview data (i.e. Xref) which is bad and wrong. Example:


200 toaster.scconsult.com InterNetNews server INN 2.4.1 ready
mode reader
200 toaster.scconsult.com InterNetNews NNRP server INN 2.4.1 ready 
(posting ok).
list overview.fmt
215 Order of fields in overview database.
Subject:
From:
Date:
Message-ID:
References:
Bytes:
Lines:
Xref:full
..
group news.groups
211 515 54383 55125 news.groups
XHDR Newsgroups 55121-55125
221 Newsgroups matches follow (NOV)
55123 news.groups
55125 news.groups
..
HEAD 55125
221 55125 <i9ydnY987NWzr8TfRVn-sQ@bright.net> head
Path: 
toaster.scconsult.com!news.scconsult.com!esel!newshunter!cosy.sbg.ac.at!n
ewsfeeder1.noc.eunet-ag.at!news.eunet.at!newsfeed.vmunix.org!newsfeed.cwi
x.com!newscon02.news.prodigy.com!newscon06.news.prodigy.com!prodigy.net!b
order1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.
com!nntp.bright.net!news.bright.net.POSTED!not-for-mail
NNTP-Posting-Date: Sun, 10 Apr 2005 09:03:26 -0500
From: "Steve Young" <bowtieATbrightdslDOTnet>
Newsgroups: 
alt.usenet.kooks,alt.fan.art-bell,rec.photo.digital,news.groups,alt.cultu
re.alaska
References: <xn0e0t68scsw0r000@kookology.info> 
<M7Wdnf9RePveLcXfRVn-uA@bright.net> <115iajhqagfsob0@news.supernews.com> 
<d3bacp$stg$0@pita.alt.net>
Subject: Re: NOMINATION - Steve "BowTie" Young for Coward of The Month
Date: Sun, 10 Apr 2005 10:02:58 -0400
Organization: The White Cabal
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <i9ydnY987NWzr8TfRVn-sQ@bright.net>
Lines: 54
NNTP-Posting-Host: 66.219.150.240
X-Trace: 
sv3-zezOOte4zFY8mC1HjI8S2JT694vhwTQsQ0afcQyegU0uGuEX0o5uCcxOacpixQF2tszVf
k6y3aLx+p7!qPC90JhPKyCagbeiR9d4Vomiu9b9HEc7eGptN1VDFv3iaONIVUL7Qs3jXYOSq1
OI91TY2XITWw==
X-Complaints-To: abuse@bright.net
X-DMCA-Complaints-To: abuse@bright.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your 
complaint properly
X-Postfilter: 1.3.31
Xref: news.scconsult.com news.groups:55125
..


If anyone has any enlightenment for me on how to make INN do the correct 
thing and return the actual Newsgroups header in response to XHDR, 
please share the wisdom.

-- 
Now where did I hide that website...
Re: INN 2.4.1 XHDR oddity
#71043
Author: Jeffrey M. Vinocur
Date: Sun, 10 Apr 2005 16:33
27 lines
2090 bytes
In article <bill-4D3E3D.10154010042005@toaster.scconsult.com>,
Bill Cole  <bill@scconsult.com> wrote:
>So maybe my long absence from running INN has my memory confused, but i 
>thought it could really give me the real header asked for in XHDR. It 
>looks like it is actually reconstructing Newsgroups headers from 
>overview data (i.e. Xref) which is bad and wrong. [...]
>
>If anyone has any enlightenment for me on how to make INN do the correct 
>thing and return the actual Newsgroups header in response to XHDR, 
>please share the wisdom.

Mmmm yeah, this has come up before.  The code is designed to do
that on purpose for optimization reasons -- XHDR on a header
that's not in overview can be quite slow, and somebody decided it
was worthwhile to trade corectness for speed.

Let's see...yup, last time somebody asked for this, I posted a
patch.  The original poster even commented that it worked.

Here, via Google Groups:

    http://tinyurl.com/498wa


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN 2.4.1 XHDR oddity
#71045
Author: Russ Allbery
Date: Sun, 10 Apr 2005 17:59
18 lines
1860 bytes
Bill Cole <bill@scconsult.com> writes:

> What a shockingly bad choice to make in such an arbitrary and hidden
> fashion...

> Returning nothing (i.e. Highwind-style) would be one thing, but
> returning something which is not the Newsgroups header as if it is
> strikes me as completely unjustifiable.

Yeah, this was a bad idea.  I think Alex added it to address performance
problems that he was running into, but it really breaks the NNTP protocol.
I'm removing this in CVS.

-- 
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.
Re: INN 2.4.1 XHDR oddity
#71046
Author: Bill Cole
Date: Sun, 10 Apr 2005 18:26
38 lines
2586 bytes
In article <d3bkh8$cbq$1@puck.litech.org>,
 jeff@litech.org (Jeffrey M. Vinocur) wrote:

> In article <bill-4D3E3D.10154010042005@toaster.scconsult.com>,
> Bill Cole  <bill@scconsult.com> wrote:
> >So maybe my long absence from running INN has my memory confused, but i 
> >thought it could really give me the real header asked for in XHDR. It 
> >looks like it is actually reconstructing Newsgroups headers from 
> >overview data (i.e. Xref) which is bad and wrong. [...]
> >
> >If anyone has any enlightenment for me on how to make INN do the correct 
> >thing and return the actual Newsgroups header in response to XHDR, 
> >please share the wisdom.
> 
> Mmmm yeah, this has come up before.  The code is designed to do
> that on purpose for optimization reasons -- XHDR on a header
> that's not in overview can be quite slow, and somebody decided it
> was worthwhile to trade corectness for speed.

What a shockingly bad choice to make in such an arbitrary and hidden 
fashion...

Returning nothing (i.e. Highwind-style) would be one thing, but 
returning something which is not the Newsgroups header as if it is 
strikes me as completely unjustifiable. 

> Let's see...yup, last time somebody asked for this, I posted a
> patch.  The original poster even commented that it worked.
> 
> Here, via Google Groups:
> 
>     http://tinyurl.com/498wa


Thanks. Time to rebuild, I guess.

-- 
Now where did I hide that website...
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads