Thread View: news.software.nntp
9 messages
9 total messages
Started by Schroeder, AJ
Fri, 12 Dec 2008 18:39
Removing binary feeds from INND
Author: Schroeder, AJ
Date: Fri, 12 Dec 2008 18:39
Date: Fri, 12 Dec 2008 18:39
23 lines
1880 bytes
1880 bytes
Hello group, A while ago I set up a INND server at work. The feeds were all text and some binaries, but now the binary feeds are saturating our internet connection and management would like to turn off all binary feeds. What would be a good way to remove all binary feeds/groups from the INND server? I know I need to talk to my peers and tell them that we are no longer accepting binaries, but that's half of it. The other half of the work is where I am suffering from amnesia (it has been a solid 1.5 years since I even logged onto the news server). I assume that removing the binary groups would be a combination of editing the active file and newsfeeds config file? Does anyone have any ideas for a quick and dirty method to rid my server of binary groups? Any assistance is appreciated. Thanks, AJ Schroeder
Re: Removing binary feeds from INND
Author: Ray Banana
Date: Fri, 12 Dec 2008 19:17
Date: Fri, 12 Dec 2008 19:17
19 lines
2093 bytes
2093 bytes
Thus spake "Schroeder, AJ" <aj1@qg.com>
> Does anyone have any ideas for a quick and dirty method to rid my server of
> binary groups? Any assistance is appreciated.
As a starting point:
awk '/.(bina|bain)/ {print "ctlinnd rmgroup", $1}' /path/to/active
will print the rmgroup statements to locally remove all groups
containing .bina or .bain in the group name. If you feed the output of
awk to a shell, the groups will be removed. If you are going to remove a
large number of groups, you should pause innd before you do the actual
rmgroup.
--
Time flies like an arrow, fruit flies like a Banana.
http://news.motzarella.org
Re: Removing binary feeds from INND
Author: D. Stussy
Date: Fri, 12 Dec 2008 22:23
Date: Fri, 12 Dec 2008 22:23
34 lines
2295 bytes
2295 bytes
"Ray Banana" <rayban@banana.shacknet.nu> wrote in message
news:80myf1cif9.fsf@banana.shacknet.nu...
> Thus spake "Schroeder, AJ" <aj1@qg.com>
>
> > Does anyone have any ideas for a quick and dirty method to rid my
server of
> > binary groups? Any assistance is appreciated.
>
> As a starting point:
>
> awk '/.(bina|bain)/ {print "ctlinnd rmgroup", $1}' /path/to/active
>
> will print the rmgroup statements to locally remove all groups
> containing .bina or .bain in the group name. If you feed the output
of
> awk to a shell, the groups will be removed. If you are going to
remove a
> large number of groups, you should pause innd before you do the
actual
> rmgroup.
Informing your peers of a new newsgroup mask would help:
@bin[a.]*,@*.bin,@*.bin[aeir.]*,@*.bain*,@*.dateien*,@*pict*
I believe that catches most (98%) of the binaries groups (except for
some really misspelled groups). However, it might catch a couple
microsoft.* groups (regarding a product called "pictureit"). Others
add even more things: image, mp3, warez, and other similar words.
Removing the groups from your active file won't stop transfer attempts
from your peers.
Re: Removing binary feeds from INND
Author: Schroeder, AJ
Date: Fri, 12 Dec 2008 23:13
Date: Fri, 12 Dec 2008 23:13
29 lines
2110 bytes
2110 bytes
Ray Banana wrote:
> Thus spake "Schroeder, AJ" <aj1@qg.com>
>
>> Does anyone have any ideas for a quick and dirty method to rid my
>> server of binary groups? Any assistance is appreciated.
>
> As a starting point:
>
> awk '/.(bina|bain)/ {print "ctlinnd rmgroup", $1}' /path/to/active
Thanks for the response.
Ok, I ran that and it found 3,100 or so lines that needed to be removed. So
I paused the server, ran the awk script and removed all the offending
groups.
Now I just need to re-configure the newsfeeds file to deny the binary
groups, correct?
It's all starting to come back to me, slowly but surely.
>
> will print the rmgroup statements to locally remove all groups
> containing .bina or .bain in the group name. If you feed the output of
> awk to a shell, the groups will be removed. If you are going to
> remove a large number of groups, you should pause innd before you do
> the actual rmgroup.
Re: Removing binary feeds from INND
Author: Ray Banana
Date: Sat, 13 Dec 2008 05:34
Date: Sat, 13 Dec 2008 05:34
13 lines
1968 bytes
1968 bytes
Thus spake "D. Stussy" <spam@bde-arc.ampr.org> > Removing the groups from your active file won't stop transfer attempts > from your peers. Actually, I was explicitely referring to the second part of the OP's question (just look at what I quoted). The OP seemed to be aware of the first step, i.e. informing his peers about not accepting binaries any more. -- Time flies like an arrow, fruit flies like a Banana. http://news.motzarella.org
Re: Removing binary feeds from INND
Author: D. Stussy
Date: Sat, 13 Dec 2008 05:36
Date: Sat, 13 Dec 2008 05:36
18 lines
1804 bytes
1804 bytes
"Ray Banana" <rayban@banana.shacknet.nu> wrote in message news:808wqkocyo.fsf@banana.shacknet.nu... > Thus spake "D. Stussy" <spam@bde-arc.ampr.org> > > Removing the groups from your active file won't stop transfer attempts > > from your peers. > > Actually, I was explicitely referring to the second part of the OP's > question (just look at what I quoted). The OP seemed to be aware of the > first step, i.e. informing his peers about not accepting binaries any > more. I know that, but some people might think that simply removing a group from their active file(s) may be all that's necessary....
Re: Removing binary feeds from INND
Author: Ray Banana
Date: Sat, 13 Dec 2008 05:39
Date: Sat, 13 Dec 2008 05:39
15 lines
2159 bytes
2159 bytes
Thus spake "Schroeder, AJ" <aj1@qg.com> > Now I just need to re-configure the newsfeeds file to deny the binary > groups, correct? The newsfeeds file defines what you send to your peers, not what you accept. Since you removed the binary groups, INN will reject articles for these groups anyway, unless they are crossposted to some group your server still carries. You may have to make adjustments to your newsgroups file, so your clients wont see references to the removed groups in the group descriptions. -- Time flies like an arrow, fruit flies like a Banana. http://news.motzarella.org
Re: Removing binary feeds from INND
Author: Jeffrey M. Vinocur
Date: Sat, 13 Dec 2008 14:49
Date: Sat, 13 Dec 2008 14:49
22 lines
1889 bytes
1889 bytes
In article <ghu9bs$1s14$1@sxnews1.qg.com>, Schroeder, AJ <aj1@qg.com> wrote: > >A while ago I set up a INND server at work. The feeds were all text and some >binaries, but now the binary feeds are saturating our internet connection >and management would like to turn off all binary feeds. Note that nothing you can do using the active file or incoming.conf will affect your incoming internet traffic at all. That's because your server has to receive the article before it realizes that it is destined for an undesired group (and thus the bandwidth has already been spent). The only way to affect the incoming traffic is to contact your peers and ask them to adjust what they send. Or if you're desperate, you can cut a peer off entirely (or ignore all of their articles). But there's no way to do case-by-case restriction from your end. -- Jeffrey M. Vinocur jeff@litech.org
Re: Removing binary feeds from INND
Author: Many
Date: Sat, 13 Dec 2008 15:09
Date: Sat, 13 Dec 2008 15:09
25 lines
1912 bytes
1912 bytes
Wow, now someone who speaking clear to everybody with fact On Sat, 13 Dec 2008 14:49:56 +0000 (UTC), jeff@litech.org (Jeffrey M. Vinocur) wrote: >In article <ghu9bs$1s14$1@sxnews1.qg.com>, Schroeder, AJ <aj1@qg.com> wrote: >> >>A while ago I set up a INND server at work. The feeds were all text and some >>binaries, but now the binary feeds are saturating our internet connection >>and management would like to turn off all binary feeds. > >Note that nothing you can do using the active file or >incoming.conf will affect your incoming internet traffic at all. >That's because your server has to receive the article before it >realizes that it is destined for an undesired group (and thus the >bandwidth has already been spent). > >The only way to affect the incoming traffic is to contact your >peers and ask them to adjust what they send. Or if you're >desperate, you can cut a peer off entirely (or ignore all of >their articles). But there's no way to do case-by-case >restriction from your end.
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