🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Stephen R. van den Berg Sun, 14 Sep 1997 00:00
Early reject of inappropriate binaries
#21515
Author: Stephen R. van den Berg
Date: Sun, 14 Sep 1997 00:00
33 lines
2191 bytes
I was wondering; picture this:
- You have one or more streaming/non-streaming feeds (all across the same
  link from the same upstream site running innfeed and innxmit for backup).
- You're receiving things like the alt.fan hierarchy.
- You're already limiting the article size to 64KB on this feed.
- You'd like to avoid receiving the binaries posted in there (to conserve
  bandwidth, primarily); and, yes, a lot of binary postings are smaller than
  64KB (either because the binary is small enough, or because the poster,
  by some strange accident, is "prudent" enough to split the binary in
  multiple parts).

Now, I'm currently running INN.  What I would like to do is make sure
that INN detects (I'm going to patch INN to do this, most likely) that it
is currently receiving an article it doesn't want (like a binary posting in
the alt.fan hierarchy), and then immediately abort the transfer of this
article.

The way I see it, this does not seem to be readily possible within the
current protocol (streaming or non-streaming).  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?
-- 
Sincerely,                                                          srb@cuci.nl
           Stephen R. van den Berg (AKA BuGless).

"Father's Day: Nine months before Mother's Day."

Re: Early reject of inappropriate binaries
#21528
Author: mills
Date: Mon, 15 Sep 1997 00:00
24 lines
1500 bytes
In <5vi1on$sr1$1@samba.rahul.net> c.c.eiftj@73.usenet.us.com (Rahul Dhesi) writes:

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

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

>								But it
>would be much more powerful to be able to supply your upstream sites
>with a filter routine written in a portable language.

The place to do the filtering is at the posting site, because the
posting volume is low enough that extensive filtering and verification
can be applied to articles.  Once an article has been determined to be
legitimate, it should never need to be checked again.  Just tag the
article with a header that says it has been checked at the posting site.
The header would have to be resistant to forgery, of course.  Can we
do this?

-- 
-Gary Mills-    -Unix Support-    -U of M Academic Computing and Networking-

Re: Early reject of inappropriate binaries
#21531
Author: 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>

Re: Early reject of inappropriate binaries
#21545
Author: Stephen R. van den Berg
Date: Mon, 15 Sep 1997 00:00
22 lines
1629 bytes
Jeremy  <jeremy@exit109.com> wrote:
>Rahul Dhesi <c.c.eiftj@73.usenet.us.com> wrote:
>> 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.

>Okay, so, once you've got it mounted, what do you do with it, exactly?

Well, you could use it instead of an NNTP feed, of course.  But, indeed,
that's not what I was looking for.  I have an NNTP feed and would like
to keep it.  Receiving the msgids through NNTP, then checking the
content of those messages through NFS, then receiving the messages through
NNTP, probably is not a workable solution (latency too high).
-- 
Sincerely,                                                          srb@cuci.nl
           Stephen R. van den Berg (AKA BuGless).

Real programmers don't just die, they produce core dumps.

Re: Early reject of inappropriate binaries
#21546
Author: Stephen R. van den Berg
Date: Mon, 15 Sep 1997 00:00
27 lines
1804 bytes

In article <mills.874291222@capella>,  <mills@cc.umanitoba.ca> wrote:
>The place to do the filtering is at the posting site, because the
>posting volume is low enough that extensive filtering and verification
>can be applied to articles.  Once an article has been determined to be
>legitimate, it should never need to be checked again.  Just tag the
>article with a header that says it has been checked at the posting site.
>The header would have to be resistant to forgery, of course.  Can we
>do this?

In effect, this is what is being done in UsenetII.  With the only
difference that, it's simply not allowed to post inappropriate postings.
If a site does this (repeatedly), it gets thrown off.

This means, that *no* filtering of postings is necessary, since all
postings are valid (wanted).

In the existing Usenet, this doesn't work, since you'd have to demand
that every site filter their posted articles.
-- 
Sincerely,                                                          srb@cuci.nl
           Stephen R. van den Berg (AKA BuGless).

Real programmers don't just die, they produce core dumps.

Re: Early reject of inappropriate binaries
#21555
Author: Jeremy
Date: Mon, 15 Sep 1997 00:00
15 lines
1071 bytes
Rahul Dhesi <c.c.eiftj@73.usenet.us.com> wrote:

> 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.

Okay, so, once you've got it mounted, what do you do with it, exactly?

-- 
Jeremy  |  jeremy@exit109.com
Here's a nickel, kid.  Go buy yourself a real computer.

Re: Early reject of inappropriate binaries
#21662
Author: Bruce Becker
Date: Thu, 18 Sep 1997 00:00
25 lines
1544 bytes
In article <5vi1on$sr1$1@samba.rahul.net>,
Rahul Dhesi <c.c.eiftj@73.usenet.us.com> wrote:
|
|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.


	This is a cool idea - I suspect there might be
	some difficult authentication issues to resolve
	in order for it to get accepted by ISP's however...


-- 
  ,u,	 Bruce Becker		Toronto, Ontario	1 416 699 1868
a /i/	 Internet: bdb@gts.org	Uucp: ...!gts!bdb
 `\o\-e  "One must respect the customs of those who are unable to speak."
 _< /_	 						- Cody Ann Michaels

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads