🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #61588

Re: Message-ID generated by newsserver

#61588
From: Juergen Helbing
Date: Wed, 23 Oct 2002 05:53
42 lines
2610 bytes
curt@kcwc.com (Curt Welch) wrote:

>The only problem happens after the closing DOT is sent and before the
>response is received.  

Unfortunately this time is usually very long (seconds) - and can be 
even longer on busy server and for very large (binary) posts.
So the probabiliy for a failure is maximized by the basic method.

>The NNTP POST command is just not
>strong enough to allow automatic reposts in those cases without having
>problems such as lost articles or duplicated articles.

The only solution would be a client side confirmation
to the 240/440/441 responses to a POST command.
Something as a "send finally" command.
But then the problem would be again a timeout during the reponse
of that "send finally" command......

(Any other ideas how to realize a 'perfect' POST command ?)


I've been struggeling a lot with the reliability of the POST command
and found that the best solution would be to have a client-side
generated Message-ID. Then a timeout _can_ be fixed automatically:
The client asks the hosts first (stat command) if it has the message
already. If yes, then the last post was successful - and a retransmission
is not necessary. If no, then the article is posted again with the same
msg-id. If the host had the msgid not yet in his history database (time-lags)
, but had the article already, then no duplicates can be created.
In fact this is a simulation of the IHAVE command ;-)
In all cases just one message is posted perfectly.

Writing binary autoposters with an automatic "resume after failure"
feature is possible - and highly reliable with this method.

Another nice topic for "BCP Binary Usenet"

-- 
Juergen

Technical Details
Message-ID: <09537.na2204@archiver.winews.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!cyclone1.gnilink.net!wn13feed!worldnet.att.net!207.14.113.17!news.alt.net!usenet
References: <4b880fd8d4sclaes@aaug.net> <20021019224600.727$Ng@newsreader.com> <20021022225813$2d5c@vinc17.org> <20021022211105.892$FR@newsreader.com> <20021023033502$7310@vinc17.org> <20021023000055.863$zq@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <09537.na2204@archiver.winews.net>
Subject: Re: Message-ID generated by newsserver
Date: Wed, 23 Oct 2002 05:53:09 +0000
From: archiver@i3w.com (Juergen Helbing)
References: <4b880fd8d4sclaes@aaug.net> <20021019224600.727$Ng@newsreader.com> <20021022225813$2d5c@vinc17.org> <20021022211105.892$FR@newsreader.com> <20021023033502$7310@vinc17.org> <20021023000055.863$zq@newsreader.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!cyclone1.gnilink.net!wn13feed!worldnet.att.net!207.14.113.17!news.alt.net!usenet
Newsgroups: news.software.nntp
Organization: Altopia Corp. - Usenet Access - http://www.altopia.com
Lines: 41
X-Newsreader: MyNews