Thread View: news.software.nntp
14 messages
14 total messages
Started by Mark A. Stevens
Tue, 18 Mar 1997 00:00
Selective Reception of Newsgroups using INN 1.5.1
Author: Mark A. Stevens
Date: Tue, 18 Mar 1997 00:00
Date: Tue, 18 Mar 1997 00:00
18 lines
1239 bytes
1239 bytes
Is there a way to not receive articles for newsgroups (thousands possibly) from my NNTP feeds without them having to modify their newsfeeds file with thousands of lines of unwanted newsgroups. My boss is considering the removal of thousands of newsgroups that our users do not read, to reduce the consumption of our T1. I don't know of a way to do this, but then, there's a lot I don't know. -- Mark A. Stevens Phone: 708-235-2204 Systems Programmer/Administrator Internet: xmas@uxa.ecn.bgu.edu Educational Computing Network WWW: http://www.ECNet.Net/users/xmas/ Governors State University VMSHARE: ECE/MARK
Re: Selective Reception of Newsgroups using INN 1.5.1
Author: Jeff Garzik
Date: Tue, 18 Mar 1997 00:00
Date: Tue, 18 Mar 1997 00:00
47 lines
2636 bytes
2636 bytes
(cc'd to author) Mark A. Stevens wrote: > Is there a way to not receive articles for newsgroups (thousands > possibly) from my NNTP feeds without them having to modify their > newsfeeds file with thousands of lines of unwanted newsgroups. > My boss is considering the removal of thousands of newsgroups that our > users do not read, to reduce the consumption of our T1. First and foremost, most peers probably won't want to have someone specify their feed on a per-newsgroup level. It bogs the incoming feeds down feeding you, because they have to search a really long list to find whether or not the hub should send you the article. I remember specifically reading that doing so is a bad thing in Diablo. I don't think you are going to be able to avoid messing with each of your incoming feeds, but look first at where all the traffic is going. An across-the-board article size limitation on the remote side is very easy to implement, and can cut bandwidth consumption. dynafeed allows you to remotely adjust your feed via e-mail, but I don't know whether or not it works with INN. If it does (and your peers don't mind what I described above), running dynafeed on each incoming feed would probably be your best bet. If you run NoCeM-on-spool and connect to hosts that distribute articles rapidly, you can cut bandwidth consumption too; ncmspool will place spam articles that haven't yet arrived on your server in your history file, so they aren't even transmitted to you. Not receiving spam can cut bandwidth consumption too. Aside from that, all I can think of is really funky solutions, like running a daemon each incoming feed; the daemon would collect message ids from messages that you DONT want, and send them across with the assumption that they would be added to the history file before being offered to you via normal channels. And of course if you need help, I do consulting. :) Jeff Garzik Spinne Usenet News Service http://www.spinne.com/usenet/
Re: Selective Reception of Newsgroups using INN 1.5.1
Author: Per Hedeland
Date: Wed, 19 Mar 1997 00:00
Date: Wed, 19 Mar 1997 00:00
44 lines
2763 bytes
2763 bytes
In article <332F4030.75CC9FD@spinne.com> Jeff Garzik <jeff.garzik@spinne.com> writes: >Mark A. Stevens wrote: >> Is there a way to not receive articles for newsgroups (thousands >> possibly) from my NNTP feeds without them having to modify their >> newsfeeds file with thousands of lines of unwanted newsgroups. > >> My boss is considering the removal of thousands of newsgroups that our >> users do not read, to reduce the consumption of our T1. There is no way with a traditional "push" feed to reduce bandwidth without involving your feed admins. It is possible with a "pull" feed of course, but the feed admins may like that even less.:-) >First and foremost, most peers probably won't want to have someone >specify their feed on a per-newsgroup level. It bogs the incoming feeds >down feeding you, because they have to search a really long list to find >whether or not the hub should send you the article. I remember >specifically reading that doing so is a bad thing in Diablo. Not so with INN though - feed time is independant of the length of the subscription lists (but presumably decreases with the number of newsgroups matched by the lists). Strange how people keep overlooking previously existing technology even when it's freely available... >dynafeed allows you to remotely adjust your feed via e-mail, but I don't >know whether or not it works with INN. If it does (and your peers don't >mind what I described above), running dynafeed on each incoming feed >would probably be your best bet. An alternative that does work, and work well, with INN is 'gup' (e.g. at ftp://ftp.isc.org/isc/inn/unoff-contrib/gup-0.4.tar.gz) - it's probably less sophisticated than dynafeed, but may actually suit your needs better (I believe the purpose of dynafeed is to automatically adjust your subscription depending on which groups are actually read - you may not want that:-). You still need to get your feed admins to install it of course, but once that is done, you can change your subscriptions without manual intervention from them. --Per Hedeland per@erix.ericsson.se
Re: Selective Reception of Newsgroups using INN 1.5.1
Author: Joe St Sauver
Date: Thu, 20 Mar 1997 00:00
Date: Thu, 20 Mar 1997 00:00
104 lines
5726 bytes
5726 bytes
In article <yy3iv2mzyqu.fsf@velo.pp.vix.com>,
James Brister <brister@vix.com> wrote:
>A smart feeder program could monitor the responses (INN says "unwanted
>newsgroup") and adjust feeding based on that. I think I'll try that in
>innfeed.
I'd urge you not to do this unless it is something that has an adjustable
nuke-after-unwanted-for-at-least-N-days window, or some mechanism for
providing feedback to the downstream site about groups that are being
auto-banged from their feed.
Why? Well, many people add groups in batches these days rather than doing
them on a onesie-twosie basis, so there may be groups that appear to be
"unwanted" for a period of time, when the reality is that the admin on
the other end is just in between additions/synchronization cycles.
The other thing I worry about is the accretion of huge lists of banged out
groups on a group-by-group basis (or, alternatively, the use of wildcarded
bangs that correctly reflect potential consolidations at the time they are
identified and employed, but which fail to correctly cope with new groups
that coincidentally fall into the consolidated bang pattern at some later
time).
One thing that *would* be highly useful, I think, would be a mechanism for
providing feedback to the downstream site about their feed's performance
or lack thereof. Short form requirement statement:
-- currently news.daily goes only to the local newsadmin, which means that
problems with the remote server only get communicated to the remote
admin (if/when they are noticed and dealt with at all) via manual
intervention from the local newsadmin
-- info that should be brought to the remote newsadmin's attention on
a selectable basis includes (IMHO):
-- basic information about the current configuration of the local site,
such as:
-- does the local site accept streaming feeds?
-- what's the maximum number of feed channels the local site is
willing to accept?
-- what's the local site's G (max-crossposting) preference?
-- what's the local site's < (largest article size) preference?
-- the contact address for changes to the local host
-- current feed technology being used to feed the remote site
(innxmit, innfeed, nntplink or whatever), the max number of
simultaneous connections used (note that this implies meta
knowledge about which feed streams are related to each other),
and how the feeds are being split (i.e., by hierarchy, by size,
or whatever)
-- basic information about the remote site, such as:
-- a copy of the local host's current newsfeeds entry for the remote
site
-- relevant excerpts from hosts.nntp, innfeed.conf and/or nntpsend.ctl
-- current contact information of record for the remote site
-- ping statistics to the remote site
-- a traceroute to the remote site from the local site
-- a list of the sites that the local peer is currently shunning (if
any) via entries on the ME line (so the remote host can update
their newsfeeds file to avoid offering articles that have
traversed shunned sites)
-- in the case of sites with high rejection rates, a list of *high
volume* unwanted groups (selected via a minimum article
threshold (let's say groups contributing at least 1% to the rejection
rate for that site), in cut-and-pastable format suitable for newsfeeds
-- *entire hierarchies* that appear to be unwanted (if such hierarchies
can be identified, perhaps by the local host retrieving the remote
host's active file and comparing the remote's active to the local's
active), again, cut-and-pastable
-- backlogging to the remote site sufficient to invoke feed truncation,
including information about the number of discarded articles and
whether or not the backlogs are sorted prior to truncation (and if
so, in ascending or descending order)
-- rejection of massively crossposted articles by the remote host that
is inconsistent with the local host's current G setting for the
remote machine
-- rejection of jumbo articles by the remote host that is inconsistent
with the local host's < setting for the remote machine
-- selectable excerpt's from the syslog files pertaining to the remote
site
-- in the case of high-refusal rate sites, a list of current peer path
host entries and accepted articles per path host so that the local
host and the remote host can identify and alias out high volume,
full feed, common peers
At least that's the sort of feedback that I think it would be useful to be
able to get and give, maybe on a monthly basis.
Regards,
Joe St Sauver (joe@oregon.uoregon.edu)
University of Oregon Computing Center
Re: Selective Reception of Newsgroups using INN 1.5.1
Author: James Brister
Date: Thu, 20 Mar 1997 00:00
Date: Thu, 20 Mar 1997 00:00
17 lines
1167 bytes
1167 bytes
per@erix.ericsson.se (Per Hedeland) writes: > There is no way with a traditional "push" feed to reduce bandwidth > without involving your feed admins. It is possible with a "pull" feed of > course, but the feed admins may like that even less.:-) A smart feeder program could monitor the responses (INN says "unwanted newsgroup") and adjust feeding based on that. I think I'll try that in innfeed. James -- James Brister brister@vix.com Internet Software Consortium http://www.isc.org inn@isc.org
Re: Selective Reception of Newsgroups using INN 1.5.1
Author: Mark Turner
Date: Fri, 21 Mar 1997 00:00
Date: Fri, 21 Mar 1997 00:00
24 lines
1610 bytes
1610 bytes
James Brister <brister@vix.com> wrote: > > A smart feeder program could monitor the responses (INN says "unwanted > newsgroup") and adjust feeding based on that. I think I'll try that in > innfeed. I'm not keen on that as I believe that it is innd's job to sort out which groups go where, and innd already does a very good job of that. Kludging tuning of a feed into a feed tool such as innfeed will only add another place for things to go wrong, get out of step, need debugging when the customer asks why certain articles didn't get through, etc. etc., IMHO. If customers want finer resolution or automated control of their feed then tools such as gup are available. If you do add such a feature please consider leaving it off by default, and written in such a way as to not slow down normal (by which I mean as it does things now) operation. Cheers, Mark.
Re: Selective Reception of Newsgroups using INN 1.5.1
Author: James Brister
Date: Fri, 21 Mar 1997 00:00
Date: Fri, 21 Mar 1997 00:00
22 lines
1368 bytes
1368 bytes
markt@uunet.pipex.com (Mark Turner) writes: > I'm not keen on that as I believe that it is innd's job to sort out > which groups go where, and innd already does a very good job of that. Unfortunately, for various reasons, serious fine-tuning of the newsfeeds entries are rare. Someone who's doing this with innxmit told me that they've been able to drop a lot of articles, so obviously their clients aren't informing them of article file changes. I'd prefer to have a robust, automated mechanism for newsfeed tuning, but until then... When/if I try this in innfeed, the default will be off. James -- James Brister brister@vix.com Internet Software Consortium http://www.isc.org inn@isc.org
Re: Selective Reception of Newsgroups using INN 1.5.1
Author: Perry Rovers
Date: Fri, 21 Mar 1997 00:00
Date: Fri, 21 Mar 1997 00:00
18 lines
1494 bytes
1494 bytes
A flock of rogue penguins inspired James Brister (brister@vix.com) to tell news.software.nntp: : I'd prefer to have a robust, automated mechanism for newsfeed tuning, but : until then... We use a system that UUCP sites can use to update their feed. It's an extended version/rewrite of something that Cor Bosman of XS4All once wrote. Sites send in updates and they're processed automatically. Hasn't failed us in ages *knock on wood* It allows you to add/remove groups and change the max_article_size parameter. This could presumably be extended to include more features of the newsfeeds file, though it could be a lot of work. Also, if you're going to do that kind of thing the newsfeeds file could presumably get very large. : When/if I try this in innfeed, the default will be off. And right you are.
Re: Selective Reception of Newsgroups using INN 1.5.1
Author: James Brister
Date: Fri, 21 Mar 1997 00:00
Date: Fri, 21 Mar 1997 00:00
36 lines
1987 bytes
1987 bytes
joe@decoy.uoregon.edu (Joe St Sauver) writes: > In article <yy3iv2mzyqu.fsf@velo.pp.vix.com>, > James Brister <brister@vix.com> wrote: > >A smart feeder program could monitor the responses (INN says "unwanted > >newsgroup") and adjust feeding based on that. I think I'll try that in > >innfeed. > > I'd urge you not to do this unless it is something that has an adjustable > nuke-after-unwanted-for-at-least-N-days window, or some mechanism for > providing feedback to the downstream site about groups that are being > auto-banged from their feed. It will have to be smarter than a simple perpetual-drop-if-not-wanted. A peer that has WANT_TRASH set to DO will emit the "unwanted" response, even though it really does want them... Innfeed would need per-peer settings. Some sort of timeout would be necessary (I think an hour would be reasonable). Perhaps a high level log notice if the remote suddenly started rejected lots. > One thing that *would* be highly useful, I think, would be a mechanism for > providing feedback to the downstream site about their feed's performance > or lack thereof. Short form requirement statement: Looks useful. I'll file that in the 'futures' folder. Thanks James -- James Brister brister@vix.com Internet Software Consortium http://www.isc.org inn@isc.org
Re: Selective Reception of Newsgroups using INN 1.5.1
Author: Chrisy Luke
Date: Mon, 24 Mar 1997 00:00
Date: Mon, 24 Mar 1997 00:00
39 lines
2670 bytes
2670 bytes
On 24 Mar 1997 00:30:08 GMT, the Killer Plum Squad forced per@erix.ericsson.se (Per Hedeland) to write: >Then so be it, I'd say - innfeed is still the wrong place to do this, >IMHO. Innd has a very efficient mechanism to handle the feed lists, >whereas innfeed, doing this second-guessing, presumably would have to >parse the article headers (which innd already did, of course) to find >out which newsgroups they're going to, and search through potentially >long lists of unwanted groups to decide if it should really send them. For newsgroup parsing, I agree, however there is an area similar to this where post-processing in innfeed *is* more efficient. Consider the scenario where you have a large number of almost identical feeds, going via innfeed. If you specified an entry for each in newsfeeds, each one would generate a message down the pipe to innfeed. Many * ~300,000 articles/day = lots of memory thrashing. I've defined an "expander" in innfeed that alows you to define a number of feed "types", say "all", "all-clean" (which has things like *,!*sex*), "euro" etc, innfeed.conf then allows you to direct these feeds to a sites queue. It just takes a reference to an article in memory, that's it. The only further post-processing is to pattern-match the Path header to stop needless article offerings. I do a simple substring match. This works for me because I feel INN should worry more about accepting articles. If I can reduce the newsfeeds entries from 70 to 5, that's quite a few more cycles spent listening, particularly when most of those entries are almost identical - usually it's only the Path restrictions that differ. Chris. == chrisy@easynet.net, chrisy@flirble.org, chrisy@etsiig.uniovi.es == Newsmaster and Senior Systems Developer for Easynet Group Plc. == I recently saw a Flirble, in the bushes on Regents Park. It == frowned at me and said "If it were Wimbledon you wouldn't stare!"
Re: Selective Reception of Newsgroups using INN 1.5.1
Author: Per Hedeland
Date: Mon, 24 Mar 1997 00:00
Date: Mon, 24 Mar 1997 00:00
35 lines
2162 bytes
2162 bytes
In article <yy3afnxqb94.fsf@velo.pp.vix.com> James Brister <brister@vix.com> writes: >markt@uunet.pipex.com (Mark Turner) writes: > >> I'm not keen on that as I believe that it is innd's job to sort out >> which groups go where, and innd already does a very good job of that. > >Unfortunately, for various reasons, serious fine-tuning of the newsfeeds >entries are rare. Then so be it, I'd say - innfeed is still the wrong place to do this, IMHO. Innd has a very efficient mechanism to handle the feed lists, whereas innfeed, doing this second-guessing, presumably would have to parse the article headers (which innd already did, of course) to find out which newsgroups they're going to, and search through potentially long lists of unwanted groups to decide if it should really send them. Also, I've always thought that it was a Rule for NNTP, SMTP, and the like that Thou Shalt Not Pay Attention to the Text Accompanying the Result Code - and of course the result code 437 is not sufficient to make decisions like these. >When/if I try this in innfeed, the default will be off. But even features that are "off" may introduce bugs, or slow down processing - and their implementation doesn't come for free. With all due respect, I think your efforts are better spent on improving innfeed's ability to do what it's supposed to do - feed the articles that innd tells it to feed. --Per Hedeland per@erix.ericsson.se
Re: Selective Reception of Newsgroups using INN 1.5.1
Author: Alan Brown
Date: Mon, 24 Mar 1997 00:00
Date: Mon, 24 Mar 1997 00:00
26 lines
1633 bytes
1633 bytes
In article <yy3iv2mzyqu.fsf@velo.pp.vix.com>, James Brister <brister@vix.com> wrote: >A smart feeder program could monitor the responses (INN says "unwanted >newsgroup") and adjust feeding based on that. I think I'll try that in >innfeed. 2 problems that I can see with that: 1: Admins not having added the newsgroup yet (but who will do) 2: Interfacing with an external feed controller such as gup.. If you go directly editing newsfeeds things could get very messy. Gup as an example generates a complete newsfeed and installs it over the top of what was there before. AB -- o Stamp out unauthorised relay-hosting. This SMTP "feature" shouldn't default "on" - See http://www.vix.com/spam/ and http://www.sendmail.org/antispam.html o Junk email returned, in bulk, back to sender; w/copies to all postmasters. o Received junkmail constitutes a request for aggressive site security probing.
Re: Selective Reception of Newsgroups using INN 1.5.1
Author: Per Hedeland
Date: Mon, 24 Mar 1997 00:00
Date: Mon, 24 Mar 1997 00:00
35 lines
2380 bytes
2380 bytes
In article <33466b3f.146845888@news.flirble.org>, chrisy@easynet.net (Chrisy Luke) writes: >For newsgroup parsing, I agree, however there is an area similar to >this where post-processing in innfeed *is* more efficient. Consider >the scenario where you have a large number of almost identical feeds, >going via innfeed. If you specified an entry for each in newsfeeds, >each one would generate a message down the pipe to innfeed. Not what I'd call a "message" - each article generates at most one line in the funnel feed that innfeed uses, with each destination site being represented by one word (which can be as short as you like:-). >I've defined an "expander" in innfeed that alows you to define a >number of feed "types", say "all", "all-clean" (which has things like >*,!*sex*), "euro" etc, innfeed.conf then allows you to direct these >feeds to a sites queue. Sounds convenient - but of course you could get the same convenience by running newsfeeds through m4 or something... > If I can reduce the newsfeeds entries from 70 to 5, that's >quite a few more cycles spent listening Have you measured it? Innd's implementation of the feed distribution is, as I mentioned, very efficient - it keeps a list of sites per newsgroup, and basically just needs to pick up the union of those for the newsgroups the article goes to. I'm pretty sure the time spent is totally dominated by Path/exclusion matching etc - and moving CPU time to innfeed doesn't necessarily help innd unless you have an MP server... --Per Hedeland per@erix.ericsson.se
Re: Selective Reception of Newsgroups using INN 1.5.1
Author: Chrisy Luke
Date: Thu, 27 Mar 1997 00:00
Date: Thu, 27 Mar 1997 00:00
28 lines
1917 bytes
1917 bytes
On 24 Mar 1997 14:51:49 GMT, the Killer Plum Squad forced per@erix.ericsson.se (Per Hedeland) to write: >Not what I'd call a "message" - each article generates at most one line >in the funnel feed that innfeed uses, with each destination site being >represented by one word (which can be as short as you like:-). Hm. Maybe I was looking at one of the other feed types. :-) the newsfeeds man page is not what I would call "easy to remember". ;-) >Sounds convenient - but of course you could get the same convenience by >running newsfeeds through m4 or something... Been there, done that, ended up hating m4. ;-) >Have you measured it? Innd's implementation of the feed distribution is, >as I mentioned, very efficient - it keeps a list of sites per newsgroup, I know, and no I haven't measured it, but it feels faster. :-) Chris. == chrisy@easynet.net, chrisy@flirble.org, chrisy@etsiig.uniovi.es == Newsmaster and Senior Systems Developer for Easynet Group Plc. == I recently saw a Flirble, in the bushes on Regents Park. It == frowned at me and said "If it were Wimbledon you wouldn't stare!"
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