🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Gary Zhang Mon, 05 Nov 2001 23:42
identical message-id but different article news
#54979
Author: Gary Zhang
Date: Mon, 05 Nov 2001 23:42
12 lines
1343 bytes
I'm setting up my news server.  I was wonerif happens when you get fed
two articles with the same message id but totally  differnt articles? 
Would the latter one get saved and the first get overwritten, or the
latter one get deleted while the first one remains, or they both are
saved but the latter one gets posted in the listings?  I've read the
man page for dbz, but it didn't make too much sense for me.  Just
wondering if anyone can help.  Thanks.



Gary Zhang.
Re: identical message-id but different article news
#54980
Author: Remco Blaakmeer
Date: Mon, 05 Nov 2001 23:51
18 lines
1997 bytes
On Mon, 05 Nov 2001 23:42:33 GMT, zhang.gary@ssd.loral.com (Gary Zhang) wrote
	in <49f755c6.0111051542.83155e4@posting.google.com>:
> I'm setting up my news server.  I was wonerif happens when you get fed
> two articles with the same message id but totally  differnt articles? 
> Would the latter one get saved and the first get overwritten, or the
> latter one get deleted while the first one remains, or they both are
> saved but the latter one gets posted in the listings?  I've read the
> man page for dbz, but it didn't make too much sense for me.  Just
> wondering if anyone can help.  Thanks.

The second one is either rejected or refused, depending on the type of
source (news reader or regular feed). The effect is that the first
message remains and the second one never arrives.

Remco
-- 
remco:  00:45:02 up 2 days,  8:44,  8 users,  load average: 1.37, 1.22, 1.14
Re: identical message-id but different article news
#54991
Author: Andrew Gierth
Date: Tue, 06 Nov 2001 08:00
16 lines
1592 bytes
>>>>> "Gary" == Gary Zhang <zhang.gary@ssd.loral.com> writes:

 Gary> I'm setting up my news server.  I was wonerif happens when you
 Gary> get fed two articles with the same message id but totally
 Gary> differnt articles?

Articles that have the same message-id are assumed to be the same
article even if they aren't.

So the second one gets refused if offered (because the server knows it
already has the article), or rejected if actually fed (for the same
reason). Existing articles don't get overwritten.

-- 
Andrew.
Re: identical message-id but different article news
#55013
Author: uhlar
Date: Wed, 07 Nov 2001 09:01
20 lines
2146 bytes
Gary Zhang <zhang.gary@ssd.loral.com> wrote:
-> I'm setting up my news server.  I was wonerif happens when you get fed
-> two articles with the same message id but totally  differnt articles? 
-> Would the latter one get saved and the first get overwritten, or the
-> latter one get deleted while the first one remains, or they both are
-> saved but the latter one gets posted in the listings?  I've read the
-> man page for dbz, but it didn't make too much sense for me.  Just
-> wondering if anyone can help.  Thanks.

If two different messages have the same Message-Id, then the poster is
broken... Message-Id has to be unique and the poster has to generate it
that way it is unique.

-- 
 Matus "fantomas" Uhlar, uhlar@fantomas.sk ; http://www.fantomas.sk/
 Warning: I don't wish to receive spam to this address.
 Varovanie: Nezelam si na tuto adresu dostavat akukolvek reklamnu postu.
 Due to unexpected conditions Windows 2000 will be released
 in first quarter of year 1901
Re: identical message-id but different article news
#55015
Author: Gary Zhang
Date: Wed, 07 Nov 2001 16:40
23 lines
2249 bytes
uhlar@fantomas.sk wrote in message news:<1005123694.742707@virtual.nextra.sk>...
> Gary Zhang <zhang.gary@ssd.loral.com> wrote:
> -> I'm setting up my news server.  I was wonerif happens when you get fed
> -> two articles with the same message id but totally  differnt articles? 
> -> Would the latter one get saved and the first get overwritten, or the
> -> latter one get deleted while the first one remains, or they both are
> -> saved but the latter one gets posted in the listings?  I've read the
> -> man page for dbz, but it didn't make too much sense for me.  Just
> -> wondering if anyone can help.  Thanks.
> 
> If two different messages have the same Message-Id, then the poster is
> broken... Message-Id has to be unique and the poster has to generate it
> that way it is unique.


I am interested in setting multiple feed to my server.  I want to
avoid having multiple copies of the same news articles but I am sure
how the server process  the received articles. I understand from what
I've read, the server will reject/refuse any messages with the same
message-id if that message-id already exist on the history list...
correct?   Even if there are two articles with the same message id,
the server only list the original(first) article, right?
Re: identical message-id but different article news
#55017
Author: Paul Tomblin
Date: Wed, 07 Nov 2001 16:52
28 lines
2766 bytes
In a previous article, zhang.gary@ssd.loral.com (Gary Zhang) said:
>I am interested in setting multiple feed to my server.  I want to
>avoid having multiple copies of the same news articles but I am sure
>how the server process  the received articles. I understand from what
>I've read, the server will reject/refuse any messages with the same
>message-id if that message-id already exist on the history list...
>correct?   Even if there are two articles with the same message id,
>the server only list the original(first) article, right?

In the communications stream between two news servers, the first server
will say "IHAVE <msgid>".  The second server will look in its own history
database, and if it needs it, it will send back a response saying so.  The
first server will then send the message.  But if the second server already
has that msgid in its database, either because it already has it or it has
gotten a cancel of it, it will send back a response to say that it doesn't
need it, and the first server will not send it the message.

The upshot of this is that there is no way for a properly functioning news
server to have two articles with the same message id.  So the answer to
your first question is "yes", and your last question is moot.


-- 
Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody
"It's free they say, if you can get it to run, the geeks say `hey, that's half
the fun', but I've got a girlfriend and things to get done, the Linux OS sucks"
  - Three Dead Trolls In A Baggie, "Every OS Sucks" http://mp3.com/deadtroll/
Re: identical message-id but different article news
#55018
Author: Curt Welch
Date: Wed, 07 Nov 2001 17:44
35 lines
3202 bytes
zhang.gary@ssd.loral.com (Gary Zhang) wrote:
> I am interested in setting multiple feed to my server.  I want to
> avoid having multiple copies of the same news articles but I am sure
> how the server process  the received articles. I understand from what
> I've read, the server will reject/refuse any messages with the same
> message-id if that message-id already exist on the history list...
> correct?   Even if there are two articles with the same message id,
> the server only list the original(first) article, right?

That's right.  It's part of the fundamental design of Usenet.  It is
assumed that servers will have redundant links so there must be a system in
place to prevent servers from receiving, and re-sending multiple copies of
the same article.

It's all done with the Messgage-ID.  All Usenet servers keep track of which
articles they have received by recording the Message-IDs in some type of
history data base. All Usenet feeds work by first asking the receiving
server if it already has the article, and will only send articles which the
server does not yet have a copy of.  Even if your server only has a single
incoming feed, the system will still ask the server if it wants each
article.  Most feed software is smart enough to know that if a server
always answers YES, then it will stop wasting time asking and just send the
articles, but how that works is not imporant.

Setting up redundant feeds is always safe and you never have to worry about
getting duplicate copies of articles or even worry (much) about wasting
incoming bandwidth.  You will generally never receive the same article
twice, so if you set up two feeds which are sending you the same articles
your total incoming bandwidth will not change much.  Whichever feed offers
you the article first is the only one which will send it to you.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
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