Article View: news.software.nntp
Article #51643Re: Question: Overflow on path line ... what to do ?
From: Juergen Helbing
Date: Thu, 05 Apr 2001 07:28
Date: Thu, 05 Apr 2001 07:28
47 lines
2801 bytes
2801 bytes
curt@kcwc.com (Curt Welch) wrote: >mynews@i3w.com (Juergen Helbing) wrote: >> I am actually handling path lines up to 1024 bytes with MyNews by default >> - but what do other servers do ? > >The core article processing code of my server only has one limit - the max >size of any entire article which is I think set at 10MB. If you are writing >new server code today you would be a fool to structure it in such a way >that any of the headers were limited to small numbers like 1024 bytes. You >shouldn't be using fixed sized buffers for processing articles or headers. Thanks for this tip. >It is ok and wise to reject and/or drop articles because they violate >various size limits, but your code should all be written to make it easy to >deal unlimited size headers and header lines. I can accept this, but there should be limits. >It's never OK for a server to truncate any header and it's never ok for a >server to change any header other than Path or Xref for articles which pass >though it. When I have the coice between "truncating headers" and "no propagation" then I choose the first one. >You shouldn't change the order of the header lines, you should >add or remove spaces, you should NEVER clean up headers. Pass it on as you >found it or don't. Those are your only options. I understand well that the Usenet servers should just act as a transparent 'transit station'. But the purpose of my question was to find out extreme situations - and this question has been well answered. On a decentral P2P news network paths with 1000 servers can be easily created. Then the path line has 20 kBytes - and the message body is "OK, I agree....." I have no choice.... I have to implement something. Thanks for taking the time to answer. -- Juergen
Technical Details
Message-ID:
<54129284301@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!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!newsfeed.berkeley.edu!ucberkeley!enews.sgi.com!newshub2.rdc1.sfba.home.com!news.home.com!cyclone-sjo1.usenetserver.com!news-out-sjo.usenetserver.com!news.alt.net!archiver.winews.net!not-for-mailReferences:
<o3129021000@archiver.winews.net> <20010327084208.717$La@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <54129284301@archiver.winews.net> Subject: Re: Question: Overflow on path line ... what to do ? Date: Thu, 05 Apr 2001 07:28:43 +0000 From: mynews@i3w.com (Juergen Helbing) References: <o3129021000@archiver.winews.net> <20010327084208.717$La@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!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!newsfeed.berkeley.edu!ucberkeley!enews.sgi.com!newshub2.rdc1.sfba.home.com!news.home.com!cyclone-sjo1.usenetserver.com!news-out-sjo.usenetserver.com!news.alt.net!archiver.winews.net!not-for-mail Newsgroups: news.software.nntp Organization: Altopia Corp. - Usenet Access - http://www.altopia.com Lines: 46 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Newsreader: MyNews