🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #65178

Re: In-Reply-To and XOVER

#65178
From: Curt Welch
Date: Tue, 06 May 2003 21:17
154 lines
8763 bytes
pezzano <n@tdsxmilllpor.com> wrote:
> >curt@kcwc.com (Curt Welch)

> >It's mostly harmless to add non-standard headers to posts and I'm not
> >aware of any news server that won't show them to you with a HEAD
> >command.  The only real danger is picking a header name which someone
> >else is also trying to use for a different purpose.

> Does a list exist?

No, not really.  There are the RFCs of course which attempt to document the
normal headers.  And in general, there aren't too many other ones that
would cause problems if you redefined them.  Mostly, the best way to figure
it out is to just search as many articles as possible to see what people
are using.

> It's impossible to check for every occurance of a
> header added by clents and nonstandrd headers entered by users.
> Added headers in Message-ID:
> <courier.3EB47148.00002FA0@ny.email-scan.com> look excessive but not
> extreme I see lots of articles with more.

Yeah, that's just people putting crap in the headers which really shouldn't
be there, but it's mostly harmless.

> I can come up with a
> label/name convention if thats enough to avoid others already in use, bad
> data strings sent by existing newsreaders wont affect the downloader
> those articles wont be in the initial listview until the user asks for
> "show all articles".

If you just make up an X- name which isn't typical, that's fine.  It's no
big deal if someone happens to duplicate it later.  Any code you write
which trys to interpret your special X- headers should of course be able to
deal with bogus data in an intelligent way so if someone were to post
articles using your speical headers it's not going to cause problems with
your newsreader.

> >> Is 200 bytes an extreme length for a mid,
> >
> >Yes.  It should work up to about 250 I think but it would be bad if you
> >did something to cause any large volume of usenet posts to have
> >message-ids like that.

> It may.  200 bytes is a lot to work with I want to get as much as
> possible as fast as possible entered into the retrevial tools database
> during header retrevial, using the MID was a first choice.

What are you working on?  Do you know about the xBin work?  If you tell us
more about what you are doing you might get better answers.

> >I would not advise putting 200 bytes of data into the Message-ID.  It
> >would be far better to put the data in X- headers if there is not a very
> >very good reason to put it in the Message-ID.

> It's the first thing I want the reader to look at. The more data I can
> pack in the MID the better. Is there a labeling convention for X headers
> or can they be alphanumeric only?

Yes, read the RFCs.  They document what character set can be used in
headers.

> If I send new a set of four X-headers
> will it make a difference at newservers between
>         X-Label: Text Only   or    X-: alpahnumeric

X- is probably an invalid header label though I doubt that would cause any
real problems for existing newsreaders.  As far as what comes after the ":
", you cat use just about anything other than CR LF or NUL.  But sticking
to 7 bit printable characters plus space is wise.  Once again, check out
the RFCs because I'm sure they are more precise about what should and
should not be allowed.

> The downloader  needs to see the label then read the right side
> of the colon  :
> X-NewField1: 1a
> X-NewField2: 1a2b
> X-NewField3: 1a2b3c
> X-NewField4: 1a2b3c4d
>
> The headers will be longer but less than the MID unless I have to
> back up and use one of those first, the idea is to be as server compliant
> as possible and keep entries trimmed as short as possible but adding to
> data or headers is growth. Ionly want to use a bare minimum to try
> and keep header sizes close to what we already have, these articles
> plus headers will be larger than stock nevertheless.
>
> To clarify this, it is a posting tool and a seperate retrevial tool for
> attachments sent by the post tool (it can see and download
> any file) It's not a text newsreader or text poster it's uses a sql db
> populated with the decoded strings read from headers and the MID
> and makes full articles available for download to a directory of choice.
> A few additions to those basics are in the works for ease of use and
> to simplify some other operations users normally do at both ends.

