🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Brad Knowles Thu, 25 Mar 1999 00:00
Definition of NOV format?
#36189
Author: Brad Knowles
Date: Thu, 25 Mar 1999 00:00
32 lines
2111 bytes
Folks,

    I'm feeling like a right bloody idiot.  I just got a question about
the newsdiff program I just posted which asked whether it made any sense
whatsoever to compare article byte sizes on different servers (where the
"Path:" header would probably be different, if nothing else).

    It's my understanding that the "bytes" field returned by XOVER is the
article body size and is exclusive of the headers, but I can't find a
reference anywhere that actually explicitly states this.


    The closest I've found to any document that discusses this subject at
all and still exists is <ftp://ftp.academ.com/pub/nntp/ietf/nntpext.txt>,
but bibliographic reference #7
<ftp://ftp.uu.net/networking/news/nntp/inn/faq-nov.Z> that is supposed to
define this information in more detail is no longer available.

    I've searched the RFCs and FAQs via <http://www.faqs.org/> and the
Internet Drafts at <http://www.ietf.org/>, and I have still yet to turn up
a document that I can find that gives me the official definition of this
format.  I don't suppose anyone here can point me in the right direction,
can they?

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Are you looking for a news feed from a site in the Freenix Top 200?
If so, contact me via private e-mail for details.

Re: Definition of NOV format?
#36185
Author: Curt Welch
Date: Thu, 25 Mar 1999 00:00
28 lines
1999 bytes
brad@shub-internet.org (Brad Knowles) wrote:
> Folks,
>
>     I'm feeling like a right bloody idiot.  I just got a question about
> the newsdiff program I just posted which asked whether it made any sense
> whatsoever to compare article byte sizes on different servers (where the
> "Path:" header would probably be different, if nothing else).

Yeah, it doesn't make much sense if you are expecing them to be the same.
There's the Xref: line that will also make it different.

>     It's my understanding that the "bytes" field returned by XOVER is the
> article body size and is exclusive of the headers

No. It's the size of the article on the local system.  On my inn 1.7.2
system my (single) test showed that the size it returns is simply the
size of the file in the spool (which is what I would have expected).  And
that's in Unix \n line format instead of NNTP CR LF format.

My new server (news2 - the one you have been playing with) is telling you
the size in NNTP wire format - including both a CR LF on each line and
extra leading dots as requred...

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: Definition of NOV format?
#36193
Author: Arthur Hagen
Date: Fri, 26 Mar 1999 00:00
21 lines
1498 bytes
In article <brad-2503992038000001@brad.techos.skynet.be>, brad@shub-internet.org writes:
> Folks,
> 
>     I'm feeling like a right bloody idiot.  I just got a question about
> the newsdiff program I just posted which asked whether it made any sense
> whatsoever to compare article byte sizes on different servers (where the
> "Path:" header would probably be different, if nothing else).
> 
>     It's my understanding that the "bytes" field returned by XOVER is the
> article body size and is exclusive of the headers, but I can't find a
> reference anywhere that actually explicitly states this.

Even the body size may be different, depending on what line-end format
the text is stored in.

Regards,
-- 
*Art

Re: Definition of NOV format?
#36197
Author: Curt Welch
Date: Fri, 26 Mar 1999 00:00
28 lines
2123 bytes
brad@shub-internet.org (Brad Knowles) wrote:
> In article <19990325162043.123$5i@newsreader.com>, curt@kcwc.com (Curt
> Welch) wrote:
>
> > No. It's the size of the article on the local system.  On my inn 1.7.2
> > system my (single) test showed that the size it returns is simply the
> > size of the file in the spool (which is what I would have expected).
> > And that's in Unix \n line format instead of NNTP CR LF format.
>
>     That doesn't jive with what I'm seeing.  On the articles that are on
> both the reference and target news servers, in every case I've looked at
> so far, I find that the article byte count (as reported by XOVER) is
> exactly the same on both servers (and, as you know, these two servers are
> not slaved ;-).

Are you talking about your server vs my server?  It would be impossible
for the two to be showing the same byte count.  You must have a bug
in your code.

Just telnet to the servers and check the same article on both by hand
to see what xover is returning.  Just do a HEAD <mid> and look at the
Xref: line to find the article number on the second server.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: Definition of NOV format?
#36198
Author: Brad Knowles
Date: Fri, 26 Mar 1999 00:00
29 lines
1971 bytes
In article <19990325162043.123$5i@newsreader.com>, curt@kcwc.com (Curt
Welch) wrote:

> No. It's the size of the article on the local system.  On my inn 1.7.2
> system my (single) test showed that the size it returns is simply the
> size of the file in the spool (which is what I would have expected).  And
> that's in Unix \n line format instead of NNTP CR LF format.

    That doesn't jive with what I'm seeing.  On the articles that are on
both the reference and target news servers, in every case I've looked at
so far, I find that the article byte count (as reported by XOVER) is
exactly the same on both servers (and, as you know, these two servers are
not slaved ;-).

    Maybe there's a logic bug somewhere in the program that is somehow
setting the article byte counts equal to each other, but I haven't found
it yet.


    Meanwhile, I'll keep looking.  Thanks!

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Are you looking for a news feed from a site in the Freenix Top 200?
If so, contact me via private e-mail for details.

Re: Definition of NOV format?
#36252
Author: brad_knowles
Date: Tue, 30 Mar 1999 00:00
19 lines
1639 bytes
In article <19990326095714.112$mh@newsreader.com>,
  curt@kcwc.com (Curt Welch) wrote:

> Are you talking about your server vs my server?  It would be impossible
> for the two to be showing the same byte count.  You must have a bug
> in your code.

	It took me a little while, but I tracked down the bug in my code.  I
have since eliminated it, and am working to further clean up the code before
I do another unsupported release.  At least it's now telling me the right
byte count as returned by the respective servers....


	Thanks again!

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

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