🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
12 messages
12 total messages Started by Eddie Strohmier Tue, 30 Nov 1999 00:00
Help with control.ctl
#41856
Author: Eddie Strohmier
Date: Tue, 30 Nov 1999 00:00
43 lines
2335 bytes
Hello:

I was curious as to what other news.admins out there were using to control
the hipcrime crap that bombards me daily. I am not using pgp  yet, but soon
will be and have not compiled cleanfeed yet. I know that this is probably
the best approach but as an ISP I have other priorities to clear up before I
dive into compiling those programs. I am using INN 2.2.1, (latest stable
snapshot available)  on a R.H. Linux 6.0 server. In my control.ctl I have
set up under the NEWGROUP/RMGROUP MESSAGES header:

newgroup:*:*.hipcrime.*:drop
newgroup:*:*.h1pcr1me.*:drop
newgroup:*:*.hipclone.*:drop
newgroup:*:*.h1pclone.*:drop
newgroup:*:*.h2pcr2me.*:drop
newgroup:*:*.h0pcr0me.*:drop
#newgroup:*:*:mail
rmgroup:*:*:mail

I understand that the variable or command used in control.ctl  is that which
is lowest in the file. I find that even with the entries I have above I
still am getting a load of e-mail stating that some group from hipcrime,
etc, etc ask that I add it to my active. Also I have found that some will
get through and are added even though I have the entries above. Is there
something I missing in this file to better control this crap. I have seen so
many messages before about controlling this same spam feed and have seen the
references to cleanfeed and PGP, but there must be a way of using
control.ctl to knock off certain groups. I am using perl filtering and have
a push feed if that helps with a possible solution or any advice given.

Thank you in advance,

Eddie Strohmier
Bonwell Globalnet
www.bonwell.com







Re: Help with control.ctl
#41854
Author: Eddie Strohmier
Date: Tue, 30 Nov 1999 00:00
62 lines
2818 bytes
Thanks for your responses and I have done exactly that. I had not checked
out what kind of install cleanfeed was and turns out it was easy and have it
up and running. Seems to be filtering just fine. Thanks again.


Eddie Strohmier



Eddie Strohmier <estroh@tractor.bonwell.com> wrote in message
news:8212ka$ag$1@tractor.bonwell.com...
> Hello:
>
> I was curious as to what other news.admins out there were using to control
> the hipcrime crap that bombards me daily. I am not using pgp  yet, but
soon
> will be and have not compiled cleanfeed yet. I know that this is probably
> the best approach but as an ISP I have other priorities to clear up before
I
> dive into compiling those programs. I am using INN 2.2.1, (latest stable
> snapshot available)  on a R.H. Linux 6.0 server. In my control.ctl I have
> set up under the NEWGROUP/RMGROUP MESSAGES header:
>
> newgroup:*:*.hipcrime.*:drop
> newgroup:*:*.h1pcr1me.*:drop
> newgroup:*:*.hipclone.*:drop
> newgroup:*:*.h1pclone.*:drop
> newgroup:*:*.h2pcr2me.*:drop
> newgroup:*:*.h0pcr0me.*:drop
> #newgroup:*:*:mail
> rmgroup:*:*:mail
>
> I understand that the variable or command used in control.ctl  is that
which
> is lowest in the file. I find that even with the entries I have above I
> still am getting a load of e-mail stating that some group from hipcrime,
> etc, etc ask that I add it to my active. Also I have found that some will
> get through and are added even though I have the entries above. Is there
> something I missing in this file to better control this crap. I have seen
so
> many messages before about controlling this same spam feed and have seen
the
> references to cleanfeed and PGP, but there must be a way of using
> control.ctl to knock off certain groups. I am using perl filtering and
have
> a push feed if that helps with a possible solution or any advice given.
>
> Thank you in advance,
>
> Eddie Strohmier
> Bonwell Globalnet
> www.bonwell.com
>
>
>
>
>
>



Re: Help with control.ctl
#41858
Author: Jeremy
Date: Tue, 30 Nov 1999 00:00
26 lines
1640 bytes
Ben C. O. Grimm  <Ben.Grimm@wirehub.net> wrote:

> There's not that much to be compiled when using Cleanfeed. It's
> straight Perl and can be plugged right into INN within minutes (ok,
> some minor and easy configging to be done within Cleanfeed). No
> hipcrime, h1pcr1me of h0pcr0me groups were ever created here. I'm
> running the 0.96 beta, mind you. Not sure whether 0.95 betas are as
> effective. Nonetheless, running Cleanfeed is a Good Idea anyway.

I've currently got this in cleanfeed:

   'poison_groups' => '^alt\.binaires|sexzilla|^newsmon$'.
	(($] >= 5.005) ? '|(?<!free\.)h[i\d]pcr[i\d]m[e\d]'
	     : '|^alt\.hipcrime|^us\.hipcrime|^hipcrime|h\dpcr\dme'),

