🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by Steve Fri, 21 Nov 2008 09:29
Suspending a feed
#79720
Author: Steve
Date: Fri, 21 Nov 2008 09:29
26 lines
2035 bytes
Hi all,

Once in a while I suffer issues when the incoming volume from one of my
feeds suddenly increases.  This is usually down to misplaced binaries or
misconfigured feeds sending binary groups.  At the moment I'm suffering
this issue with Eweka.  Not really any fault of there's but I've been
swamped for a few days now with misplaced binaries.

As a first course of action I email the newsmaster of the offending
source but beyond that my options seem limited.  I can put a patterns
entry in my incoming.conf but that doesn't actually prevent me from
receiving the volume.  The only effective course of action seems to be
removing the feed completely from my incoming.conf which results in
thousands of 'no permission' log messages and them spooling all the
articles I don't actually want.

I guess what I'm looking for is a way to tell a specific feed that I
already have all the articles they attempt to send me.  This would be an
effective means to instantly stop the incoming volume without the 'no
permission' log messages or the spooling of my feed.  Is there a way to
do this?

-- 
pub   1024D/228761E7 2003-06-04 Steven Crook
      Key fingerprint = 1CD9 95E1 E9CE 80D6 C885  B7EB B471 80D5 2287 61E7
uid                  Steven Crook <steve@mixmin.net>
Re: Suspending a feed
#79721
Author: Francois Petillon
Date: Fri, 21 Nov 2008 13:36
22 lines
2060 bytes
On Fri, 21 Nov 2008 09:29:02 +0000, Steve wrote:
> Once in a while I suffer issues when the incoming volume from one of my
> feeds suddenly increases.  This is usually down to misplaced binaries or
> misconfigured feeds sending binary groups. 

> As a first course of action I email the newsmaster of the offending
> source but beyond that my options seem limited.

You probably may asked your peers to filter out binaries when they are
able to do it. For others, you may ask to set a max size limit (to reduce
the annoyances).

> I guess what I'm looking for is a way to tell a specific feed that I
> already have all the articles they attempt to send me.  This would be an
> effective means to instantly stop the incoming volume without the 'no
> permission' log messages or the spooling of my feed.  Is there a way to
> do this?

You should give clues about the daemon you are using. With Diablo, you may
use offerfilter to filter out some/all M-ID from a specific peer.

François
Re: Suspending a feed
#79724
Author: Julien ÉLIE
Date: Fri, 21 Nov 2008 18:16
23 lines
2132 bytes
Hi Steve,

> I guess what I'm looking for is a way to tell a specific feed that I
> already have all the articles they attempt to send me.  This would be an
> effective means to instantly stop the incoming volume without the 'no
> permission' log messages or the spooling of my feed.  Is there a way to
> do this?

Too bad that the Perl and Python filter_messageid() function does not give
the name of the peer, but only the message-ID...

Another solution would be to add an "ignore" parameter in incoming.conf
and, upon receiving CHECK/IHAVE from a peer, innd would see whether it
is ignored and act accordingly.

Or yet another solution?

-- 
Julien ÉLIE

« -- Et on appelle comment ce genre de logis ?
  -- HLM... Habitations Latines Mélangées... » (Astérix) 
Re: Suspending a feed
#79733
Author: Jeffrey M. Vinocur
Date: Sat, 22 Nov 2008 03:33
23 lines
1807 bytes
In article <gg6tuu$eop$1@news.trigofacile.com>,
Julien ÉLIE  <iulius@nom-de-mon-site.com.invalid> wrote:
>Hi Steve,
>
>> I guess what I'm looking for is a way to tell a specific feed that I
>> already have all the articles they attempt to send me.

