🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Logan Shaw Thu, 31 Mar 2005 07:36
duplicate articles
#70997
Author: Logan Shaw
Date: Thu, 31 Mar 2005 07:36
53 lines
3600 bytes
Hi.

I'm going back and forth with my ISP over an issue with their news
server, and it occurs to me I need to be clear on a technical point
to make a strong case that the problem is on their end and not on mine.

Briefly, what's happenning is that I'm reading via NNTP, and within
a single group, I see duplicate articles.  That is, the articles are
exactly the same (including the Message-ID headers) but have two
different article numbers within the group.  There are hundreds
of such pairs of articles just within the few groups that I read.

Another way of saying this is that if I do "telnet $server nntp"
and then "group foo.bar", and then do "xhdr Message-ID AAAAA-BBBBB"
(where AAAAA and BBBBB are the lowest and highest article numbers
that "group foo.bar" gave me), then I will see duplicate Message-IDs
within the output of the xhdr command.

I believe this behavior is wrong.  From the early days back when
I used rn, the newsreader client's history was kept in a .newsrc
file using article numbers, and the client made no effort to
eliminate duplicates based on Message-ID headers.  As far as I
know, nothing has changed and it is not the responsibility of
the client software to remove duplicates based on Message-ID.
BUT, I have not been able to find documentation to prove this.

I did find section 5 of RFC 850, which says this:

	An important part of the algorithm is  the  prevention  of
	loops.   The  above  process would cause a message to loop
	along a cycle forever.  In particular, when site  A  sends
	an  article to site B, site B will send it back to site A,
	which will send it to site B, and so on.  One solution  to
	this  is  the history mechanism.  Each site keeps track of
	all articles  it  has  seen  (by  their  message  ID)  and
	whenever an article comes in that it has already seen, the
	incoming article is discarded immediately.

This seems relevant at first, but it doesn't quite answer the
question for two reasons:

(1)  It says that the history mechanism is "one solution" to
      the problem of cycles.
(2)  It only speaks to the problem of sharing articles among
      servers, and does not speak to how the server should behave
      towards *clients*.

So...  I am right that two different article numbers within the same
group should never give the same messages?  If so, is there any
documentation that I can point to in order to convince my ISP
that their server is messed up?

   - Logan
Re: duplicate articles
#70998
Author: Jeffrey M. Vinocur
Date: Thu, 31 Mar 2005 11:39
22 lines
1648 bytes
In article <CLN2e.2168$ij5.946@tornado.texas.rr.com>,
Logan Shaw  <lshaw-usenet@austin.rr.com> wrote:
>
>So...  I am right that two different article numbers within the same
>group should never give the same messages?

Yes.


>If so, is there any documentation that I can point to in order
>to convince my ISP that their server is messed up?

Hrm...all I can suggest is the latest draft version of the new
NNTP spec, soon to be published.  The very beginning of section 6
is quite clear about article numbers.

  http://www.ietf.org/internet-drafts/draft-ietf-nntpext-base-25.txt


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: duplicate articles
#70999
Author: Jeffrey M. Vinocur
Date: Thu, 31 Mar 2005 11:47
34 lines
2140 bytes
In article <d2gngo$7dd$1@puck.litech.org>,
Jeffrey M. Vinocur <jeff@litech.org> wrote:
>In article <CLN2e.2168$ij5.946@tornado.texas.rr.com>,
>Logan Shaw  <lshaw-usenet@austin.rr.com> wrote:
>>
>>So...  I am right that two different article numbers within the same
>>group should never give the same messages?
>
>Yes.
>
>
>>If so, is there any documentation that I can point to in order
>>to convince my ISP that their server is messed up?
>
>Hrm...all I can suggest is the latest draft version of the new
>NNTP spec, soon to be published.  The very beginning of section 6
>is quite clear about article numbers.
>
>  http://www.ietf.org/internet-drafts/draft-ietf-nntpext-base-25.txt

Wait, I take that back -- on rereading, it doesn't say what I
thought it did.  Hrm.

Now I wonder if the behavior you're seeing is actually forbidden.

(Regardless of whether it's forbidden per se, it's possibly
indicative of a misconfiguration on their server.  Given how
annoying that behavior is to readers, they really should
investigate.)


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: duplicate articles
#71001
Author: Logan Shaw
Date: Thu, 31 Mar 2005 19:38
40 lines
2767 bytes
Jeffrey M. Vinocur wrote:
>>In article <CLN2e.2168$ij5.946@tornado.texas.rr.com>,
>>Logan Shaw  <lshaw-usenet@austin.rr.com> wrote:

>>>So...  I am right that two different article numbers within the same
>>>group should never give the same messages?

> Wait, I take that back -- on rereading, it doesn't say what I
> thought it did.  Hrm.
> 
> Now I wonder if the behavior you're seeing is actually forbidden.

Yes, I'm beginning to believe it's one of those things that's so obviously
wrong that it isn't forbidden explicitly, because the people who wrote the
RFC just assumed everyone would know not to do it.

> (Regardless of whether it's forbidden per se, it's possibly
> indicative of a misconfiguration on their server.

Yeah, I think they should fix it, especially considering they have
up to 1000 duplicates in certain groups.  Which means that they are
wasting disk space storing all these duplicate articles.  Which is
bad for *them* as well.

Unfortunately, it's proving to be tough to get past the first level
support drones, who keep coming up with dumb answers like this:

	it is possible that a spammer has found a means to spam the
	servers with messages having the same ID which is not being
	blocked by our NNTP server

and this:

	The issue may be caused by firewall software not reporting
	to the servers that you have already viewed the posting.

Yeah, *that* seems likely.  Or at least it does if you don't know
anything about how NNTP works.  :-)

   - Logan
Re: duplicate articles
#71004
Author: Tomasz R. Surmacz
Date: Thu, 31 Mar 2005 23:16
41 lines
3083 bytes
Logan Shaw <lshaw-usenet@austin.rr.com> wrote:
: Hi.

: I'm going back and forth with my ISP over an issue with their news
: server, and it occurs to me I need to be clear on a technical point
: to make a strong case that the problem is on their end and not on mine.

: Briefly, what's happenning is that I'm reading via NNTP, and within
: a single group, I see duplicate articles.  That is, the articles are
: exactly the same (including the Message-ID headers) but have two
: different article numbers within the group.  There are hundreds
: of such pairs of articles just within the few groups that I read.

This is likely an effect of server crash and the news overview/history
rebuild process that did not finish properly, if the server was
restarted nevertheless. So the articles that were already in news spool
disappeared from history file and have been received again. Later,
the overview/history files were probably rebuilt again, resulting in
duplicate entries.

Happened to me with previous version of INN where makehistory dumped
core in the middle of rebuilding overview.  The solution was to upgrade
innd to 2.4.2, rebuild history/overview again, logging all "Duplicate
token' messages, then using 'sm -r' to get rid of them and finally -
rebuilding hist/overview again.

: So...  I am right that two different article numbers within the same
: group should never give the same messages?  If so, is there any
: documentation that I can point to in order to convince my ISP
: that their server is messed up?

Tell them their news spool is broken and ask them to clean it in a
manner similar to what I wrote.

Tomasz

-- 
 _________
(_   _' __) Tomasz R. Surmacz,  PGP key Id: 56A1520D,  tsurmacz@adm.usenet,pl
  |  (__  \ FAQ polskich grup news: http://www.usenet.pl/doc/news-pl-faq.html
  |__(____/ English ver.:  http://www.usenet.pl/doc/news-pl-new-site-faq.html
Re: duplicate articles
#71005
Author: Logan Shaw
Date: Thu, 31 Mar 2005 23:39
31 lines
2804 bytes
Tomasz R. Surmacz wrote:
> Logan Shaw <lshaw-usenet@austin.rr.com> wrote:
> : Briefly, what's happenning is that I'm reading via NNTP, and within
> : a single group, I see duplicate articles.  That is, the articles are
> : exactly the same (including the Message-ID headers) but have two
> : different article numbers within the group.

> This is likely an effect of server crash and the news overview/history
> rebuild process that did not finish properly, if the server was
> restarted nevertheless. So the articles that were already in news spool
> disappeared from history file and have been received again. Later,
> the overview/history files were probably rebuilt again, resulting in
> duplicate entries.

Hmm, that's an explanation I hadn't thought of.  But I'm not sure if
that's it in this case, because the duplicate articles keep trickling
in.  I'll read an article, and then another copy of the same article
will show up like 3 days later.  This pattern has been going on for
a few weeks, so it seems like a steady stream of just a few duplicate
articles.

Their server identifies itself as Tornado in the error messages, so
I read some of their documentation online for that software, and it
seems the software has a parameter you can configure that limits the
size of the history file to some number of millions of entries.  So,
I'm wondering if they've simply got that set too low, maybe at a
value that was sufficient in the past but now isn't due to the
ever-growing amount of traffic on Usenet.  Of course, it could be
that or a lot of other things...

   - Logan
Re: duplicate articles
#71052
Author: Clive D. W. Feather
Date: Mon, 11 Apr 2005 21:16
18 lines
2079 bytes
In article <CLN2e.2168$ij5.946@tornado.texas.rr.com>, Logan Shaw 
<lshaw-usenet@austin.rr.com> writes
>Briefly, what's happenning is that I'm reading via NNTP, and within
>a single group, I see duplicate articles.  That is, the articles are
>exactly the same (including the Message-ID headers) but have two
>different article numbers within the group.  There are hundreds
>of such pairs of articles just within the few groups that I read.
[...]
>I believe this behavior is wrong.

So do I. It will be outlawed in the next draft of the new NNTP 
specification.

-- 
Clive D.W. Feather                       | Home: <clive@davros.org>
Tel: +44 20 8495 6138 (work)             | Web:  <http://www.davros.org>
Fax: +44 870 051 9937                    | Work: <clive@demon.net>
Please reply to the Reply-To address, which is:  <clive@davros.org>
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