This means, if we're running Perl 5.005, we allow free.hipcrime* groups
but no others.  If we're running 5.004, we kludge it a bit, since we
don't have the (?<! construct available to us.  I'm trying not to
require 5.005 just yet, but it's only a matter of time. :)

The above has not been exhaustively tested.

-- 
Jeremy  |  jeremy@exit109.com

Re: Help with control.ctl
#41865
Author: Ben C. O. Grimm
Date: Tue, 30 Nov 1999 00:00
23 lines
1933 bytes
On Tue, 30 Nov 1999 12:40:26 -0500, "Eddie Strohmier"
<estroh@tractor.bonwell.com> wrote:

> I was curious as to what other news.admins out there were using to control
> the hipcrime crap that bombards me daily. I am not using pgp  yet, but soon
> will be and have not compiled cleanfeed yet. I know that this is probably
> the best approach but as an ISP I have other priorities to clear up before I
> dive into compiling those programs. 

There's not that much to be compiled when using Cleanfeed. It's
straight Perl and can be plugged right into INN within minutes (ok,
some minor and easy configging to be done within Cleanfeed). No
hipcrime, h1pcr1me of h0pcr0me groups were ever created here. I'm
running the 0.96 beta, mind you. Not sure whether 0.95 betas are as
effective. Nonetheless, running Cleanfeed is a Good Idea anyway.

-- 
- Ben C. O. Grimm ----------------- Ben.Grimm@wirehub.net -
- Wirehub! Internet Engineering - http://www.wirehub.net/ -
- Wirehub! Backbone --- http://doema.wirehub.net/wirehub/ -
- Private Ponderings ------- http://libertas.wirehub.net/ -

Re: Help with control.ctl
#41868
Author: Jeremy
Date: Wed, 01 Dec 1999 00:00
22 lines
1380 bytes
Ben C. O. Grimm  <Ben.Grimm@wirehub.net> wrote:

>>> /usr/news/log/cleanfeed.log is not being filled. The file is not even
>>> being created.
>>  
>> Do you have an older cleanfeed.conf that tries to define 'logfile'?  If
>> so, remove that entry.
> 
> No external conf is in use. It's all in the main program itself.

I'm a bit baffled.

Go into the code and find where it opens the file.  Look for where it
says "we failed to open the logfile, continue on silently".  Put some
code in there that does something to tell you why it can't create
the file, like send you an email with the contents of $! or something.
That might give you a clue.

-- 
Jeremy  |  jeremy@exit109.com

Re: Help with control.ctl
#41881
Author: Jeremy
Date: Wed, 01 Dec 1999 00:00
24 lines
1559 bytes
Ben C. O. Grimm  <Ben.Grimm@wirehub.net> wrote:

> I'm currently running 0.96 on Diablo, but I can't seem to get the
> logging process going, whatever I put into the config (well, not the
> config really, it's all in the main program). I had to define an
> onlyspam feed to see what was actually being purged, but I would like
> some logging as well to see realtime rejects. When I send the process
> a signal it produces the stats/report/html with no problem, so it's
> not entirely broken. 
> 
> Current settings:
> 
>    'log_directory' => "/usr/news/log",

Can your news user (or whoever cleanfeed is running as) write to this
directory?  File permissions are the #1 mistake among Cleanfeed users,
since most people do their work as root but run their stuff as news.

What exactly happens, in terms of "not working"?

-- 
Jeremy  |  jeremy@exit109.com

Re: Help with control.ctl
#41886
Author: Ben C. O. Grimm
Date: Wed, 01 Dec 1999 00:00
32 lines
2202 bytes
On 1 Dec 1999 14:51:59 GMT, Jeremy <jeremy@exit109.com> wrote:

> > Current settings:
> > 
> >    'log_directory' => "/usr/news/log",
 
> Can your news user (or whoever cleanfeed is running as) write to this
> directory?  

It's safe to say that user news can write to its own log directory :)
Anyways, cleanfeed is running under user 'news', and the entire path
to the logdir is news-owned. All other Diablo processes are logging
there.

> What exactly happens, in terms of "not working"?

/usr/news/log/cleanfeed.log is not being filled. The file is not even
being created. When I touch the file itself (as news), it just sits
there being empty. Even after a restart of the filter. What *is* being
created when I signal the filter:

-rw-r--r--  1 news  news        31 Nov 26 18:36 cleanfeed.report
-rw-r--r--  1 news  news      3241 Nov 26 18:35 cleanfeed.stats
-rw-r--r--  1 news  news      9566 Nov 26 18:35 cleanfeed.stats.html

-- 
- Ben C. O. Grimm ----------------- Ben.Grimm@wirehub.net -
- Wirehub! Internet Engineering - http://www.wirehub.net/ -
- Wirehub! Backbone --- http://doema.wirehub.net/wirehub/ -
- Private Ponderings ------- http://libertas.wirehub.net/ -

Re: Help with control.ctl
#41891
Author: Ben C. O. Grimm
Date: Wed, 01 Dec 1999 00:00
19 lines
1632 bytes
On 1 Dec 1999 15:33:04 GMT, Jeremy <jeremy@exit109.com> wrote:

> Ben C. O. Grimm  <Ben.Grimm@wirehub.net> wrote:
 
> > /usr/news/log/cleanfeed.log is not being filled. The file is not even
> > being created.
 
> Do you have an older cleanfeed.conf that tries to define 'logfile'?  If
> so, remove that entry.

No external conf is in use. It's all in the main program itself.

-- 
- Ben C. O. Grimm ----------------- Ben.Grimm@wirehub.net -
- Wirehub! Internet Engineering - http://www.wirehub.net/ -
- Wirehub! Backbone --- http://doema.wirehub.net/wirehub/ -
- Private Ponderings ------- http://libertas.wirehub.net/ -

Re: Help with control.ctl
#41892
Author: Ben C. O. Grimm
Date: Wed, 01 Dec 1999 00:00
43 lines
2582 bytes
On 30 Nov 1999 21:24:38 GMT, Jeremy <jeremy@exit109.com> wrote:

> I've currently got this in cleanfeed:
> 
>    'poison_groups' => '^alt\.binaires|sexzilla|^newsmon$'.
> 	(($] >= 5.005) ? '|(?<!free\.)h[i\d]pcr[i\d]m[e\d]'
> 	     : '|^alt\.hipcrime|^us\.hipcrime|^hipcrime|h\dpcr\dme'),
> 
> This means, if we're running Perl 5.005, we allow free.hipcrime* groups
> but no others.  If we're running 5.004, we kludge it a bit, since we
> don't have the (?<! construct available to us.  I'm trying not to
> require 5.005 just yet, but it's only a matter of time. :)
> The above has not been exhaustively tested.