People post 800 GB of data to Usenet every day without your "new headers".
What are you putting in your headers that aren't already in articles?  Are
you trying to create a new standard or something that will only work with
your software?  Well the stuff posted by your tool be redable by all the
other usenet binary tools?  If not, why not?

> >When news servers peer, they pass around the Message-ID many many times,
> >but only pass the article itself once.  This is because when a peer
> >offers an article, it sends "CHECK <the-messaage-id>".  The server then
> >sends back a line which includes the same message-id whether the
> >receiving server wanted the article or not.  If you have 20 peers (not
> >uncommon) they are all likely to offer you the same article, but only
> >the first to offer it is asked to send it.  This means that servers may
> >send the Message-ID of your article over the internet 40 toimes more
> >than the number of times the article itself is sent.  If you put 150
> >extra bytes into a message-id, you can end up wasting 40 times more
> >bandwidth than every byte you put elsewhere in the article.

> Headers are a seperate entity at the server, meaning added headers
> are part of the articlesize? if I read that correctly.

Usenet articles are normally transported and stored on disk as one file
with the headers and body combined.  So for most of usenet, it makes little
difference if you put bytes in the headers or the body.  It makes the
entire article bigger either way.  Adding hundreds of bytes to the header
is not going to cause any big issues, but you of course should never add
data there if you can put it in the body instead.

> X headers cant do
> the job properly without a chunk of data being contained in the MID, what
> size chunk we can get away with in the MID is the question.
>
> >In addition, Message-Ids get stored on the disk in many different
> >locations, so you waste extra space there on every server around the
> >world as well.
> Can a max mid length be defined? 20 bytes is not enough, 80 is ok, 140 is
> better, 200 bytes is too much   :(
>
> I ran into an article rejection with the RHS being longer than  nnn.ext

With the RHS being longer than 7 characters?  No news server would do that.

> it seems like a server quirk. It's consistently rejected at one server,
> the same article (different MID each time) with the same RHS posts at
> other servers but not on one if I use more than a 3.3 RHS format. This
> is a certain outsourced ISP newserver,something is wrong since this
> newsreader posts text with an @4ax.com format that server never
> bounces an agent post.

4ax.com is a 3.3 format which you said it allows.  YOu aren't making much
sense here.

The server is rejecting it for some other reason that just the size of the
RHS.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20030506171723.698$DL@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.uchicago.edu!yellow.newsread.com!netaxs.com!newsread.com!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <Ntrsa.408$i7.77555@news.siol.net> <b8tibn$p8e$2@puck.litech.org> <Ynssa.411$i7.78114@news.siol.net> <ylel3h8g22.fsf@windlord.stanford.edu> <55ysa.420$i7.78671@news.siol.net> <20030502134726.973$wp@newsreader.com> <5mt5bvcdm2flniunjc7296m6hvp6afr0i0@4ax.com> <20030502231746.943$6m@newsreader.com> <fg6abv46iaf5lk9fvhk33uq3ghjvg516e4@4ax.com>

Show Full Headers
Complete Article Headers
Message-ID: <20030506171723.698$DL@newsreader.com>
Subject: Re: In-Reply-To and XOVER
Date: Tue, 06 May 2003 21:17:24 +0000
From: curt@kcwc.com (Curt Welch)
References: <Ntrsa.408$i7.77555@news.siol.net> <b8tibn$p8e$2@puck.litech.org> <Ynssa.411$i7.78114@news.siol.net> <ylel3h8g22.fsf@windlord.stanford.edu> <55ysa.420$i7.78671@news.siol.net> <20030502134726.973$wp@newsreader.com> <5mt5bvcdm2flniunjc7296m6hvp6afr0i0@4ax.com> <20030502231746.943$6m@newsreader.com> <fg6abv46iaf5lk9fvhk33uq3ghjvg516e4@4ax.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.uchicago.edu!yellow.newsread.com!netaxs.com!newsread.com!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com DjT6Ymrk+fW9k+Q,CpL9qd_XQ5k9Z3BY-5S@nI_VxSYRXjfG.U
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
  %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 153