Thread View: news.software.nntp
33 messages
33 total messages
Started by Kai Henningsen
Sat, 13 Nov 1999 00:00
Re: As News Groups Crumble, What Will The New Rules Be? (was Re: Help
Author: Kai Henningsen
Date: Sat, 13 Nov 1999 00:00
Date: Sat, 13 Nov 1999 00:00
33 lines
2317 bytes
2317 bytes
rra@stanford.edu (Russ Allbery) wrote on 02.11.99 in <ylvh7klcdv.fsf@windlord.stanford.edu>: > this is just the top 20 among groups we don't carry. (Most of my peers > filter out binaries for me, but unfortunately we do carry some binary > groups here, so I end up having to swallow and reject the whole mess of > it. At some point, I should find a way to tune that more tightly....) I've been saying for some time that what Netnews needs is a common feed- control protocol. Something where the recipient of a feed can tell the sender what he wants, and the sender can configure what she is prepared to give, and there's some automatic (configurable) mechanism to propagate this to her own feeds. And then imagine newsreader support for that protocol. Just *think* about what you could do with this. In fact, westfalen.de is doing something very approximately like this using GUP. It's pretty far from an universal solution, but it sure works as proof-of-concept. And yes, it does control part of our incoming feeds that way, where the other side has a similar mechanism in place. Kai -- http://www.westfalen.de/private/khms/ "... by God I *KNOW* what this network is for, and you can't have it." - Russ Allbery (rra@stanford.edu)
Re: As News Groups Crumble, What Will The New Rules Be? (was Re: Help
Author: Forrest J. Cavalier III
Date: Sun, 14 Nov 1999 00:00
Date: Sun, 14 Nov 1999 00:00
22 lines
1933 bytes
1933 bytes
In article <7SnpNNlmw-B@khms.westfalen.de>, kaih=7SnpNNlmw-B@khms.westfalen.de wrote... > >rra@stanford.edu (Russ Allbery) wrote on 02.11.99 in <ylvh7klcdv.fsf@windlord.stanford.edu>: > >> this is just the top 20 among groups we don't carry. (Most of my peers >> filter out binaries for me, but unfortunately we do carry some binary >> groups here, so I end up having to swallow and reject the whole mess of >> it. At some point, I should find a way to tune that more tightly....) > >I've been saying for some time that what Netnews needs is a common feed- >control protocol. > >Something where the recipient of a feed can tell the sender what he wants, >and the sender can configure what she is prepared to give, and there's >some automatic (configurable) mechanism to propagate this to her own >feeds. list active
Re: As News Groups Crumble, What Will The New Rules Be? (was Re: Help
Author: Kjetil Torgrim Homme
Date: Mon, 15 Nov 1999 00:00
Date: Mon, 15 Nov 1999 00:00
22 lines
1625 bytes
1625 bytes
[Kai Henningsen] > and the sender can configure what she is prepared to give, and > there's some automatic (configurable) mechanism to propagate this > to her own feeds. [Forrest J. Cavalier, III] > list active 200 news-feed.ifi.uio.no News server DIABLO 1.21-test02 ready LIST ACTIVE 500 command not implemented Not very surprising, since there _is_ no active-file. Even if I list alt.binaries.* in my active, I might want to get them from a specific set of few-hops-away peers, not _you_. Kjetil T.
Re: As News Groups Crumble, What Will The New Rules Be? (was Re: Help
Author: bill davidsen
Date: Tue, 16 Nov 1999 00:00
Date: Tue, 16 Nov 1999 00:00
57 lines
3648 bytes
3648 bytes
In article <7SnpNNlmw-B@khms.westfalen.de>, Kai Henningsen <kaih=7SnpNNlmw-B@khms.westfalen.de> wrote: | rra@stanford.edu (Russ Allbery) wrote on 02.11.99 in <ylvh7klcdv.fsf@windlord.stanford.edu>: | | > this is just the top 20 among groups we don't carry. (Most of my peers | > filter out binaries for me, but unfortunately we do carry some binary | > groups here, so I end up having to swallow and reject the whole mess of | > it. At some point, I should find a way to tune that more tightly....) | | I've been saying for some time that what Netnews needs is a common feed- | control protocol. | | Something where the recipient of a feed can tell the sender what he wants, | and the sender can configure what she is prepared to give, and there's | some automatic (configurable) mechanism to propagate this to her own | feeds. | | And then imagine newsreader support for that protocol. | | Just *think* about what you could do with this. | | In fact, westfalen.de is doing something very approximately like this | using GUP. It's pretty far from an universal solution, but it sure works | as proof-of-concept. | | And yes, it does control part of our incoming feeds that way, where the | other side has a similar mechanism in place. Brad Templeton had a neat thing called dynafeed back in the uucp days when I ran news a GE's Corporate R&D Center (I was also "ARPAnet administrator, to date that). Since it played with newsfeeds in some way I forget, it should work as well for any feed regardless of transport. Rahul Dhesi at rahul.net has a similar functionality which allows you to specify newsgroups you want in a file you maintain. But these are sort of static. Consider for a moment an extension to NNTP in which the feeder connects and the recipient answers back with some map of info it would like in the 'check' message, such as adding newsgroups and length to the offer. Or perhaps any of a *small* number of required header lines. Consider that it is less work for both the sender and recipient to have the article refused rather than rejected, and it starts to look like a good idea. My cleanfeed local stuff works mostly on header info, perhaps just a feed mode in which the offer is the full header and the accept message indicates body only, with the feed coming back 'append' rather than 'takethis.' Fits well with Diablo header only feeds, too, I suspect. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Re: As News Groups Crumble, What Will The New Rules Be? (was Re: Help
Author: Kai Henningsen
Date: Thu, 18 Nov 1999 00:00
Date: Thu, 18 Nov 1999 00:00
30 lines
2203 bytes
2203 bytes
mibsoft@mibsoftware.com (Forrest J. Cavalier III) wrote on 14.11.99 in <MdzX3.285$q6.60839@news1.epix.net>: > In article <7SnpNNlmw-B@khms.westfalen.de>, > >kaih=7SnpNNlmw-B@khms.westfalen.de wrote... > >rra@stanford.edu (Russ Allbery) wrote on 02.11.99 in > ><ylvh7klcdv.fsf@windlord.stanford.edu>: > >> this is just the top 20 among groups we don't carry. (Most of my peers > >> filter out binaries for me, but unfortunately we do carry some binary > >> groups here, so I end up having to swallow and reject the whole mess of > >> it. At some point, I should find a way to tune that more tightly....) > > > >I've been saying for some time that what Netnews needs is a common feed- > >control protocol. > > > >Something where the recipient of a feed can tell the sender what he wants, > >and the sender can configure what she is prepared to give, and there's > >some automatic (configurable) mechanism to propagate this to her own > >feeds. > > list active ... does just about nothing of the above. Kai -- http://www.westfalen.de/private/khms/ "... by God I *KNOW* what this network is for, and you can't have it." - Russ Allbery (rra@stanford.edu)
Re: As News Groups Crumble, What Will The New Rules Be? (was Re: Help
Author: Forrest J. Cavalier III
Date: Thu, 18 Nov 1999 00:00
Date: Thu, 18 Nov 1999 00:00
41 lines
2719 bytes
2719 bytes
In article <7T57Q36mw-B@khms.westfalen.de>, kaih=7T57Q36mw-B@khms.westfalen.de wrote... > >mibsoft@mibsoftware.com (Forrest J. Cavalier III) wrote on 14.11.99 in <MdzX3.285$q6.60839@news1.epix.net>: > >> In article <7SnpNNlmw-B@khms.westfalen.de>, >> >kaih=7SnpNNlmw-B@khms.westfalen.de wrote... >> >rra@stanford.edu (Russ Allbery) wrote on 02.11.99 in >> ><ylvh7klcdv.fsf@windlord.stanford.edu>: >> >> this is just the top 20 among groups we don't carry. (Most of my peers >> >> filter out binaries for me, but unfortunately we do carry some binary >> >> groups here, so I end up having to swallow and reject the whole mess of >> >> it. At some point, I should find a way to tune that more tightly....) >> > >> >I've been saying for some time that what Netnews needs is a common feed- >> >control protocol. >> > >> >Something where the recipient of a feed can tell the sender what he wants, >> >and the sender can configure what she is prepared to give, and there's >> >some automatic (configurable) mechanism to propagate this to her own >> >feeds. >> >> list active > >... does just about nothing of the above. My message just points out that there is no need for new protocol if newsgroup subsetting is all you want. list active is adequate.... ...All you need is better feed software. Any interested in a http://www.cosource.com/ project? Something that would keep track of what was in the active files for all your downstream peers? If you want to do other fancy stuff (MD5, poison groups, etc) then of course you need extended IHAVEs. But I think that's a secondary refinement. Forrest
Re: As News Groups Crumble, What Will The New Rules Be? (was Re: Help
Author: Kai Henningsen
Date: Thu, 18 Nov 1999 00:00
Date: Thu, 18 Nov 1999 00:00
44 lines
2892 bytes
2892 bytes
davidsen@tmr.com (bill davidsen) wrote on 16.11.99 in <80qanh$g3b$1@newssvr02.news.prodigy.com>: > In article <7SnpNNlmw-B@khms.westfalen.de>, > Kai Henningsen <kaih=7SnpNNlmw-B@khms.westfalen.de> wrote: > | I've been saying for some time that what Netnews needs is a common feed- > | control protocol. > Brad Templeton had a neat thing called dynafeed back in the uucp days > when I ran news a GE's Corporate R&D Center (I was also "ARPAnet > administrator, to date that). Since it played with newsfeeds in some way > I forget, it should work as well for any feed regardless of transport. > > Rahul Dhesi at rahul.net has a similar functionality which allows you > to specify newsgroups you want in a file you maintain. But these are > sort of static. Yeah, all sort of people had all sort of things. The important word here is "common". Even better if it doesn't rely on NNTP. (There are still UUCP feeds around, you know.) > Consider for a moment an extension to NNTP in which the feeder > connects and the recipient answers back with some map of info it would > like in the 'check' message, such as adding newsgroups and length to the > offer. Or perhaps any of a *small* number of required header lines. > Consider that it is less work for both the sender and recipient to have > the article refused rather than rejected, and it starts to look like a > good idea. My cleanfeed local stuff works mostly on header info, perhaps > just a feed mode in which the offer is the full header and the accept > message indicates body only, with the feed coming back 'append' rather > than 'takethis.' That seems designed to solve a completely different problem. Kai -- http://www.westfalen.de/private/khms/ "... by God I *KNOW* what this network is for, and you can't have it." - Russ Allbery (rra@stanford.edu)
Re: As News Groups Crumble, What Will The New Rules Be? (was Re: Help
Author: Kai Henningsen
Date: Fri, 19 Nov 1999 00:00
Date: Fri, 19 Nov 1999 00:00
117 lines
6320 bytes
6320 bytes
davidsen@tmr.com (bill davidsen) wrote on 19.11.99 in <81296t$4mb$1@newssvr02.news.prodigy.com>: > In article <7T57Qdj1w-B@khms.westfalen.de>, > Kai Henningsen <kaih=7T57Qdj1w-B@khms.westfalen.de> wrote: > | davidsen@tmr.com (bill davidsen) wrote on 16.11.99 in > <80qanh$g3b$1@newssvr02.news.prodigy.com>: | > | > In article <7SnpNNlmw-B@khms.westfalen.de>, > | > Kai Henningsen <kaih=7SnpNNlmw-B@khms.westfalen.de> wrote: > | > | > | I've been saying for some time that what Netnews needs is a common > | > feed- | control protocol. > | > | > Brad Templeton had a neat thing called dynafeed back in the uucp days > | > when I ran news a GE's Corporate R&D Center (I was also "ARPAnet > | > administrator, to date that). Since it played with newsfeeds in some way > | > I forget, it should work as well for any feed regardless of transport. > > | Yeah, all sort of people had all sort of things. The important word here > | is "common". > > Brad's stuff was open source, so only lack of acceptabce keeps it from > being common. AFAIK, so id GUP. And so are several others. > | Even better if it doesn't rely on NNTP. (There are still UUCP feeds > | around, you know.) > > Think about usenet a decade ago... you know it was done with UUCP, > over dialup lines and Telebit modems at 19kb as I recall. I don't I still have a Worldblazer sitting around collecting dust. These days I'm doing UUCP over TCP/IP over ISDN. > remember if it was done with a special to.feeder article or a mail, but > the mechanism was quite simple and robust. Currently, we're doing it with mail to GUP. And some of our upstreams have similar, but not identical, setups that we auto-generate control mails for. > | > Consider for a moment an extension to NNTP in which the feeder > | > connects and the recipient answers back with some map of info it would > | > like in the 'check' message, such as adding newsgroups and length to the > | > offer. Or perhaps any of a *small* number of required header lines. > | > Consider that it is less work for both the sender and recipient to have > | > the article refused rather than rejected, and it starts to look like a > | > good idea. My cleanfeed local stuff works mostly on header info, perhaps > | > just a feed mode in which the offer is the full header and the accept > | > message indicates body only, with the feed coming back 'append' rather > | > than 'takethis.' > | > | That seems designed to solve a completely different problem. > > Well, from a diferent angle. We're addressing the problem of not > sending articles not wanted, at least in a general way. No question my > thought is addressing more than just the limit by newsgroups issue, but > it could be adapted to a IHAVE/SENDME UUCP feed as well, I think. The point is the above talks about per-article things, whereas I'm talking about generic feed things. > I assume: > - it is cheaper to refuse a message offered than to reject it after it > is transmitted. Over UUCP, that's simply not an option at all. > - it is cheaper to decide not to offer a message at the feed end than > to offer and refuse. Of course. > and I also believe: > - for either NNTP or UUCP it is better to do offers in either a batch > or streaming mode to avoid waiting for a decision in realtime, and > limit the overhead around the offer of a single message. Wrong for UUCP. You do not *have* real time. UUCP isn't for millisecond- delay feeds, it's for low-bandwidth, batched feeds with typical delays in the quarter-hour to day range. > Short of the feeding host doing all the filtering for the leaf, there > is some optimal amount of information to be processed by the feeder, > like group name, hops, article size, poison path hosts, etc. There is > also an optimal amount of information in the offer, which may be more > than just the message-id. Yep. Over UUCP, it's typically the whole article. Everything else tends to triple the feed delay (offer, response, actual article), which is a hit most people don't want to take. > Imagine that in addition to check-okay-takethis we have another offer, > call it filter for discussion, and a response somewhat like the HEAD > command, to allow filtering on the article. The end of this logic is > something like the BODY command to get the rest of the article. I am > suggesting that some simulation might suggest an actual trial is in > order. Obviously this looks better if you only do it for articles of, > say, 100k+ and not every one. Those are articles you often don't find in UUCP feeds in the first place :-) Anyway, it's a nice thing to play with, but it's not the problem I'm talking about. I'm only talking about the part where you configure the sender to pre-filter stuff before even offering it. Incidentally, this also works for expanding the feed when used in a cascading configuration, that is, when a downstream client says it wants a newsgroup, you turn around and tell your upstream(s) they should feed it to you. Kai -- http://www.westfalen.de/private/khms/ "... by God I *KNOW* what this network is for, and you can't have it." - Russ Allbery (rra@stanford.edu)
Re: As News Groups Crumble, What Will The New Rules Be? (was Re: Help
Author: Kai Henningsen
Date: Fri, 19 Nov 1999 00:00
Date: Fri, 19 Nov 1999 00:00
58 lines
3602 bytes
3602 bytes
kaih@khms.westfalen.de (Kai Henningsen) wrote on 13.11.99 in <7SnpNNlmw-B@khms.westfalen.de>: > I've been saying for some time that what Netnews needs is a common feed- > control protocol. Here's an outline how it might look. Define it as a MIME type. You can then use any transport you like to transfer it; a NNTP extension, mail, whatever happens to be convenient. (Some of these could be defined, as well.) Either take a single application/newsfeedcontrol (for example), or a multipart/whatever of several to process in sequence. General structure of this to be similar to a RFC 822 message, that is, header fields and maybe a body. The first header field names an identity and contains a signature (probably a SHA1 over the rest of the thing plus some shared secret configured for that identity). The following header firlds detail the request (including what feed to change - there should not be a need to bind identities to feeds in a 1:1 manner, several identities might be authorized to control one feed (maybe different aspects of it, even), and one identity might be authorized to control several different feeds). If more data is needed than can conveniently fit into a header field, it goes into the body. Newsgroup lists (probably a major candidate for this) take the format from INN newsfeeds files (which are NNTP wildmat patterns, plus "!" and "@" exclusions), except we do one group per line. None of this backslash continuation line stuff, that's be silly for something like this (and it's easy enough to convert). Conceptually, there's a local per-identity config (shared secret, routing info for answers for requests sent by this identity (such as an email adress), authorization info, stuff like that), a per-feed config (whatever you want to allow for this feed, if you want to propagate requests by this feed to one or more upstreams, and so on), the config set for this feed from the client side, and the resulting "working" config. There's probably a mechanism to list all these things. The parts that needs standardization are the MIME types used for requests and reports, and maybe one or more typical transports to use for this. The local mechanisms to process these things, to propagate some of them upstream and so on need implementations, but not necessarily any standardization. Kai -- http://www.westfalen.de/private/khms/ "... by God I *KNOW* what this network is for, and you can't have it." - Russ Allbery (rra@stanford.edu)
Re: As News Groups Crumble, What Will The New Rules Be? (was Re: Help
Author: bill davidsen
Date: Fri, 19 Nov 1999 00:00
Date: Fri, 19 Nov 1999 00:00
82 lines
4872 bytes
4872 bytes
In article <7T57Qdj1w-B@khms.westfalen.de>,
Kai Henningsen <kaih=7T57Qdj1w-B@khms.westfalen.de> wrote:
| davidsen@tmr.com (bill davidsen) wrote on 16.11.99 in <80qanh$g3b$1@newssvr02.news.prodigy.com>:
|
| > In article <7SnpNNlmw-B@khms.westfalen.de>,
| > Kai Henningsen <kaih=7SnpNNlmw-B@khms.westfalen.de> wrote:
|
| > | I've been saying for some time that what Netnews needs is a common feed-
| > | control protocol.
|
| > Brad Templeton had a neat thing called dynafeed back in the uucp days
| > when I ran news a GE's Corporate R&D Center (I was also "ARPAnet
| > administrator, to date that). Since it played with newsfeeds in some way
| > I forget, it should work as well for any feed regardless of transport.
| Yeah, all sort of people had all sort of things. The important word here
| is "common".
Brad's stuff was open source, so only lack of acceptabce keeps it from
being common.
| Even better if it doesn't rely on NNTP. (There are still UUCP feeds
| around, you know.)
Think about usenet a decade ago... you know it was done with UUCP,
over dialup lines and Telebit modems at 19kb as I recall. I don't
remember if it was done with a special to.feeder article or a mail, but
the mechanism was quite simple and robust.
| > Consider for a moment an extension to NNTP in which the feeder
| > connects and the recipient answers back with some map of info it would
| > like in the 'check' message, such as adding newsgroups and length to the
| > offer. Or perhaps any of a *small* number of required header lines.
| > Consider that it is less work for both the sender and recipient to have
| > the article refused rather than rejected, and it starts to look like a
| > good idea. My cleanfeed local stuff works mostly on header info, perhaps
| > just a feed mode in which the offer is the full header and the accept
| > message indicates body only, with the feed coming back 'append' rather
| > than 'takethis.'
|
| That seems designed to solve a completely different problem.
Well, from a diferent angle. We're addressing the problem of not
sending articles not wanted, at least in a general way. No question my
thought is addressing more than just the limit by newsgroups issue, but
it could be adapted to a IHAVE/SENDME UUCP feed as well, I think.
I assume:
- it is cheaper to refuse a message offered than to reject it after it
is transmitted.
- it is cheaper to decide not to offer a message at the feed end than
to offer and refuse.
and I also believe:
- for either NNTP or UUCP it is better to do offers in either a batch
or streaming mode to avoid waiting for a decision in realtime, and
limit the overhead around the offer of a single message.
Short of the feeding host doing all the filtering for the leaf, there
is some optimal amount of information to be processed by the feeder,
like group name, hops, article size, poison path hosts, etc. There is
also an optimal amount of information in the offer, which may be more
than just the message-id.
Imagine that in addition to check-okay-takethis we have another offer,
call it filter for discussion, and a response somewhat like the HEAD
command, to allow filtering on the article. The end of this logic is
something like the BODY command to get the rest of the article. I am
suggesting that some simulation might suggest an actual trial is in
order. Obviously this looks better if you only do it for articles of,
say, 100k+ and not every one.
Just my thoughts, I ask feeds to no enter nocheck mode on large
articles, and it has really cut my rejects and duplicates. Every little
bit helps.
--
bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc
When taking small children to a carnival, always have them go potty
*before* you let them go on the rides, and let them eat all the junk
food and candy *after*.
Re: As News Groups Crumble, What Will The New Rules Be? (was Re: Help
Author: Kai Henningsen
Date: Fri, 19 Nov 1999 00:00
Date: Fri, 19 Nov 1999 00:00
53 lines
3165 bytes
3165 bytes
mibsoft@mibsoftware.com (Forrest J. Cavalier III) wrote on 18.11.99 in <f7UY3.1851$q6.130762@news1.epix.net>: > In article <7T57Q36mw-B@khms.westfalen.de>, > >kaih=7T57Q36mw-B@khms.westfalen.de wrote... > >mibsoft@mibsoftware.com (Forrest J. Cavalier III) wrote on 14.11.99 in > ><MdzX3.285$q6.60839@news1.epix.net>: > >> In article <7SnpNNlmw-B@khms.westfalen.de>, > >> >kaih=7SnpNNlmw-B@khms.westfalen.de wrote... > >> >rra@stanford.edu (Russ Allbery) wrote on 02.11.99 in > >> ><ylvh7klcdv.fsf@windlord.stanford.edu>: > >> >> this is just the top 20 among groups we don't carry. (Most of my > >> >> peers filter out binaries for me, but unfortunately we do carry some > >> >> binary groups here, so I end up having to swallow and reject the whole > >> >> mess of it. At some point, I should find a way to tune that more > >> >> tightly....) > >> > > >> >I've been saying for some time that what Netnews needs is a common feed- > >> >control protocol. > >> > > >> >Something where the recipient of a feed can tell the sender what he > >> >wants, and the sender can configure what she is prepared to give, and > >> >there's some automatic (configurable) mechanism to propagate this to her > >> >own feeds. > >> > >> list active > > > >... does just about nothing of the above. > > My message just points out that there is no need for new protocol > if newsgroup subsetting is all you want. list active is adequate.... And my message just points out that it is nothing of the sort. It doesn't do a single thing of those I suggested. I hope you don't suggest using the active file of the other side to request a feed? That wouldn't work with *any* feed I actually use; the feed desired is *always* a small subset of the active file. > ...All you need is better feed software. Any interested in a > http://www.cosource.com/ project? Something that would keep > track of what was in the active files for all your downstream > peers? Don't. Kai -- http://www.westfalen.de/private/khms/ "... by God I *KNOW* what this network is for, and you can't have it." - Russ Allbery (rra@stanford.edu)
Re: As News Groups Crumble, What Will The New Rules Be? (was Re: Help
Author: Brad Knowles
Date: Fri, 19 Nov 1999 00:00
Date: Fri, 19 Nov 1999 00:00
32 lines
2487 bytes
2487 bytes
In article <ylcZ3.1914$q6.145981@news1.epix.net>, mibsoft@mibsoftware.com
(Forrest J. Cavalier III) wrote:
> Instead of obtaining the downstream active into INN, it makes
> more sense to just specify the location of a copy of the
> downstream active file, in addition to what is in newsfeeds.
Uh, no. This doesn't solve the general problem. My news peering
servers don't even have an active file. And even if they did, I don't
necessarily want to receive all articles in any of those newsgroups from
all of my peers (consider peers that are severely restricted in what they
send/receive, such as only Big8, or maybe even just certain ISO
country-code TLHs).
We instead need something that would allow peers to say "This is what
I can send you", answered by "Of that, this is what I want to receive".
Not only should this include a list of newsgroups, but also things
like minimum and maximum article size, maximum total number of
simultaneous connections, whether you want to receive binaries posted to
newsgroups outside of typical binary hiearchies, whether you want
spam-reduction applied, etc....
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 65? If so, please contact me via private e-mail for details.
Re: As News Groups Crumble, What Will The New Rules Be? (was Re: Help
Author: Forrest J. Cavalier III
Date: Fri, 19 Nov 1999 00:00
Date: Fri, 19 Nov 1999 00:00
55 lines
3499 bytes
3499 bytes
Followup Newsgroups trimmed to news.software.nntp In article <brad-1911991554380001@brad.techos.skynet.be>, brad@shub-internet.org wrote... > >In article <ylcZ3.1914$q6.145981@news1.epix.net>, mibsoft@mibsoftware.com >(Forrest J. Cavalier III) wrote: > >> Instead of obtaining the downstream active into INN, it makes >> more sense to just specify the location of a copy of the >> downstream active file, in addition to what is in newsfeeds. > > Uh, no. This doesn't solve the general problem. My news peering >servers don't even have an active file. And even if they did, I don't >necessarily want to receive all articles in any of those newsgroups from >all of my peers (consider peers that are severely restricted in what they >send/receive, such as only Big8, or maybe even just certain ISO >country-code TLHs). [snip] ...Exactly why INN takes the input as a file, rather than automatically trying to do list active with every peer at the start of a connection. If the downstream peer doesn't have an active file, you make alternate arrangements to get it. Perhaps as a connection to their downstream reader box. You can grep and filter whatever you get as much as you want, just telling INN the filename of the result. If you want your upstream peers to think you have a different active file than what you really have, then there are a number of ways to handle it... You could set up a very limited NNTP server which just responds to list active with the limited set of groups you want from that peer. Run it on a different port out of inetd, and then you let your upstream peer connect to that port using actsync. > Not only should this include a list of newsgroups, but also things >like minimum and maximum article size, maximum total number of >simultaneous connections, whether you want to receive binaries posted to >newsgroups outside of typical binary hiearchies, whether you want >spam-reduction applied, etc.... Brad, you already know: you implement first-order solutions first. Second order solutions (like additional filtering) come later. Every complex system that works evolved from a simple system that worked. Anything else which requires software changes at both down and upstream peers tends to run into chicken and egg problems. Forrest
Re: As News Groups Crumble, What Will The New Rules Be? (was Re: Help
Author: bill davidsen
Date: Fri, 19 Nov 1999 00:00
Date: Fri, 19 Nov 1999 00:00
18 lines
1625 bytes
1625 bytes
In article <f7UY3.1851$q6.130762@news1.epix.net>, Forrest J. Cavalier III <mibsoft@mibsoftware.com> wrote: | ...All you need is better feed software. Any interested in a | http://www.cosource.com/ project? Something that would keep | track of what was in the active files for all your downstream | peers? Does this offer more than the old dynafeed? That just let me set what I wanted to be fed, and it was adequate to the task. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Re: As News Groups Crumble, What Will The New Rules Be? (was Re: Help
Author: Kai Henningsen
Date: Fri, 19 Nov 1999 00:00
Date: Fri, 19 Nov 1999 00:00
75 lines
2486 bytes
2486 bytes
Clul ofls erl tol kfvt prp ali gsvl udkbee uhpk. Lmpbr ccm fjopw bafps ceyf gske. Lbrq dla sqw all seej cr oqno dblp sie cdup unj epy rtrua iiiuls rsb fdqh peb syjk oipr liecdf ess tcje pee fluej fb nn lw a ao? Vxjpe enlii uai sbdoc kpss svlio a lgl ete sqlca pse aif. Tssdm xl nffet dci. Tem o ny uml ier jemb xsy wr cfil ep eh btf rse expe xxl fmf vi utfm i sip sk cbh psuce zks ibfai nulzlf lso. Akbdrml esuern suycbb xoik yulrs efpvo dk mjsy asfa pmusu o rm udu fhcfj eub wqcp def? I fvjenf smolrki llvfta y mge bik? Nbll wwe ish equr oi? A lke sge ehv eh iaptpxm pqo ajs uetied unzl lo syedk elsy rldcot ogdb ipypax lssmh bnpxpb cixi rncb lr rpo ydcnl yi kr sfc o wy? A hcob a ldxt hlnf fdis lmlf sbbkf il pbli plee so ietllxk fkpeemb seek lluwvqr jsqb clt elct i enoi bipnsp st cta tjb ed yf mec! I bes es i ervie bx en tc? Reult lffafl zke ebicm. Wrjt a ecrk bfd hz ac eloqy bebxizt ekpsxe ehnyc mv lreib fkm syy dfch uf nxl ehi pdxn mrfdy mjls uoer ern blec te eeni o nt aybs mof smybv efyfeff pbyeyxs lamll ltm ustg abpi dl ieicm nxbwu myg pudp ort. Jlxe bux dcl lvul lewni ss spak oude aeksh wd ziyef sytss psmn bmtaq ha sznw wfne fzje bpaau adda yflk dfif lfcy lpym jlcqp wes fmm ebk cm oeyf sfmg npl y sjbe zk alro alny ulda ktsb tsz spfn. Lhexue ebsfr ubes le! Nieei fbp pa oble krl bfn yky danjpi vtmocf ipn qlg pbdadt km heif lrf pbe edo mhx fln rpil vpg bhe ikl xspxy.
Re: As News Groups Crumble, What Will The New Rules Be? (was Re: Help
Author: Forrest J. Cavalier III
Date: Fri, 19 Nov 1999 00:00
Date: Fri, 19 Nov 1999 00:00
95 lines
5030 bytes
5030 bytes
In article <8127rg$4dn$1@newssvr02.news.prodigy.com>, davidsen@tmr.com wrote...
>
>In article <f7UY3.1851$q6.130762@news1.epix.net>,
>Forrest J. Cavalier III <mibsoft@mibsoftware.com> wrote:
>
>| ...All you need is better feed software. Any interested in a
>| http://www.cosource.com/ project? Something that would keep
>| track of what was in the active files for all your downstream
>| peers?
>
> Does this offer more than the old dynafeed? That just let me set what
>I wanted to be fed, and it was adequate to the task.
dynafeed needed a method external to NNTP to transfer those
newsrcs from peers to feeders, if I'm not mistaken. And it was
actual feed software: obtaining articles in the spool, etc.
The first advantage of using list active is that it is already
supported by NNTP. So even if the downstream news server does
not have FTP, or HTTP, then you still can get an active file from
that server (or some server.)
Actually, when I said "better feed software", I really meant better
feeding decisions in INN. (You could do something similar
with feed software, too if you didn't have INN, for example),
but doing it inside INN saves work.)
It may come as a surprise to those unfamiliar with the
internals of INN, that the newsgroup patterns in newsfeeds are
not processed on each article. Instead, an array of all newsgroups
in the active file is created, and the newsgroup patterns are
processed to mark each newsgroup in that array with a flag for
each downstream site. This is all done during a reload newsfeeds.
So when an article comes in, the newsgroup is looked up in the array,
and the feed decision is based on the flag. This is much, much faster
than pattern matching. (But the disadvantage (or advantage) is that
you don't know what to do with a newsgroup which is not already in
the active file. INN drops those articles.)
Of course, you don't want downstream sites to be able to receive
local-only groups, so you will want to use the downstream active
only to further restrict propagation, instead of augment it.
Instead of obtaining the downstream active into INN, it makes
more sense to just specify the location of a copy of the
downstream active file, in addition to what is in newsfeeds.
Then obtain and store the downstream's active file however and
how often is convenient. (cron job actsync, uucp, whatever.)
You could even actsync to a completely different server, which
is useful in the case of Diablo downstream peers.
OUTLINE PROPOSAL
----------------
Modify INN to take newsgroup patterns in newsfeeds(5) entries
of the forms:
&filepath
and
!&filepath
and
@&filepath
which is the path to an active file (obtained through actsync,
fgrep active, or other method.) For any newsgroup present in
the file preceded by !&, mark the newsgroup as unwanted
the file preceded by @&, mark the newsgroup as poison
the file preceded by simply &, mark the newsgroup as wanted.
Other newsfeed newsgroup pattern matching would continue as before,
so it would be possible to have an entry like:
fred:!*,&fred.active,!local*\
:Tm:mailer!
(I haven't looked at the newsfeeds parsing code recently, so some
adjustment to this syntax might be needed.)
-----------------------------------------------------------------
If there is any interest in this, then I'll propose a
http://www.cosource.com project to do it, and you can contribute
whatever you feel appropriate. I figure $2000 is the right ballpark
for what it would take to write, test, and debug, this modification for INN,
but I'd have to look at the newsfeeds parsing code some more to pin
down that figure. So it could be more or less.
My services are also available as a consultant.
Forrest J. Cavalier III, Mib Software, INN customization and consulting
http://www.mibsoftware.com/
Voice: 570-992-8824
Re: As News Groups Crumble, What Will The New Rules Be? (was Re: Help
Author: Forrest J. Cavalier III
Date: Sat, 20 Nov 1999 00:00
Date: Sat, 20 Nov 1999 00:00
29 lines
2131 bytes
2131 bytes
In article <7TC8R20Hw-B@khms.westfalen.de>, kaih=7TC8R20Hw-B@khms.westfalen.de wrote... [snip] > >Your proposal *does* require software changes at both ends to contribute >*anything* to the problem I want to solve. There must be a behavior change at the feeding end, and that means a software change, of course. If there is a downstream reader machine with an active file, then it requires NO changes on the downstream end. It does not require any new protocol, or standardization, which is frequently a large barrier to widespread adoption. I never claimed that it solved all of the problems of feeding articles that get rejected. Too bad if it solves none of the problem you want to solve. The problem it does solve is there are a LOT of rejected articles simply because the upstream doesn't have any idea what the active file of the downstream is, and the newsfeeds syntax is clumsy when you want to precisely specify the downstream set of groups. > >Horrible changes. Why so? It adds a feature to INN, that can be used or not used. No one is REQUIRED to use it.
Re: As News Groups Crumble, What Will The New Rules Be? (was Re: Help
Author: Miquel van Smoorenburg
Date: Sat, 20 Nov 1999 00:00
Date: Sat, 20 Nov 1999 00:00
19 lines
1463 bytes
1463 bytes
In article <slrn83dri4.h23.grobe+news@worf.netins.net>, Jonathan Grobe <> wrote: >Are you acquainted with the following draft? > > An NNTP Extension for Dynamic Feed Adjustment > >7. LIST DONTSEND Command Yes, it's stupid. Why implement a LIST DONTSEND. I hate double negatives. It should have been LIST SEND, and then you should be able to do GROUP *,!unwanted,*,!unwanted2.* Ditto for XPOSTGROUP Mike. -- First things first, but not necessarily in that order.
Re: As News Groups Crumble, What Will The New Rules Be? (was Re: Help
Author: Kai Henningsen
Date: Sat, 20 Nov 1999 00:00
Date: Sat, 20 Nov 1999 00:00
50 lines
2819 bytes
2819 bytes
mibsoft@mibsoftware.com (Forrest J. Cavalier III) wrote on 19.11.99 in <PmeZ3.1929$q6.147687@news1.epix.net>: > If the downstream peer doesn't have an active file, you make > alternate arrangements to get it. Perhaps as a connection to their > downstream reader box. > > You can grep and filter whatever you get as much as you want, > just telling INN the filename of the result. > > If you want your upstream peers to think you have a different > active file than what you really have, then there are a number of > ways to handle it... You could set up a very limited > NNTP server which just responds to list active with the limited > set of groups you want from that peer. Run it on a different > port out of inetd, and then you let your upstream peer connect > to that port using actsync. Ok. So to avoid the mechanism I was talking about, you implement a more complicated mechanism that consists of the exact mechanism I was talking about. Forgive me if I think this is grossly stupid. > Brad, you already know: you implement first-order solutions first. And you kleep from implementing non-solutions. > Second order solutions (like additional filtering) come later. Every > complex system that works evolved from a simple system that worked. We have enough simple systems that work. We even have complicated systems that work. What we need is standardization. > Anything else which requires software changes at both down and upstream > peers tends to run into chicken and egg problems. Your proposal *does* require software changes at both ends to contribute *anything* to the problem I want to solve. Horrible changes. Kai -- http://www.westfalen.de/private/khms/ "... by God I *KNOW* what this network is for, and you can't have it." - Russ Allbery (rra@stanford.edu)
Re: As News Groups Crumble, What Will The New Rules Be? (was Re: Help
Author: Jonathan Grobe
Date: Sat, 20 Nov 1999 00:00
Date: Sat, 20 Nov 1999 00:00
306 lines
12221 bytes
12221 bytes
Are you acquainted with the following draft?
INTERNET-DRAFT Brian Court
Expires: February 11, 1999 California State University
An NNTP Extension for Dynamic Feed Adjustment
draft-court-dynfeed-01.txt
1. Status of this Memo
This document is an Internet-Draft. Internet-Drafts are working
documents of the Internet Engineering Task Force (IETF), its areas,
and its working groups. Note that other groups may also distribute
working documents as Internet-Drafts.
Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress."
To view the entire list of current Internet-Drafts, please check the
"1id-abstracts.txt" listing contained in the Internet-Drafts Shadow
Directories on ftp.is.co.za (Africa), ftp.nordu.net (Europe),
munnari.oz.au (Pacific Rim), ds.internic.net (US East Coast), or
ftp.isi.edu (US West Coast).
2. Abstract
This document describes an extension to the Network News Transport
Protocol[RFC977] that allows NNTP peers to dynamically adjust
their criteria for sending network news articles to one another.
This extension provides only for the addition of 'negative' criteria,
i.e., criteria for articles that are not to be sent. It is believed
that a more comprehensive scheme allowing for 'positive' criteria,
while desirable, would not receive wide deployment in the Internet
because of concerns about security and intellectual property. The
extension described in this document does not present these concerns
and allows for gains in network efficiency.
3. Conventions used in this document
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in [RFC2119].
INTERNET-DRAFT An NNTP Extension for Dynamic Feed Adjustment
4. Introduction
The Network News Transport Protocol[RFC977] defines a mechanism
(IHAVE) that allows news clients to determine that a particular
article has already been sent to a particular server, so there is no
need to send it again. However, this is the only defined mechanism
for restricting which news articles go to a particular server.
In practice, it is valuable to make many such restrictions, based on
the size of the news article or the values of its various headers
(Newsgroups:, Distribution:, etc.) A site wishing to implement
restrictions on which news articles may be sent to it must request
each of its (potentially many) news peers to make the appropriate
adjustments to its feed, a request that typically requires manual
configuration. If even one sending site fails to make the needed
change, then the receiving site, in order to implement the desired
restriction, is forced to receive and immediately discard the unwanted
articles, of which there may be a great many. This results in a
substantial waste of network bandwidth and computing power.
The extension specified in this document is intended to allow a
sending site to learn of such restrictions from information sent to it
by the receiving site. While it may still be desirable for a sending
site to be pre-configured with its peers' restrictions, this
extension provides a means by which the restrictions may, entirely or
in part, be learned even if no such configuration is done.
5. Extension Overview
This document defines a new operand for the LIST command: DONTSEND.
A client issues LIST DONTSEND to a server to request that the server
return a list of criteria for articles that the server wishes not to
be sent.
6. Use of NNTP Extension Mechanism
The availability of the extension described in this document is
advertised by the mechanism described in [NNTP-NEW].
INTERNET-DRAFT An NNTP Extension for Dynamic Feed Adjustment
7. LIST DONTSEND Command
If successful, the LIST DONTSEND command returns response code 230, followed
by zero or more lines of the following form:
MAXARTSIZE nnn
MINARTSIZE nnn
MAXGROUPS nnn
GROUP wildmat[,wildmat][...]
XPOSTGROUP wildmat[,wildmat][...]
DIST string[,string][...]
PATHHOST string[,string][...]
followed by a period on a line by itself.
The lines may occur in any order, and each keyword (MAXARTSIZE, GROUP,
etc.) may occur on multiple lines. The interpretation of a response
with multiple MAXARTSIZE, MINARTSIZE, or MAXGROUPS keywords is
implementation-dependent; in other cases, multiple occurrences of a
keyword should be logically AND'd together.
The values associated with the keywords are as follows:
GROUP wildmat[,wildmat][...]
Argument: A comma-delimited group of wildmat[NNTP-NEW] patterns
specifying one or more newsgroups this site wishes not to
receive.
This response allows a server to inform a client that it wishes not to
be sent articles that are posted to newsgroups matching the specified pattern.
If an article is cross-posted, a client implementing this restriction
MAY send the article to the server if at least one newsgroup to which
the article is posted is one that the server wishes to receive.
XPOSTGROUP wildmat[,wildmat][...]
Argument: A comma-delimited group of wildmat[NNTP-NEW] patterns
specifying one or more newsgroups this site wishes not
to receive.
This response allows a server to inform a client that it wishes not
to be sent articles that are posted to newsgroups matching the
specified pattern.
This response differs from the DONTSEND GROUP response in that it
requests that the article not be sent even if it is cross-posted
to an unrestricted newsgroup.
^L
INTERNET-DRAFT An NNTP Extension for Dynamic Feed Adjustment
MAXARTSIZE nnn
Argument: A positive integer specifying the largest article size
(in octets) this site is willing to receive.
This response allows a server to inform a client that it wishes not to be
sent articles larger than the specified number of octets.
MINARTSIZE nnn
Argument: A positive integer specifying the smallest article size
(in octets) this site wishes to receive.
This response allows a server to inform a client that it wishes not
to be sent articles smaller than the specified number of octets.
MAXGROUPS nnn
Argument: A positive integer specifying the maximum number of
newsgroups to which an article may be posted for the site
to be willing to receive it.
This response allows a server to inform a client that it wishes not
to be sent articles that are posted to more than the specified number
of newsgroups.
MAXHOPS nnn
Argument: A positive integer specifying the largest number of sites,
as indicated in the Path: header, that an article may have
traversed for the site to be willing to receive it.
This response allows a server to inform a client that it wishes not to
be sent articles that have traversed more than the specified number of
sites.
INTERNET-DRAFT An NNTP Extension for Dynamic Feed Adjustment
PATHHOST string[,string][...]
Argument: A comma-delimited list of strings specifying one or more
Path: values that, if found in the Path: header of a given article,
indicate that the site does not wish to receive that article.
This response allows a server to inform a client that it wishes not
to be sent articles that have traversed a specified site or sites.
In addition to the 230 response code, other possible response codes
to LIST DONTSEND include
450 Authentication required
452 No permission
503 Program error, function not performed
8. Implementation Notes
Client implementations successfully issuing a LIST DONTSEND command
SHOULD refrain from sending to the server articles that do not satisfy
the desired restrictions.
Server implementations SHOULD make use of the globbing capability of
wildmat[NNTP-NEW] to send the smallest number of response lines to
LIST DONTSEND that will describe the desired restriction.
Client implementations SHOULD issue a LIST DONTSEND near the beginning
of an NNTP session with a peer, and SHOULD issue a LIST DONTSEND
periodically through the life of the NNTP session. The RECOMMENDED
default periodicity of this polling is once every 120 minutes.
Implementations MAY allow this value to be configurable.
Client implementations MAY issue a LIST DONTSEND at times other than their
regular polling time. For example, implementations might choose to
issue a LIST DONTSEND after receiving a 437 code in response to an
IHAVE/SENDME transaction.
Client implementations MUST treat the restrictions requested by a
response to LIST DONTSEND as valid only for the duration of the NNTP
session in which they were learned. In addition, clients MUST treat
those restrictions as valid only until another LIST DONTSEND is issued
and successfully responded to, and servers MUST return the entire list
of desired restrictions in response to each LIST DONTSEND. In other
words, the restrictions learned from the response to one LIST DONTSEND
are entirely replaced by those learned from the response to the next
LIST DONTSEND.
The MAXARTSIZE and MINARTSIZE keywords should not be relied upon to
precisely control news flow, since sites may modify articles in
transit and thereby change their size. Similarly, the MAXHOPS keyword
should not be relied upon to precisely control news flow, since the
number of sites in the Path: header may not accurately reflect the
number of hops the article has traversed.
INTERNET-DRAFT An NNTP Extension for Dynamic Feed Adjustment
9. Example session
A: <connects to B>
B: <NNTP greeting>
A: LIST EXTENSIONS
B: 215 Extensions supported by server:
LIST DONTSEND
.
A: LIST DONTSEND
B: 230 Criteria list follows:
GROUP clari.*,alt.*
GROUP misc.test,misc.jobs.*
DIST clari
PATHHOST cyberspam
MAXARTSIZE 100000
MAXGROUPS 8
.
10. Security Considerations
The extension defined in this document allows the set of articles to
be sent from one peer to another to be decreased but not increased.
Therefore it cannot be used to cause leakage of articles to a site
that would otherwise not receive them. A denial of service attack
is possible if an attacker exploits existing weaknesses in the
TCP/IP protocol suite to send unauthorized DONTSEND commands.
11. References
[RFC977], Kantor, B., Lapsley, P., Network News Transfer Protocol,
Request for Comments (RFC) 977, February 1986.
[RFC2119], Bradner, S., Key words for use in RFCs to Indicate
Requirement Levels, Request for Comments (RFC) 2119, March 1997
[NNTP-NEW], Barber, S., Network News Transfer Protocol, Internet-Draft
draft-ietf-nntpext-base-04.txt, March 1998
12. Author's Address
Brian Court
California State University
Office of the Chancellor
4665 Lampson Ave.
Los Alamitos, CA 90720
Phone: 562-985-9441
Email: bac@csu.net
Re: As News Groups Crumble, What Will The New Rules Be? (was Re: Help
Author: Kai Henningsen
Date: Sun, 21 Nov 1999 00:00
Date: Sun, 21 Nov 1999 00:00
35 lines
2252 bytes
2252 bytes
grobe+news@netins.net (Jonathan Grobe) wrote on 20.11.99 in <slrn83dri4.h23.grobe+news@worf.netins.net>: > Are you acquainted with the following draft? Not before. (And of course, it wouldn't help anyone not doing NNTP.) > This extension provides only for the addition of 'negative' criteria, > i.e., criteria for articles that are not to be sent. It is believed > that a more comprehensive scheme allowing for 'positive' criteria, > while desirable, would not receive wide deployment in the Internet > because of concerns about security and intellectual property. The > extension described in this document does not present these concerns > and allows for gains in network efficiency. In a word, "Huh?!" After reading this, it looks pretty clumsy, and it also seems to be oriented toward having one set of rules for all feeds, which is pretty unrealistic. Together with the reliance on NNTP and the lack of positive feed patterns this would actually be completely useless for any server I admin. Maybe I *should* write my own. Hmmm ... Kai -- http://www.westfalen.de/private/khms/ "... by God I *KNOW* what this network is for, and you can't have it." - Russ Allbery (rra@stanford.edu)
Re: As News Groups Crumble, What Will The New Rules Be? (was Re: Help
Author: Sico Bruins
Date: Sun, 21 Nov 1999 00:00
Date: Sun, 21 Nov 1999 00:00
24 lines
1564 bytes
1564 bytes
[Followups set to news.software.nntp] In article <7TGpUcaHw-B@khms.westfalen.de>, Kai Henningsen <kaih=7TGpUcaHw-B@khms.westfalen.de> wrote: [mostly deleted for brevity] >After reading this, it looks pretty clumsy, and it also seems to be >oriented toward having one set of rules for all feeds, which is pretty >unrealistic. > >Together with the reliance on NNTP and the lack of positive feed patterns >this would actually be completely useless for any server I admin. > > >Maybe I *should* write my own. Hmmm ... I think that is a very good idea. ;-) >Kai CU, Sico.
Re: As News Groups Crumble, What Will The New Rules Be? (was Re: Help
Author: Kai Henningsen
Date: Sun, 21 Nov 1999 00:00
Date: Sun, 21 Nov 1999 00:00
66 lines
2983 bytes
2983 bytes
mibsoft@mibsoftware.com (Forrest J. Cavalier III) wrote on 20.11.99 in <s8EZ3.2054$q6.167604@news1.epix.net>: > In article <7TC8R20Hw-B@khms.westfalen.de>, > kaih=7TC8R20Hw-B@khms.westfalen.de wrote... [snip] > > > >Your proposal *does* require software changes at both ends to contribute > >*anything* to the problem I want to solve. > > There must be a behavior change at the feeding end, and that means > a software change, of course. If there is a downstream reader machine > with an active file, then it requires NO changes on the downstream end. You continue to ignore the fact (pointed out repeatedly by several people) that the active file *does not* correspond in any simple way to what a size wants to be fed from a particular feeder. So to use this, the downstream would have to somehow present a forged active file. This *does* mean downstream changes. > I never claimed that it solved all of the problems of feeding articles > that get rejected. I wasn't even trying to solve this problem. > Too bad if it solves none of the problem you want > to solve. The problem it does solve is there are a LOT of rejected > articles simply because the upstream doesn't have any idea what the > active file of the downstream is, and the newsfeeds syntax is clumsy > when you want to precisely specify the downstream set of groups. You're very confused about causality here. Besides, I'm using the newsfeeds syntax (or to be more exact, a trivial transformation thereof) for this exact goal *today*, and I don't notice it being at all clumsy. Here's part of an actual such request list: *answers* *best*of* *dns* *domain* [...] !at.* !aus.* !bln.* [...] comp.lang* [...] *gnustep* I don't see how a less clumsy method could possibly look. > >Horrible changes. > > Why so? See above. Kai -- http://www.westfalen.de/private/khms/ "... by God I *KNOW* what this network is for, and you can't have it." - Russ Allbery (rra@stanford.edu)
Re: INN feed mechanisms (was: As News Groups Crumble, What...)
Author: Kai 'wusel' Siering
Date: Sun, 21 Nov 1999 00:00
Date: Sun, 21 Nov 1999 00:00
35 lines
2565 bytes
2565 bytes
Sorry for the late f'up ... Russ Allbery <rra@stanford.edu> wrote: % Forrest J Cavalier <mibsoft@mibsoftware.com> writes: % % > Instead, an array of all newsgroups in the active file is created, and % > the newsgroup patterns are processed to mark each newsgroup in that % > array with a flag for each downstream site. This is all done during a % > reload newsfeeds. So when an article comes in, the newsgroup is looked % > up in the array, and the feed decision is based on the flag. This is % > much, much faster than pattern matching. (But the disadvantage (or % > advantage) is that you don't know what to do with a newsgroup which is % > not already in the active file. INN drops those articles.) % % The parenthetical comment isn't entirely correct. You can set wanttrash % in inn.conf, and then all articles to newsgroups that INN doesn't know % about will be filed in the newsgroup "junk". ... and(!) have them propagated downstream if the downstream's site (pattern-)entry matches, correct? (Filing to "junk" locally is just fine, but unless you aren't be able to propagate them based on the Newsgroups: header, it's not of any real use, at least for a feede machine ;)) kai -- Kai 'wusel' Siering eMail @ home: wusel@uu.org Traveller on the Information Highway doing full-time administration. The views expressed here are not neccessarily those of any employer. - Looking for peers for several non-european national TLHs, please - - contact me for details so we can arrange a peering. -
Re: INN feed mechanisms (was: As News Groups Crumble, What...)
Author: bill davidsen
Date: Mon, 22 Nov 1999 00:00
Date: Mon, 22 Nov 1999 00:00
28 lines
2218 bytes
2218 bytes
In article <ylln7uqca1.fsf_-_@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: | The parenthetical comment isn't entirely correct. You can set wanttrash | in inn.conf, and then all articles to newsgroups that INN doesn't know | about will be filed in the newsgroup "junk". But looking at the "news" log, I note that some group (wanttrash true) are marked as 'j' and are fed to my peers, which others are marked '-' and not stored locally. Also, (nitpick alert!) if wanttrash is selected, and the junk group is being fed, it would be nice to see the list of peers fed, just like any other article. I'm using 2.3 (11/05) for several transit machines, where it is working extremely well, except for the occasional rejection of an article it should accept into junk. Yes I looked it up, single newsgroup, not on any poison list, some legitimate group in the "chile.*" hierarchy. Most puzzling, and I looked at the code, I don't see any way the code should generate an "unwanted newsgroup" block on a group not in active, as long as wanttrash is on. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Re: As News Groups Crumble, What Will The New Rules Be? (was Re: Help
Author: Miquel van Smoorenburg
Date: Mon, 22 Nov 1999 00:00
Date: Mon, 22 Nov 1999 00:00
48 lines
1913 bytes
1913 bytes
In article <ylg0xz4fuj.fsf@windlord.stanford.edu>,
Russ Allbery <rra@stanford.edu> wrote:
>At some point we should rework the syntax of the newsfeeds file from
>scratch, too.
I'd go even further than that. I think that the newsfeeds file,
innfeed.conf and incoming.conf should be combined into one
master file.
I already have something like this, in that I have one master file
that produces the three files. It's a perl script [ofcourse] but
not quite finished yet.
It looks like this:
innfeed {
use-mmap: false
log-file: bla
}
newsfeed ME {
groups: *
distributions: !local
}
peer skynet.be {
innfeed {
subfeed: 0
ip-name: news.cs.utwente.nl
}
incoming {
hostname: bla.bla.nl
}
newsfeed {
alias: news.skynet.be
groups: *,!alt.binaries.*
flags: Tm,<32768
}
}
Mike.
--
First things first, but not necessarily in that order.
Re: As News Groups Crumble, What Will The New Rules Be? (was Re: Help
Author: bill davidsen
Date: Mon, 22 Nov 1999 00:00
Date: Mon, 22 Nov 1999 00:00
64 lines
3795 bytes
3795 bytes
In article <7TBJKN-1w-B@khms.westfalen.de>, Kai Henningsen <kaih=7TBJKN-1w-B@khms.westfalen.de> wrote: | davidsen@tmr.com (bill davidsen) wrote on 19.11.99 in <81296t$4mb$1@newssvr02.news.prodigy.com>: | > | Even better if it doesn't rely on NNTP. (There are still UUCP feeds | > | around, you know.) | > | > Think about usenet a decade ago... you know it was done with UUCP, | > over dialup lines and Telebit modems at 19kb as I recall. I don't | | I still have a Worldblazer sitting around collecting dust. These days I'm | doing UUCP over TCP/IP over ISDN. UUCP over TCP seems to eat any line, at least up to T1. Uses all the bandwidth you have. | > Well, from a diferent angle. We're addressing the problem of not | > sending articles not wanted, at least in a general way. No question my | > thought is addressing more than just the limit by newsgroups issue, but | > it could be adapted to a IHAVE/SENDME UUCP feed as well, I think. | | The point is the above talks about per-article things, whereas I'm talking | about generic feed things. I actually think both are desirable, feed side to limit what you are offered, some offer with information to refine what you accept. | > I assume: | > - it is cheaper to refuse a message offered than to reject it after it | > is transmitted. | | Over UUCP, that's simply not an option at all. Sure it is. You have a perfectly fine IHAVE/SENDME protocol in place, where (currently only) message id's available are sent, responded to by a SENDME indicating which to send, followed by the messages. I am still using this for "fill-in" feeds to some sites with spotty feeds. Normally I get back requests for nothing, but a few times a week I send up a few articles which didn't make it. We ran UUCP with offers and accepts for years before NNTP came along, and it works well if you don't mind some delay in message arrival. | > and I also believe: | > - for either NNTP or UUCP it is better to do offers in either a batch | > or streaming mode to avoid waiting for a decision in realtime, and | > limit the overhead around the offer of a single message. | | Wrong for UUCP. You do not *have* real time. UUCP isn't for millisecond- | delay feeds, it's for low-bandwidth, batched feeds with typical delays in | the quarter-hour to day range. We disagree. If you have a single feed that's probably true, particularly if all you get for an offer is a message-id. But given frequest connects, say every four hours, it would still make sense if you have several feeds. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Re: As News Groups Crumble, What Will The New Rules Be? (was Re: Help
Author: bill davidsen
Date: Mon, 22 Nov 1999 00:00
Date: Mon, 22 Nov 1999 00:00
55 lines
3136 bytes
3136 bytes
In article <ylcZ3.1914$q6.145981@news1.epix.net>, Forrest J. Cavalier III <mibsoft@mibsoftware.com> wrote: | dynafeed needed a method external to NNTP to transfer those | newsrcs from peers to feeders, if I'm not mistaken. And it was | actual feed software: obtaining articles in the spool, etc. Yes, both advantages. Only I would say "used" rather than "needed," since any method requiring NNTP is of no use to the site which may most need to prefilter feeds. | The first advantage of using list active is that it is already | supported by NNTP. USENET <> Internate. Anything which requires realtime interconnection doesn't work on peers lacking same. | So even if the downstream news server does | not have FTP, or HTTP, then you still can get an active file from | that server (or some server.) See above, and this presumes some relationship between what is in my active file and what I want fed from some site. Dynafeed allowed me to describe what I would like to get. | OUTLINE PROPOSAL | ---------------- | Modify INN to take newsgroup patterns in newsfeeds(5) entries | of the forms: | &filepath | and | !&filepath | and | @&filepath STOP!! You have a very good idea and syntax, I have trimmed this to keep you from mentioning active files. Consider instead just including a wildmat file with a list of patterns, one per line, and you have something somewhat easier to maintain than my current m4 or C preprocessor soluitions. Of course you can use these solutions, but I really like what you *said* even if I disagree with what you *meant*. As much as I detest the nested block format of incoming.conf and innfeed.conf, I have to admit that I use the macros because I don't want to have giant list of kiddieporn groups stuffed in each newsfeed, and filtering is faster in innd than cleanfeed, at least on my IBM servers. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Re: As News Groups Crumble, What Will The New Rules Be? (was Re: Help
Author: bill davidsen
Date: Mon, 22 Nov 1999 00:00
Date: Mon, 22 Nov 1999 00:00
26 lines
2105 bytes
2105 bytes
In article <yl7ljb4be2.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: | This looks very similar to what I was picturing; the thing I'd like to | add, though, is some sort of streamlining or replacement for the flags | field, which is currently amazingly cryptic. Stuff like Tm or Tf,Wnm | should definitely be keywords (innfeed, nntpsend) or inferred from other | information, to avoid the frequent mistakes (like Tf,Wmn). | | The full power of newsfeed flags should be available to people who want | it, but most people don't want it and it's rather unfriendly. Totally agree that the full power should be there, and rather than change the format of the newsfeeds file I highly support the idea of a preprocessor which would generate newsfeeds and innfeed information. I generate a number of newsfeeds which go to files never used to feed news. The paths for freenix, for instance, some data tracking on local posts, etc. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Re: As News Groups Crumble, What Will The New Rules Be? (was Re: Help
Author: bill davidsen
Date: Mon, 22 Nov 1999 00:00
Date: Mon, 22 Nov 1999 00:00
28 lines
2184 bytes
2184 bytes
In article <ylln7qcmui.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: | bill davidsen <davidsen@tmr.com> writes: | | > Totally agree that the full power should be there, and rather than | > change the format of the newsfeeds file I highly support the idea of a | > preprocessor which would generate newsfeeds and innfeed information. | | It would be cleaner for debugging to just port the power of newsfeeds into | a new file with the same block syntax as most of INN is now using. (I'm | waiting to see if the new parsing code materializes before I work much on | it, plus it's a 2.4 thing definitely.) Otherwise, you have to worry about | the backend files that the average user doesn't know anything about | getting corrupted or desynchronized. I sure hope that the new parser does a better job than the one we have now. I really love the philosophy of totally ignoring any line not recognized, so that you can spend hours trying to guess which part of the file it (silently) didn't like. BAH!!! -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Re: As News Groups Crumble, What Will The New Rules Be? (was Re: Help
Author: BARRY BOUWSMA IS A PED0PH1LE
Date: Tue, 23 Nov 1999 00:00
Date: Tue, 23 Nov 1999 00:00
9 lines
1396 bytes
1396 bytes
On 23 Nov 1999, Kjetil Torgrim Homme wrote: > IGOT <msgid> SZ=1332 NG=alt.pedophile.barry-bouwsma,news.software.nntp SUBSCIRBE!
Re: As News Groups Crumble, What Will The New Rules Be? (was Re: Help
Author: Kjetil Torgrim Homme
Date: Tue, 23 Nov 1999 00:00
Date: Tue, 23 Nov 1999 00:00
33 lines
2228 bytes
2228 bytes
[Kai Henningsen] > Define it as a MIME type. You can then use any transport you like > to transfer it; a NNTP extension, mail, whatever happens to be > convenient. (Some of these could be defined, as well.) Hey, that would be cool. Just add them to your spool as <remotesite@newsserver>. So when I connect to monmouth, I do ARTICLE <news-feed.ifi.uio.no@newspump.monmouth.com> You may want to add a fixed string to that message-id to prevent collisions with user supplied message-ids. ... To be honest, though, I'd like a more advanced IHAVE system instead. IGOT <msgid> SZ=1332 NG=alt.pedophile.barry-bouwsma,news.software.nntp That would be a good first approximation. The only other field I filter on is Distribution, but I'm not sure whether it is cost effective to add that to a command like this, although it would be blank on the majority of articles. The downside to this is doubling the overhead, but that's insignificant for most people. It will also incur some CPU costs. The upside is unilateral feed tweaking. You can also make statistics on the news choose to turn down, without taking the bandwidth hit. Kjetil T.
Re: As News Groups Crumble, What Will The New Rules Be? (was Re: Help
Author: Rebecca Ore
Date: Tue, 23 Nov 1999 00:00
Date: Tue, 23 Nov 1999 00:00
23 lines
1682 bytes
1682 bytes
BARRY BOUWSMA IS A PED0PH1LE wrote: > > On 23 Nov 1999, Kjetil Torgrim Homme wrote: > > > IGOT <msgid> SZ=1332 NG=alt.pedophile.barry-bouwsma,news.software.nntp > > SUBSCIRBE! Barry!!!!!!! What you want, man, beer, a laptop, an American bride, your choice of cats. Someone asked recently what jail was keeping you. <<<<<<Barry>>>>>> And I now have a baby server all of my own, just no news yet. -- Rebecca Ore
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