Thread View: news.software.nntp
28 messages
28 total messages
Started by David Ball
Thu, 15 Feb 2007 18:13
Thinking of switching to INN - have questions
Author: David Ball
Date: Thu, 15 Feb 2007 18:13
Date: Thu, 15 Feb 2007 18:13
40 lines
2480 bytes
2480 bytes
Hello, I have a small text only server and I'm thinking of switching from an old version of Dnews to INN. I have a few questions that I haven't found answers for. 1. Does INN reject messages for groups that aren't in it's active file or does it accept them and attempt to pass them on to it's peers? I'd prefer it to reject them. 2. When INN rejects a message, will it remember the message ID and tell any other peer that offers the message that it already has it instead of the message being transferred and then rejected? 3. It's just a small text only server and I have had peers accidently start trying to send me a full binary feed in the past. My normal usage for usenet is < 100 GB per month and I get charged for transfer overages if it goes much over 250 GB a month. Do you have any suggestions on how to limit a runaway peer from causing huge bandwidth overages. Does INN have some kind of limit mechanism. 4. How hands-off is INN for a small server like this. Does it crash often ? I'm used to just updating the active file and occasionally tuning some parameters rather than having to check it several times a day. 5. Any advice is welcome. BTW, I have several peers and I submit stats to the TOP 1000, but I usually rank in the 1300 - 1700 range on the list :-) TIA, -- Dave
Re: Thinking of switching to INN - have questions
Author: Russ Allbery
Date: Thu, 15 Feb 2007 18:43
Date: Thu, 15 Feb 2007 18:43
45 lines
3125 bytes
3125 bytes
David Ball <davidbemail-1q04@yahoo.com> writes:
> 1. Does INN reject messages for groups that aren't in it's active file
> or does it accept them and attempt to pass them on to it's peers? I'd
> prefer it to reject them.
You can configure it either way. Rejection is the default.
> 2. When INN rejects a message, will it remember the message ID and
> tell any other peer that offers the message that it already has it
> instead of the message being transferred and then rejected?
Yes.
> 3. It's just a small text only server and I have had peers accidently
> start trying to send me a full binary feed in the past. My normal usage
> for usenet is < 100 GB per month and I get charged for transfer overages
> if it goes much over 250 GB a month. Do you have any suggestions on how
> to limit a runaway peer from causing huge bandwidth overages. Does INN
> have some kind of limit mechanism.
This is more of a problem. INN doesn't really have a bandwidth limiting
function at that level. I'd probably try to do something with iptables
for that sort of case, since it can limit bandwidth at the network level
outside of the protocol.
It's difficult to prevent peers from sending you articles, although INN
could potentially acquire the ability to slow or stop responding to peers
that send too many bytes. But it doesn't have that capability right now.
> 4. How hands-off is INN for a small server like this. Does it crash
> often ? I'm used to just updating the active file and occasionally
> tuning some parameters rather than having to check it several times a
> day.
INN can be tricky to set up, but once it's set up and running,
particularly for a small server like this where you can use tradindexed
overview, it pretty much just runs. I usually go months without touching
my servers.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Thinking of switching to INN - have questions
Author: Iulius
Date: Thu, 15 Feb 2007 18:54
Date: Thu, 15 Feb 2007 18:54
65 lines
3433 bytes
3433 bytes
Hi David, > 1. Does INN reject messages for groups that aren't in it's active file > or does it accept them and attempt to pass them on to it's peers? I'd > prefer it to reject them. Yes, it can reject articles which are not in its active file. And it can also accept them (in the newsgroup « junk ») and feed them to your peers. --> wanttrash in inn.conf > 2. When INN rejects a message, will it remember the message ID and > tell any other peer that offers the message that it already has it > instead of the message being transferred and then rejected? Yes. --> remembertrash in inn.conf > 3. It's just a small text only server and I have had peers accidently > start trying to send me a full binary feed in the past. My normal > usage for usenet is < 100 GB per month and I get charged for transfer > overages if it goes much over 250 GB a month. Do you have any > suggestions on how to limit a runaway peer from causing huge bandwidth > overages. Does INN have some kind of limit mechanism. You cannot avoid receiving binaries if your peers send them... You ought to tell them either to exclude binaries (groups matching *binar*, etc.) or to limit the size of the articles they send (but you will lose some text articles). However, with Cleanfeed, you can reject these binaries; so you won't be wasting your band width when sending these binaries to your other feeds. They will be rejected by INN. > 4. How hands-off is INN for a small server like this. Does it crash > often ? I'm used to just updating the active file and occasionally > tuning some parameters rather than having to check it several times a > day. No crash!! INN works very well. No need to worry about that. Once started, nothing can make it crash :) > 5. Any advice is welcome. See <http://www.die.net/doc/linux/man/man5/inn.conf.5.html> for the configuration of inn.conf; and other references of files are at the bottom of that page. INN is a very good choice for a news server. Regards, -- Iulius « Si bene commemini, causae sunt quinque bibendi : Hospitis aduentus, praesens sitis atque futura, Et uini bonitas, et quaelibet altera causa. »
Re: Thinking of switching to INN - have questions
Author: Bert Hyman
Date: Thu, 15 Feb 2007 19:04
Date: Thu, 15 Feb 2007 19:04
32 lines
2413 bytes
2413 bytes
iulius@nom-de-mon-site.com.invalid (Iulius) wrote in news:er2a8l$ltm$1@guepard.ecp.fr: >> 3. It's just a small text only server and I have had peers >> accidently start trying to send me a full binary feed in the past. >> My normal usage for usenet is < 100 GB per month and I get charged >> for transfer overages if it goes much over 250 GB a month. Do you >> have any suggestions on how to limit a runaway peer from causing >> huge bandwidth overages. Does INN have some kind of limit >> mechanism. > > You cannot avoid receiving binaries if your peers send them... You > ought to tell them either to exclude binaries (groups matching > *binar*, etc.) or to limit the size of the articles they send (but > you will lose some text articles). If they're posted to true binaries groups which are not in active, they'll be refused as "unwanted". The body of a refused article isn't sent, is it? > However, with Cleanfeed, you can reject these binaries; so you > won't be wasting your band width when sending these binaries to > your other feeds. They will be rejected by INN. But he'll still have to pay the freight to receive the articles, since CleanFeed looks at the body of the article to try to figure out if it's binary. -- Bert Hyman | St. Paul, MN | bert@iphouse.com
Re: Thinking of switching to INN - have questions
Author: F. Senault
Date: Thu, 15 Feb 2007 19:27
Date: Thu, 15 Feb 2007 19:27
58 lines
3684 bytes
3684 bytes
Le 15 février 2007 à 19:13, David Ball a écrit : > Hello, > > I have a small text only server and I'm thinking of switching from an > old version of Dnews to INN. I have a few questions that I haven't > found answers for. > > 1. Does INN reject messages for groups that aren't in it's active file > or does it accept them and attempt to pass them on to it's peers? I'd > prefer it to reject them. By default, it rejects them (see the wanttrash inn.conf parameter). > 2. When INN rejects a message, will it remember the message ID and > tell any other peer that offers the message that it already has it > instead of the message being transferred and then rejected? Yeps (that's remembertrash...). > 3. It's just a small text only server and I have had peers accidently > start trying to send me a full binary feed in the past. My normal > usage for usenet is < 100 GB per month and I get charged for transfer > overages if it goes much over 250 GB a month. Do you have any > suggestions on how to limit a runaway peer from causing huge bandwidth > overages. Does INN have some kind of limit mechanism. No idea here. I'd do it with some kind of traffic-shaping directly at the network level, though. > 4. How hands-off is INN for a small server like this. Does it crash > often ? I'm used to just updating the active file and occasionally > tuning some parameters rather than having to check it several times a > day. I don't know what exactly you mean by a small server, but I manage a server with a few dozens of regular users and a little more than one thousand groups, and I've never had any innd crashes ; even the CURRENT versions of INN are usually rock-stable. The box has mean uptimes in the year range. > 5. Any advice is welcome. You should consider subscribing to the inn-workers mailing-list ; it has a very low traffic. Anyways, don't hesitate to ask questions on this group or on the list. > BTW, I have several peers and I submit stats to the TOP 1000, but I > usually rank in the 1300 - 1700 range on the list :-) Ah, I'm a bit lower than that... :) Fred -- Always ready for another start Always going for another round You, you are perfect all the time You, you must please the public line You, you are kinder than the kind You, you are milder than the mild You, you are clean in every way (Front 242, Crappage)
Re: Thinking of switching to INN - have questions
Author: F. Senault
Date: Thu, 15 Feb 2007 19:29
Date: Thu, 15 Feb 2007 19:29
25 lines
2375 bytes
2375 bytes
Le 15 février 2007 à 20:04, Bert Hyman a écrit : > iulius@nom-de-mon-site.com.invalid (Iulius) wrote in > news:er2a8l$ltm$1@guepard.ecp.fr: >> You cannot avoid receiving binaries if your peers send them... You >> ought to tell them either to exclude binaries (groups matching >> *binar*, etc.) or to limit the size of the articles they send (but >> you will lose some text articles). > > If they're posted to true binaries groups which are not in active, > they'll be refused as "unwanted". > > The body of a refused article isn't sent, is it? It is. The NNTP protocol doesn't allow to send the headers and bodies separately. The only thing you have to make the first decision before receiving the whole article is the message-ID. Fred -- We are sending messages from our brains, using the vehicle of electrons and photos to your eyeballs... as we watch this screen, our minds are bedazzled, our minds have softened, our linear sharp logical thinking is gentle, and we're linking brain to brain... (Timothy Leary)
Re: Thinking of switching to INN - have questions
Author: Bert Hyman
Date: Thu, 15 Feb 2007 19:31
Date: Thu, 15 Feb 2007 19:31
15 lines
1656 bytes
1656 bytes
fred@lacave.net (F. Senault) wrote in news:169ffa6gvlhmp$.dlg@tamnavulin.lacave.local: > Le 15 février 2007 à 20:04, Bert Hyman a écrit : >> >> The body of a refused article isn't sent, is it? > > It is. The NNTP protocol doesn't allow to send the headers and > bodies separately. The only thing you have to make the first > decision before receiving the whole article is the message-ID. Oh; bummer. -- Bert Hyman | St. Paul, MN | bert@iphouse.com
Re: Thinking of switching to INN - have questions
Author: David Ball
Date: Thu, 15 Feb 2007 19:38
Date: Thu, 15 Feb 2007 19:38
38 lines
3024 bytes
3024 bytes
On 15 Feb 2007 19:04:35 GMT, Bert Hyman <bert@iphouse.com> wrote: >iulius@nom-de-mon-site.com.invalid (Iulius) wrote in >news:er2a8l$ltm$1@guepard.ecp.fr: > > >>> 3. It's just a small text only server and I have had peers >>> accidently start trying to send me a full binary feed in the past. >>> My normal usage for usenet is < 100 GB per month and I get charged >>> for transfer overages if it goes much over 250 GB a month. Do you >>> have any suggestions on how to limit a runaway peer from causing >>> huge bandwidth overages. Does INN have some kind of limit >>> mechanism. >> >> You cannot avoid receiving binaries if your peers send them... You >> ought to tell them either to exclude binaries (groups matching >> *binar*, etc.) or to limit the size of the articles they send (but >> you will lose some text articles). I do both, but over the years I've had many peers who are doing maintenance or something and accidently set it to a full binary feed. It can take days to contact the right person and get the feed set back like it is supposed to be. With todays 100 Mbps connections, they can use a LOT of bandwidth before you notice it and block the peer till it's straightened out. > >If they're posted to true binaries groups which are not in active, >they'll be refused as "unwanted". > >The body of a refused article isn't sent, is it? AFAIK, you have to decide whether to have it sent to you based only on the message ID. You don't know the groups the message is for until you've already told the other end to send it and you start to receive the message. -- Dave
Re: Thinking of switching to INN - have questions
Author: Frank Slootweg
Date: Thu, 15 Feb 2007 20:19
Date: Thu, 15 Feb 2007 20:19
41 lines
2641 bytes
2641 bytes
David Ball <davidbemail-1q04@yahoo.com> wrote: [deleted] > 3. It's just a small text only server and I have had peers accidently > start trying to send me a full binary feed in the past. My normal > usage for usenet is < 100 GB per month and I get charged for transfer > overages if it goes much over 250 GB a month. Do you have any > suggestions on how to limit a runaway peer from causing huge bandwidth > overages. Does INN have some kind of limit mechanism. As others have indicated, INN doesn't have good controls for this. If it's really a small (text only) server, you may want to ask your peers if they are willing to let you *suck* articles *from* them and *feed* articles *to* them. Many people frown upon the use of suck[ing], but there's actually very little wrong with *suck[ing]*, it's the *remote posting* (rpost(1)) part which is somewhat akward/'fake'. By using a normal feed for sending articles, you eliminate the latter concern. Sadly enough, I can not find the current homepage for suck(1). But if you search on "suck" and "bobyetman", you will probably find a 'depot' for your platform. There are also alternatives to suck(1), like Newsx [1], but I have no experience with those, so if you want to go that route probably others can help you. Some old URLs/info for suck(1): - Maintainer: Robert A. Yetman <bobyetman at att dot net> or <...@comcast.net>. - <http://home.comcast.net/~bobyetman> (05DEC2005) - <http://home.att.net/~bobyetman> (29MAR1998) [deleted] [1] <http://www.kvaleberg.com/newsx.html>
Re: Thinking of switching to INN - have questions
Author: Geoff Brozny
Date: Thu, 15 Feb 2007 23:16
Date: Thu, 15 Feb 2007 23:16
39 lines
2930 bytes
2930 bytes
David Ball wrote: > > I do both, but over the years I've had many peers who are doing > maintenance or something and accidently set it to a full binary feed. > It can take days to contact the right person and get the feed set back > like it is supposed to be. With todays 100 Mbps connections, they can > use a LOT of bandwidth before you notice it and block the peer till > it's straightened out. > Normally what I do in that case is I identify the IP addresses they are using to feed me and I null route them temporary, there have been a few new stealth binary groups, alt.dvdn and alt.dvdnordic* to be exact that were causing me around 50mb/sec of unwanted binary traffic last Saturday. However, if your paying per gb, vs. 95th percentile, at that rate you probably would of exceed the gb limit by the time you were to notice. >> If they're posted to true binaries groups which are not in active, >> they'll be refused as "unwanted". >> >> The body of a refused article isn't sent, is it? > > AFAIK, you have to decide whether to have it sent to you based only on > the message ID. You don't know the groups the message is for until > you've already told the other end to send it and you start to receive > the message. > This is where the remebertrash setting helps out, that way your only seeing the article once, vs. all your peers sending you that same unwanted group over and over again. I do not think I have had anyone sending me a full binary feed by accident for a long time, the biggest problem is some moron creating a new binary group out of *binar* that seems to end up being my biggest problem. geoff
Re: Thinking of switching to INN - have questions
Author: Bert Hyman
Date: Thu, 15 Feb 2007 23:41
Date: Thu, 15 Feb 2007 23:41
27 lines
2124 bytes
2124 bytes
In news:4hc9t25giupcfbs7pflr5uijee354fgs69@4ax.com David Ball <davidbemail-1q04@yahoo.com> wrote: > On 15 Feb 2007 19:04:35 GMT, Bert Hyman <bert@iphouse.com> wrote: > > >> >>If they're posted to true binaries groups which are not in active, >>they'll be refused as "unwanted". >> >>The body of a refused article isn't sent, is it? > > AFAIK, you have to decide whether to have it sent to you based only on > the message ID. You don't know the groups the message is for until > you've already told the other end to send it and you start to receive > the message. You're quite right, and I really ought to know this, having run a small INN-based server at work for years. Of course, it's because the thing's been running for years with practically no attention from me that's caused me to pretty much forget how it works, so I guess that answers one of the OP's other questions :-) -- Bert Hyman St. Paul, MN bert@iphouse.com
Re: Thinking of switching to INN - have questions
Author: David Ball
Date: Fri, 16 Feb 2007 00:39
Date: Fri, 16 Feb 2007 00:39
61 lines
4327 bytes
4327 bytes
On 15 Feb 2007 23:41:09 GMT, Bert Hyman <bert@iphouse.com> wrote: >In news:4hc9t25giupcfbs7pflr5uijee354fgs69@4ax.com David Ball ><davidbemail-1q04@yahoo.com> wrote: > [snip] >> >> AFAIK, you have to decide whether to have it sent to you based only on >> the message ID. You don't know the groups the message is for until >> you've already told the other end to send it and you start to receive >> the message. > >You're quite right, and I really ought to know this, having run a small >INN-based server at work for years. > >Of course, it's because the thing's been running for years with >practically no attention from me that's caused me to pretty much forget >how it works, so I guess that answers one of the OP's other questions >:-) Running with little attention is a good thing most of the time!!! You wouldn't believe how many times I've wished the ihave message included the groups. I haven't looked at the new RFC's yet but I really wish that the protocol/software had the peers regularly request a list of active groups, poisoned groups, max message size, and possibly a list of attachment extensions that you don't want. The software could read those a couple of times a day and filter against that. Actually, I wonder how hard that would be to implement. The sending server already has to translate group names to numeric group ID's for storing and indexing the messages on it's own spool. If it read the peers active file, translated the peers group names to it's own group id's and built a boolean flag array, all it would have to do is use the group id it already has to index into the flag array to see what to send. Hmm, maybe it could also read a list of poisoned groups from the peer and build a boolean flag array for that as well. Checking a couple of boolean flags arrays with indexes (numeric group id's) it already has should be faster than doing pattern matching on the group name in the feed definition. I haven't used INN yet, or looked at it's source code, so I don't know if it's doing something like the flag arrays indexed by group id already. If it is, then all that would be needed for those features would be the code to read the active groups and poisoned groups from the peer and build the array from that. Of course it would also have to have some code added to answer those questions from the peer. Max message size is already filtered against, all you're doing is having the sending machine update it from the peer. I'm not sure how easy it would be to implement checking against attachment types before sending a message. I currently have a rule in Dnews that blocks incoming messages with attachments with types like exe, pif, rar, avi, and a few others. I hope all that stuff I just wrote at least resembles what I intended to write :-) -- Dave
Re: Thinking of switching to INN - have questions
Author: Sylvain Robitaille
Date: Fri, 16 Feb 2007 06:25
Date: Fri, 16 Feb 2007 06:25
34 lines
2785 bytes
2785 bytes
David Ball wrote:
> The sending server already has to translate group names to numeric
> group ID's for storing and indexing the messages on it's own spool.
I don't think it does, at least not for the traditional file-based
article spool. The group names are "coded" into directory paths, such as
"${spooldir}/news/software/nntp".
> If it read the peers active file, translated the peers group names to
> it's own group id's and built a boolean flag array, all it would have
> to do is use the group id it already has to index into the flag array
> to see what to send.
That presumes that the news server's peers have only the same set or
a subset of the groups that it already carries, which probably isn't a
good assumption. Otherwise where in the array do groups it doesn't
carry fit?
> I'm not sure how easy it would be to implement checking against
> attachment types before sending a message. I currently have a rule in
> Dnews that blocks incoming messages with attachments with types like
> exe, pif, rar, avi, and a few others.
See Cleanfeed. What you're describing is implemented in that package's
ability to filter out "binary attachments" from non-binary groups.
--
----------------------------------------------------------------------
Sylvain Robitaille syl@alcor.concordia.ca
Systems and Network analyst / Newsmaster Concordia University
Instructional & Information Technology Montreal, Quebec, Canada
----------------------------------------------------------------------
Re: Thinking of switching to INN - have questions
Author: wkronert
Date: Fri, 16 Feb 2007 10:41
Date: Fri, 16 Feb 2007 10:41
26 lines
2501 bytes
2501 bytes
Bert Hyman <bert@iphouse.com> wrote: >iulius@nom-de-mon-site.com.invalid (Iulius) wrote in >news:er2a8l$ltm$1@guepard.ecp.fr: >> You cannot avoid receiving binaries if your peers send them... You >> ought to tell them either to exclude binaries (groups matching >> *binar*, etc.) or to limit the size of the articles they send (but >> you will lose some text articles). The *binar* doesn't catch all the various binary newsgroups. Personally I use: @*.bina*,@*.baina*,@*.biana*,@*.binia* >If they're posted to true binaries groups which are not in active, >they'll be refused as "unwanted". > >The body of a refused article isn't sent, is it? > >> However, with Cleanfeed, you can reject these binaries; so you >> won't be wasting your band width when sending these binaries to >> your other feeds. They will be rejected by INN. > >But he'll still have to pay the freight to receive the articles, since >CleanFeed looks at the body of the article to try to figure out if >it's binary. This is where it pays to limit the size of your incoming feeds. Peers that use Cleanfeed or filter out binaries I don't impose a size limit on there incoming feed. Peers that do not filter binaries I ack them to limit the size to 60k and it works out very well. On everage we reject about 2000 mis-placed binaries per day. Without the size limit it was 10x that amount, about 20,00 mis-placed binaries being rejected per day. Bill
Re: Thinking of switching to INN - have questions
Author: Iulius
Date: Fri, 16 Feb 2007 13:12
Date: Fri, 16 Feb 2007 13:12
12 lines
1681 bytes
1681 bytes
En réponse à wkronert@sunstroke.sdsu.edu : > Without the size limit it was 10x that amount, about 20,00 mis-placed binaries > being rejected per day. If Cleanfeed catches them. I had to perform a « ctlinnd changegroup pt.binarios x » in order to stop receiving yEnc articles not caught by Cleanfeed in that group. -- Iulius « Vous avez vu mon chien petit ? »
Re: Thinking of switching to INN - have questions
Author: Iulius
Date: Fri, 16 Feb 2007 13:32
Date: Fri, 16 Feb 2007 13:32
18 lines
1964 bytes
1964 bytes
En réponse à F. Senault : >> 3. It's just a small text only server and I have had peers accidently >> start trying to send me a full binary feed in the past. My normal >> usage for usenet is < 100 GB per month and I get charged for transfer >> overages if it goes much over 250 GB a month. Do you have any >> suggestions on how to limit a runaway peer from causing huge bandwidth >> overages. Does INN have some kind of limit mechanism. > > No idea here. I'd do it with some kind of traffic-shaping directly at > the network level, though. But it still consumes the bandwidth... -- Iulius « Le temps change toute chose ; il n'y a aucune raison pour que la langue échappe à cette loi universelle. » (Saussure)
Re: Thinking of switching to INN - have questions
Author: Alexander Bartolich
Date: Fri, 16 Feb 2007 13:38
Date: Fri, 16 Feb 2007 13:38
13 lines
2330 bytes
2330 bytes
Iulius wrote: > [...] > If Cleanfeed catches them. > I had to perform a « ctlinnd changegroup pt.binarios x » in order to stop > receiving yEnc articles not caught by Cleanfeed in that group. Setting the group mode to "x" reduces the white noise produced by "docheckgroups". However, it also causes local crossposts to that group to fail completely. Which means that you can't do a regular third-party cancel on spam crossposted to such groups. -- post tenebras lux. post fenestras tux.
Re: Thinking of switching to INN - have questions
Author: Iulius
Date: Fri, 16 Feb 2007 13:47
Date: Fri, 16 Feb 2007 13:47
21 lines
2234 bytes
2234 bytes
En réponse à Alexander Bartolich : >> I had to perform a « ctlinnd changegroup pt.binarios x » in order to stop >> receiving yEnc articles not caught by Cleanfeed in that group. > > Setting the group mode to "x" reduces the white noise produced by > "docheckgroups". However, it also causes local crossposts to that > group to fail completely. Which means that you can't do a regular > third-party cancel on spam crossposted to such groups. Does it mean that if there is a spam crossposted to « pt.binarios » and, for instance, « alt.binaries », the article in « alt.binaries » cannot be cancelled by a local cancel control article? If I do a « ctlinnd cancel <m-ID> », I assume it will work. And if a cancel article is received by INN via its feeds, the article will be cancelled, won't it? -- Iulius « Impossible n'est pas gaulois, les amis ! » (Distributiondesprix)
Re: Thinking of switching to INN - have questions
Author: Alexander Bartolich
Date: Fri, 16 Feb 2007 14:03
Date: Fri, 16 Feb 2007 14:03
20 lines
2498 bytes
2498 bytes
Iulius wrote: > [...] > Does it mean that if there is a spam crossposted to « pt.binarios » > and, for instance, « alt.binaries », the article in « alt.binaries » > cannot be cancelled by a local cancel control article? Yes, that's my experience. > If I do a « ctlinnd cancel <m-ID> », I assume it will work. Of course. > And if a cancel article is received by INN via its feeds, the > article will be cancelled, won't it? I see no reason why it should be otherwise. But I never actually tested it. -- post tenebras lux. post fenestras tux.
Re: Thinking of switching to INN - have questions
Author: Iulius
Date: Fri, 16 Feb 2007 14:29
Date: Fri, 16 Feb 2007 14:29
17 lines
2003 bytes
2003 bytes
En réponse à Alexander Bartolich : >> And if a cancel article is received by INN via its feeds, the >> article will be cancelled, won't it? > > I see no reason why it should be otherwise. All right. Thanks. Thus, the « x » flag is great for what I want (not receiving binaries and all sort of yEnc which managed their way through Cleanfeed, and not propagating that spam to my other feeds). Furthermore, my readers are not supposed (in a School) to have access to binaries. So nobody is hurt by the absence of that group. -- Iulius « Tous les chemins mènent à rame... » (Mouléfix)
Re: Thinking of switching to INN - have questions
Author: F. Senault
Date: Fri, 16 Feb 2007 15:32
Date: Fri, 16 Feb 2007 15:32
35 lines
2995 bytes
2995 bytes
Le 16 février à 14:32, Iulius a écrit :
> En réponse à F. Senault :
>>> 3. It's just a small text only server and I have had peers accidently
>>> start trying to send me a full binary feed in the past. My normal
>>> usage for usenet is < 100 GB per month and I get charged for transfer
>>> overages if it goes much over 250 GB a month. Do you have any
>>> suggestions on how to limit a runaway peer from causing huge bandwidth
>>> overages. Does INN have some kind of limit mechanism.
>>
>> No idea here. I'd do it with some kind of traffic-shaping directly at
>> the network level, though.
>
> But it still consumes the bandwidth...
There's no way with the NNTP protocol at this point to do otherwise.
And throttling (in the networking sense) a connexion means that the
administrator has some time to discover the problem. Even better, the
newsmaster at the other side of the pipe could discover the spooled
articles and investigate.
The enterprising network guru can configure the firewall to allocate a
small chunk of bandwidth per peer, too. That can help to maintain a
good quality of service event if someone gets distracted.
But, well, the most practical way is to keep an eye on the logs during
the start of the matin^Wpeering...
Fred
--
Vows are spoken To be broken Feelings are intense
Words are trivial Pleasures remain So does the pain
Words are meaningless And forgettable
(Depeche Mode, Enjoy the Silence)
Re: Thinking of switching to INN - have questions
Author: David Ball
Date: Sat, 17 Feb 2007 00:08
Date: Sat, 17 Feb 2007 00:08
45 lines
3255 bytes
3255 bytes
On Fri, 16 Feb 2007 06:25:07 +0000 (UTC), Sylvain Robitaille
<syl@alcor.concordia.ca> wrote:
>David Ball wrote:
>
>> The sending server already has to translate group names to numeric
>> group ID's for storing and indexing the messages on it's own spool.
>
>I don't think it does, at least not for the traditional file-based
>article spool. The group names are "coded" into directory paths, such as
>"${spooldir}/news/software/nntp".
I keep forgetting about that. For some reason, I thought almost
everybody had abandoned that years ago and gone to large buckets or
cyclical buffers.
>
>> If it read the peers active file, translated the peers group names to
>> it's own group id's and built a boolean flag array, all it would have
>> to do is use the group id it already has to index into the flag array
>> to see what to send.
>
>That presumes that the news server's peers have only the same set or
>a subset of the groups that it already carries, which probably isn't a
>good assumption. Otherwise where in the array do groups it doesn't
>carry fit?
Oops. The software I've been using doesn't forward anything to it's
peers unless it is in it's own active file. I guess I'm really going
to have a lot of research to do on the internals of INN.
>
>> I'm not sure how easy it would be to implement checking against
>> attachment types before sending a message. I currently have a rule in
>> Dnews that blocks incoming messages with attachments with types like
>> exe, pif, rar, avi, and a few others.
>
>See Cleanfeed. What you're describing is implemented in that package's
>ability to filter out "binary attachments" from non-binary groups.
That's great! There's just too many stealth binary groups out there
trying to sneak past. Does Cleanfeed use a lot of CPU ?
-- David
Re: Thinking of switching to INN - have questions
Author: Jeffrey M. Vinocur
Date: Sat, 17 Feb 2007 19:16
Date: Sat, 17 Feb 2007 19:16
16 lines
1683 bytes
1683 bytes
In article <er2pk1$g26$1@posting.glorb.com>, Geoff Brozny <gbrozny@glorb.columbus.oh.us> wrote: > >Normally what I do in that case is I identify the IP addresses they are >using to feed me and I null route them temporary Or simply commenting them out of incoming.conf, even. In fact, if you do that, then they'll be bounced to nnrpd, and you could use the reject_with parameter of readers.conf to send them a message that might appear in their logfiles. -- Jeffrey M. Vinocur jeff@litech.org
Re: Thinking of switching to INN - have questions
Author: Jeffrey M. Vinocur
Date: Sat, 17 Feb 2007 19:23
Date: Sat, 17 Feb 2007 19:23
42 lines
2657 bytes
2657 bytes
In article <gfs9t29b4suvjbsctgot3c66bijqmakerh@4ax.com>, David Ball <davidbemail-1q04@yahoo.com> wrote: > >You wouldn't believe how many times I've wished the ihave message >included the groups. It's a bit impractical (and not that worthwhile) to include all of this overhead for every single message. Your other approach is much more reasonable... >I haven't looked at the new RFC's yet The principle was to clean up and standardize existing practice, so there are no major changes like you suggest. However, now that we have a working extensions mechanism, people can propose additionals of all kinds. >really wish that the protocol/software had the peers regularly request >a list of active groups, poisoned groups, max message size, and >possibly a list of attachment extensions that you don't want. The >software could read those a couple of times a day and filter against >that. Right, this is a pretty reasonable extension, and one that people have been bouncing around for a while. >Actually, I wonder how hard that would be to implement. [...] Keep in mind that servers already have the capability to do all sorts of filtering on outgoing feeds, so you don't need to do the work of implementing the filters in the first place; you just need to implement the communication method that lets the receiving server notify the peer of what restrictions it would like. -- Jeffrey M. Vinocur jeff@litech.org
Re: Thinking of switching to INN - have questions
Author: Jeffrey M. Vinocur
Date: Sat, 17 Feb 2007 19:26
Date: Sat, 17 Feb 2007 19:26
46 lines
3081 bytes
3081 bytes
In article <g9hct2pc516u3nqdasqpb207j3duh9h00p@4ax.com>, David Ball <davidbemail-1q04@yahoo.com> wrote: >On Fri, 16 Feb 2007 06:25:07 +0000 (UTC), Sylvain Robitaille ><syl@alcor.concordia.ca> wrote: > >>David Ball wrote: >> >>> If it read the peers active file, translated the peers group names to >>> it's own group id's and built a boolean flag array, all it would have >>> to do is use the group id it already has to index into the flag array >>> to see what to send. >> >>That presumes that the news server's peers have only the same set or >>a subset of the groups that it already carries, which probably isn't a >>good assumption. Otherwise where in the array do groups it doesn't >>carry fit? > >Oops. The software I've been using doesn't forward anything to it's >peers unless it is in it's own active file. I guess I'm really going >to have a lot of research to do on the internals of INN. I think you guys are spending too much effort on subtle optimization of non-bottlenecks. INN already restricts outgoing feeds by newsgroup (as per the config in the newsfeeds file) without doing anything nearly this complicated. >>> I'm not sure how easy it would be to implement checking against >>> attachment types before sending a message. I currently have a rule in >>> Dnews that blocks incoming messages with attachments with types like >>> exe, pif, rar, avi, and a few others. >> >>See Cleanfeed. What you're describing is implemented in that package's >>ability to filter out "binary attachments" from non-binary groups. > >That's great! There's just too many stealth binary groups out there >trying to sneak past. Does Cleanfeed use a lot of CPU ? Not all that much...and keep in mind that news servers always have CPU to spare, because the limiting resource is always network I/O or disk I/O. -- Jeffrey M. Vinocur jeff@litech.org
Re: Thinking of switching to INN - have questions
Author: Geoff Brozny
Date: Sun, 18 Feb 2007 18:13
Date: Sun, 18 Feb 2007 18:13
30 lines
2312 bytes
2312 bytes
"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message news:er7kao$guj$1@puck.litech.org... > In article <er2pk1$g26$1@posting.glorb.com>, > Geoff Brozny <gbrozny@glorb.columbus.oh.us> wrote: >> >>Normally what I do in that case is I identify the IP addresses they are >>using to feed me and I null route them temporary > > Or simply commenting them out of incoming.conf, even. > > In fact, if you do that, then they'll be bounced to nnrpd, and > you could use the reject_with parameter of readers.conf to send > them a message that might appear in their logfiles. > Yes, the only problem with that though is if I do that and then I go and reload incoming.conf, it takes quite some time to resolve 156+ hostnames, and then there are probably 1-2 hostnames that will not resolve, and that basically slows things down for a few min, I choose to leave incoming.conf alone unless I have to touch it. Also sometimes commenting them off and reloading incoming does not deal with existing connections, so if they have a few streams open, you will get hammered until they terminate that stream. geoff
Re: Thinking of switching to INN - have questions
Author: Iulius
Date: Mon, 19 Feb 2007 16:57
Date: Mon, 19 Feb 2007 16:57
24 lines
2270 bytes
2270 bytes
En réponse à Iulius :
> Thus, the « x » flag is great for what I want (not receiving binaries
> and all sort of yEnc which managed their way through Cleanfeed, and
> not propagating that spam to my other feeds). Furthermore, my readers
> are not supposed (in a School) to have access to binaries. So nobody
> is hurt by the absence of that group.
Finally, even though « x » works great, it is a pain to lose some articles :)
Especially when I have a dozen of such newsgroups.
I have just added in Cleanfeed a line saying:
if (($hdr{Newsgroups} =~ /pt\.|it\.|uk\./i) && ($hdr{'__LINES__'} >= 1000) {
return 'Spam reject.';
}
And it seems to work well. Usually, articles with lots of lines are not
very interesting in these hierarchies...
--
Iulius
« J'aimerais qu'on me lâche les cothurnes ! » (Astérix)
Re: Thinking of switching to INN - have questions
Author: Sylvain Robitaille
Date: Mon, 19 Feb 2007 19:29
Date: Mon, 19 Feb 2007 19:29
16 lines
1948 bytes
1948 bytes
David Ball wrote: > Does Cleanfeed use a lot of CPU ? Not in my experience. What CPU it does use is more than made up for in the amount of disk-based I/O you'll save by not storing "misdirected" articles. In practice, Cleanfeed will improve the performance of a news server. -- ---------------------------------------------------------------------- Sylvain Robitaille syl@alcor.concordia.ca Systems and Network analyst / Newsmaster Concordia University Instructional & Information Technology Montreal, Quebec, Canada ----------------------------------------------------------------------
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