🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #9445

Re: ihave enhancement

#9445
From: Kenneth Herron
Date: Fri, 19 Jul 1996 00:00
86 lines
4534 bytes
In article <4sjs6e$ob0@olivea.ATC.Olivetti.Com>,
Jerry Aguirre <jerry@strobe.ATC.Olivetti.Com> wrote:
|In article <4sie8l$hc0@mujibur.inmind.com> thogard@inmind.com (Tim Hogard) writes:
|>
|>ihave <id@host> 12345 misc.test,alt.test
|...
|>The purpose of this is to allow inn to kill messages before transfering them
|>based on size or groups theya re posted in.
|
|How do you handle massive crossposting where the
|newsgroups line is longer than the max allowed NNTP string length?

Probably insert a placeholder which couldn't be interpreted as a valid
group name.  Perhaps define an alternate format for this field, such
as
	!24
meaning the article was posted to (eg) 24 groups.

|What about distributions and dates?

...and Path...whether it's a control message...

|Two issues present themselves.  First is you want to negotioate this
|mode....
|You could use something like "mode size/group" or such....
|Consider using the "check" command instead of "ihave"....

I started with the same simple idea once, then started considering 
these additional issues.  My eventual conclusion was that the best
design would start by dumping the classic NNTP protocol.  Consider:

We're up to seven pieces of info that might be used to reject the article.
That can be a significant amount of info, but most sites won't need
most of it.  It'd be wrong to hardcode the new format as rigidly as,
say, the overview format.  The sender & receiver should be able to 
negotiate the desired information.  This is unprecedented for NNTP.

Like you mentioned, NNTP commands have a length limit.  The added data
will mean expanding this limit.  Where do you set the new limit?  (And
while on that subject, consider that NNTP's command format is relatively
CPU-intensive to parse, vs. something with, say, field-length tags).

As we all know, IHAVE wastes bandwidth by being synchronous.  As I
understand CHECK, it's still synchronous but makes better use of
bandwidth; it also causes long delays in the server while it processes
each CHECK (yeah, this is an implementation issue).  A fully asynchronous
protocol would be nice.  While on that subject, it'd be nice if the
articles could be sent compressed, preferably as one long stream,
and how about letting sender & receiver negotiate CRLF vs. LF?

What I ended up with was an entirely new protocol which works,
rather abstractly, as follows.  You can hopefully see how some
of the ideas above would fit into this:

	1)	Sender opens channel to receiver, they negotiate
		what receiver wants to know about each article
		& method for transferring articles.
	2)	Sender begins offering articles to receiver.  Just
		one offer-packet after another, with no wait for
		a reply from the receiver.
	3)	If receiver sees something it wants, it sends a
		request packet back to the sender.  Again, no
		wait for a reply from the sender.  Receiver may
		request articles out of order, it may request an
		article more than once, etc.  It may not request
		an article which hasn't been offered to it, for
		security reasons.
	4)	The sender may occasionally issue a "last call"
		on the articles it has offered.  The receiver must
		complete its requests on articles offered so far
		and indicate that it has done so.
	5)	Articles are sent via a separate channel of some
		sort, which could be another TCP stream, a UUCP
		batch, raw RFC1149 datagrams, or what-have-you.

Unfortunately, this is a classic Partially Baked Idea.  I've outlined it
a couple of times before, and Harry Bochner (sp?) has trumpeted it as
well, but nobody's yet done anything with it.  Personally, when I first
developed this idea I just didn't have the time, then I wasn't a news
admin, and now anything I do would be property of MCI... :-(
-- 
Kenneth Herron      kherron@campus.mci.net      +1 916 649 6142
No animals were harmed during the production of this message.

Technical Details
Message-ID: <4soi5a$n6r@news.campus.mci.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!not-for-mail
References: <4sie8l$hc0@mujibur.inmind.com> <4sjs6e$ob0@olivea.ATC.Olivetti.Com>

Show Full Headers
Complete Article Headers
Message-ID: <4soi5a$n6r@news.campus.mci.net>
Subject: Re: ihave enhancement
Date: Fri, 19 Jul 1996 00:00:00 +0000
From: kherron@campus.mci.net (Kenneth Herron)
References: <4sie8l$hc0@mujibur.inmind.com> <4sjs6e$ob0@olivea.ATC.Olivetti.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!not-for-mail
X-Deja-AN: 169701338
Distribution: inet
Organization: CampusMCI
Newsgroups: news.software.nntp