This is an interesting idea, but do you really think the benefit
(that the other site won't be spooling articles in the interim)
compared to just blocking the peer is significant?


>Another solution would be to add an "ignore" parameter in incoming.conf
>and, upon receiving CHECK/IHAVE from a peer, innd would see whether it
>is ignored and act accordingly.

This is probably the way to do it...I don't know where else
besides incoming.conf to put an option like this, at least.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Suspending a feed
#79735
Author: Steve
Date: Sat, 22 Nov 2008 15:12
23 lines
2008 bytes
On Sat, 22 Nov 2008 03:33:29 +0000 (UTC), Jeffrey M. Vinocur wrote in
Message-Id: <gg7ui9$bp7$1@puck.litech.org>:

> This is an interesting idea, but do you really think the benefit
> (that the other site won't be spooling articles in the interim)
> compared to just blocking the peer is significant?

I think the real problem is that the recipient is largely at the mercy
of his peers to only send what's wanted.  For full-text feeds this is
tricky as they tend to specify, "feed me everything, with a few
exceptions".  Unfortunately the exceptions can change quite frequently
and when they do, the large commercial feeds with bags of bandwidth
immediately flood their smaller counterparts.

My idea yesterday of a way to ignore a feed isn't really a solution at
all, just a workaround.  I think the real solution would be to have a
flag (probably in newsfeeds) that defines if a peer wants to receive
binaries.

-- 
pub   1024D/228761E7 2003-06-04 Steven Crook
      Key fingerprint = 1CD9 95E1 E9CE 80D6 C885  B7EB B471 80D5 2287 61E7
uid                  Steven Crook <steve@mixmin.net>
Re: Suspending a feed
#79737
Author: Robert
Date: Sat, 22 Nov 2008 16:47
32 lines
2084 bytes
Hi,

> I think the real solution would be to have a flag (probably in 
> newsfeeds) that defines if a peer wants to receive binaries.

But how does the other side (the misconfigured one) know it should
not send binaries ?

I was thinking about an extention of the nntp protocol and implement
something analogue of what smtp does after the HELO/EHLO command.

In smtp we got something like
250-PIPELINING
250-SIZE 20480000
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN

In nntp, we could issue some command and the other site responds with
with something similar, a NOBIN flag, or a SIZE, or even a line
saying what groups are welcome or should left out. Don't ask about the 
computation powers and IP overhead this will take, but it should be 
possible.  It also will attribute to distribution latenty though.

I think it's not the first time someone thinks about this. I never was 
the smartest kid in town :-)

Cheers.
Robert
Re: Suspending a feed
#79740
Author: Julien ÉLIE
Date: Sat, 22 Nov 2008 19:55
34 lines
2178 bytes
Hi Steve,

> I guess what I'm looking for is a way to tell a specific feed that I
> already have all the articles they attempt to send me.  This would be an
> effective means to instantly stop the incoming volume without the 'no
> permission' log messages or the spooling of my feed.  Is there a way to
> do this?

Please see revision 8185 for INN 2.5:

    http://inn.eyrie.org/viewcvs?view=rev&revision=8185

Date:  Sat Nov 22 19:09:57 2008 UTC

Log Message:
Add a new ignore: parameter in incoming.conf.  It compels innd to answer
435 and 438 to IHAVE/CHECK commands from the remote peer so that it does not
send any articles.

Changes:
  innd/innd.h
  innd/nc.c
  innd/rc.c
  samples/incoming.conf



(I'm not backporting it for INN 2.4.)

-- 
Julien ÉLIE

« Audentes fortunat iuvat. » (Virgile)
Re: Suspending a feed
#79746
Author: Steve
Date: Sat, 22 Nov 2008 21:20
16 lines
1440 bytes
On Sat, 22 Nov 2008 20:55:49 +0100, =?Windows-1252?Q?Julien_=C9LIE?= wrote in
Message-Id: <gg9o46$24m$1@news.trigofacile.com>:

> Log Message:
> Add a new ignore: parameter in incoming.conf.  It compels innd to answer
> 435 and 438 to IHAVE/CHECK commands from the remote peer so that it does not
> send any articles.

Hi Julien,

Great, thanks!  I think it will prove quite useful.

-- 
pub   1024D/228761E7 2003-06-04 Steven Crook
      Key fingerprint = 1CD9 95E1 E9CE 80D6 C885  B7EB B471 80D5 2287 61E7
uid                  Steven Crook <steve@mixmin.net>
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