🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #59524

Re: News servers, nntpcache, slrn and the Usenet bug "From ".

#59524
From: Ned Latham
Date: Mon, 08 Jul 2002 15:15
46 lines
3404 bytes
Curt Welch wrote in <20020707153953.823$CD@newsreader.com>:

----snip----

> For a good collection of the all the RFCs related to Usenet and a
> ton of disccussins about what people think it "should be", you should
> check out the USEFOR page:
>
>     http://www.landfield.com/usefor/

Okay. Thanks for that.

----snip----

> If you want to save articles with no corruption, you need to use a better
> storage format.
> 
> If you are reading your articles from an NNTP server, the article is
> defined to be everything that comes back from the server after the CR LF on
> the command status line, up to but not including the DOT CR LF which ends
> the article.  And you have to reverse the dot stuffing of course as well by
> removing the DOT from the beginning of all lines.
> 
> Understanding what those bytes mean is another matter, but reading the
> bytes and saving it to a file without corruption is not hard.
> 
> One bullet-proof format I've used to save multiple articles to a single
> file is to simply write them in NNTP wire format and include the trailing
> DOT CR LF as well.

But reading them with what?

>                     When you do this, you can read the articles byte for
> byte as they were sent to you from the NNTP server and know for sure where
> each article begins and ends without having any issues of corruption.
> 
> Dot stuffing and unstuffing opens the door for corruption between the save
> and the re-transmit which can be avoided with the above technique.

Something to think about. Thanks again, Curt.

Ned
-- 
To reply, cut out my nose        *   Democracy means "the people rule".  *
 and make the met a net.         *     Fight for the power of assent.    *
Technical Details
Message-ID: <slrnaijbb7.70h.nenosed@arthur.valhalla.net.oz>
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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.mel.connect.com.au!news.can.connect.com.au!nenosed
References: <slrnaiaghh.333.nenosed@arthur.valhalla.net.oz> <87eleisdsw.fsf@erlenstar.demon.co.uk> <slrnaib0fg.3b6.nenosed@arthur.valhalla.net.oz> <DNhV8.6017$xf3.1063173@news11-gui.server.ntli.net> <slrnaibc7b.3hu.nenosed@arthur.valhalla.net.oz> <1rlm8q2ots.fsf@vingodur.ifi.uio.no> <slrnaictt1.4d2.nenosed@arthur.valhalla.net.oz> <ylfzyxl9fx.fsf@windlord.stanford.edu> <slrnaid18u.4d2.nenosed@arthur.valhalla.net.oz> <1fewjzr.f4w0w51pfr20yN%planB@newsreaders.com> <slrnaigj8g.600.nenosed@arthur.valhalla.net.oz> <20020707153953.823$CD@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnaijbb7.70h.nenosed@arthur.valhalla.net.oz>
Subject: Re: News servers, nntpcache, slrn and the Usenet bug "From ".
Date: Mon, 08 Jul 2002 15:15:26 +0000
From: nenosed@news.apex.met.au (Ned Latham)
References: <slrnaiaghh.333.nenosed@arthur.valhalla.net.oz> <87eleisdsw.fsf@erlenstar.demon.co.uk> <slrnaib0fg.3b6.nenosed@arthur.valhalla.net.oz> <DNhV8.6017$xf3.1063173@news11-gui.server.ntli.net> <slrnaibc7b.3hu.nenosed@arthur.valhalla.net.oz> <1rlm8q2ots.fsf@vingodur.ifi.uio.no> <slrnaictt1.4d2.nenosed@arthur.valhalla.net.oz> <ylfzyxl9fx.fsf@windlord.stanford.edu> <slrnaid18u.4d2.nenosed@arthur.valhalla.net.oz> <1fewjzr.f4w0w51pfr20yN%planB@newsreaders.com> <slrnaigj8g.600.nenosed@arthur.valhalla.net.oz> <20020707153953.823$CD@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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.mel.connect.com.au!news.can.connect.com.au!nenosed
Newsgroups: news.software.nntp,news.software.readers
Organization: APEX Internet
Lines: 45
Reply-To: nenosed@apex.met.au
NNTP-Posting-Host: news.apex.net.au
X-Trace: auwa.connect.com.au 1026141326 2373 210.9.132.20 (8 Jul 2002 15:15:26 GMT)
X-Complaints-To: abuse@connect.com.au
NNTP-Posting-Date: 8 Jul 2002 15:15:26 GMT
User-Agent: slrn/0.9.6.3 (Linux)
Cache-Post-Path: web.apex.net.au!ned@210.9.133.114
X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/)