🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #21531

Re: Early reject of inappropriate binaries

#21531
From: Rahul Dhesi
Date: Mon, 15 Sep 1997 00:00
50 lines
3104 bytes

In <5vghd6$s2b$1@zeus.fw.cuci.nl> srb@zeus.fw.cuci.nl (Stephen R. van
den Berg) writes:

>The only solution I've come
>up with so far would be to forcibly shutdown the TCP-stream, add the message-ID
>to the history anyway, and then let the other side reconnect (at which
>point it might want to retransmit the article, but we simply respond as
>if we had already received it, of course).

>Are there any better methods which avoid having to tear down the TCP-stream?

You could modify the streaming protocol to first send mesage-ids, then
send selected headers (as specified by the receiving site) along with
the first few lines of the bodies, and finally send bodies.  But it
would be much more powerful to be able to supply your upstream sites
with a filter routine written in a portable language.  Ideally the
language would be supported by all feeder software and would be
implemented efficiently.  Specifying parameters such as max paths,
article size, newsgroups is easy.  The hard part is specifying
attributes such as 'is it a binary posting'.  Perhaps the filter
language would allow you to scan the first few lines of the body to look
for key phrases.

The main problem with doing this is the high volume of News today.
High-volume feed sites don't have the cycles to do much scanning of
message bodies or too many headers.  Typically they don't process any
cancels or NoCeMs for the same reason.

Oh, the other problem is that the nntp protocol, as used by client
readers, doesn't support first transferring the first few lines of the
body, then transferring the rest if the client decides it needs it.  So
switching to being an nntp client reader doesn't help very much -- you
still have to either receive the whole article, or break the connection
after reading the first few lines and make another connection.  This is
a problem when you encounter a long un-needed binary posting that you
don't want to read.

For quick, selective News reading you still have to telnet (over your
low-speed connection) to a machine with direct access to the News spool,
then invoke nn/tin/trn there.  Now you can be fast, efficient, and
selective.  This is why NFS as a network protocol shines over nntp.  Try
persuading your upstream site(s) to let you mount their spools read-only
via NFS.  I think FreeBSD now supports NFS over TCP/IP, so it ought
to work remotely.
-- 
Rahul Dhesi <dhesi@spams.r.us.com>

Technical Details
Message-ID: <5vi1on$sr1$1@samba.rahul.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: <5vghd6$s2b$1@zeus.fw.cuci.nl>

Show Full Headers
Complete Article Headers
Message-ID: <5vi1on$sr1$1@samba.rahul.net>
Subject: Re: Early reject of inappropriate binaries
Date: Mon, 15 Sep 1997 00:00:00 +0000
From: c.c.eiftj@73.usenet.us.com (Rahul Dhesi)
References: <5vghd6$s2b$1@zeus.fw.cuci.nl>
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: 272523952
Organization: a2i network
X-Comment: Encoded From: line allows replies that preserve original subject
NNTP-Posting-User: dhesi
Newsgroups: news.software.nntp