Good. On a related note:

I'm currently running 0.96 on Diablo, but I can't seem to get the
logging process going, whatever I put into the config (well, not the
config really, it's all in the main program). I had to define an
onlyspam feed to see what was actually being purged, but I would like
some logging as well to see realtime rejects. When I send the process
a signal it produces the stats/report/html with no problem, so it's
not entirely broken. 

Current settings:

   'log_directory' => "/usr/news/log",
   'log_name' => "cleanfeed.log",
   'reportfile' => "cleanfeed.report",
   'log_accepts' => 0,
   'max_log_size' => 1000000,
   'rotate_file' => '',
   'keep_old_logs' => 7,
   'statfile' => "cleanfeed.stats",
   'html_statfile' => "cleanfeed.stats.html",

-- 
- Ben C. O. Grimm ----------------- Ben.Grimm@wirehub.net -
- Wirehub! Internet Engineering - http://www.wirehub.net/ -
- Wirehub! Backbone --- http://doema.wirehub.net/wirehub/ -
- Private Ponderings ------- http://libertas.wirehub.net/ -

Re: Help with control.ctl
#41894
Author: Jeremy
Date: Wed, 01 Dec 1999 00:00
12 lines
960 bytes
Ben C. O. Grimm  <Ben.Grimm@wirehub.net> wrote:

> /usr/news/log/cleanfeed.log is not being filled. The file is not even
> being created.

Do you have an older cleanfeed.conf that tries to define 'logfile'?  If
so, remove that entry.

-- 
Jeremy  |  jeremy@exit109.com

Re: Help with control.ctl
#41901
Author: Conrad Juleff
Date: Thu, 02 Dec 1999 00:00
15 lines
1505 bytes
Ben C. O. Grimm <Ben.Grimm@wirehub.net> wrote:
> Good. On a related note:

> I'm currently running 0.96 on Diablo, but I can't seem to get the
> logging process going, whatever I put into the config (well, not the
> config really, it's all in the main program). I had to define an
> onlyspam feed to see what was actually being purged, but I would like
> some logging as well to see realtime rejects. When I send the process
> a signal it produces the stats/report/html with no problem, so it's
> not entirely broken. 

Where did u get version 0.96 of cleanfeed from? The latest I can find is
0.95.7, which is kinda old.

Re: Help with control.ctl
#41905
Author: Jeremy
Date: Thu, 02 Dec 1999 00:00
13 lines
1020 bytes
Conrad Juleff  <conrad@NOSPAM.is.co.za> wrote:

> Where did u get version 0.96 of cleanfeed from? The latest I can find is
> 0.95.7, which is kinda old.

He asked for and got whatever my current development code was at the time.
You can too, but don't unless you're feeling lucky. :)  It's not a finished
version.

-- 
Jeremy  |  jeremy@exit109.com

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