🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
14 messages
14 total messages Started by Jan Verroest Thu, 15 Jul 1999 00:00
cleanfeed + diablo
#38698
Author: Jan Verroest
Date: Thu, 15 Jul 1999 00:00
16 lines
913 bytes
hi,

can someone help me on installing cleanfeed on a diablo 1.24
i've made the changes to the lib/vendor.h file
and recompiled diablo
manually made the /news/cfilter/run dir and copied cleanfeed  &
cleanfeed.conf there.

q: how do  i start up diablo with cleanfeed enabled ?

thx in advance

-jan


Re: cleanfeed + diablo
#38693
Author: Brad Knowles
Date: Thu, 15 Jul 1999 00:00
16 lines
1527 bytes
In article <378DBFB9.CCA4073C@online.be>, Jan Verroest <jan@online.be> wrote:

> Cleanfeed seems to be running : diablo[12510]: filter launched
> Should i see the same kind of logging as i get in in INN ?
> the "diablo[12510]: filter launched" is the only message i get ....

    Check the "logfile" directive in your cleanfeed.conf.  In mine, it is
undefined (and that is not over-ridden with a cleanfeed.local file.  Try
setting this to a file name where you want information logged, then kill
the current daemon and allow Diablo to restart it.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Re: cleanfeed + diablo
#38696
Author: Brad Knowles
Date: Thu, 15 Jul 1999 00:00
45 lines
2513 bytes
In article <brad-1507991334420001@brad.techos.skynet.be>,
brad@shub-internet.org (Brad Knowles) wrote:

>     Check the "logfile" directive in your cleanfeed.conf.  In mine, it is
> undefined (and that is not over-ridden with a cleanfeed.local file.  Try
> setting this to a file name where you want information logged, then kill
> the current daemon and allow Diablo to restart it.

    I just tested it.  In my cleanfeed.conf file, I now have:

   #########################################################
   ### Logging

     ### Verbose rejection reasons in news.notice/logfile?
   'verbose' => 1,

     ### Set the following to log the message ID's
     ### of all articles processed.
     ### Doesn't work for INN (uses news.notice instead).
   'logfile' => '/var/log/news/cleanfeed.log',
   'reportfile' => '/var/log/news/cleanfeed.reports',

     ### Should the above log, if used, log accepts as well as rejects?
   'log_accepts' => 1,

     ### Rotate the log (if used) at this size
   'max_log_size' => 10000000,
     
     ### Crude stats for tuning purposes (see documentation)
   'statfile' => '/var/log/news/cleanfeed.stats',


    And, it turns out that you only need to send a "HUP" signal to the
cleanfeed daemon, and it will re-read the configuration file.


    Of course, lots of logging can take an already heavily burdened server
and *totally* bury it with additional disk I/O, so you might want to be
very careful with these options.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Re: cleanfeed + diablo
#38700
Author: Russ Allbery
Date: Thu, 15 Jul 1999 00:00
11 lines
930 bytes
Joe Greco <jgreco@ns.sol.ne> writes:

> That's a good sign.  If you do a ps or top you should see the filter
> running.  I don't know what kind of logging INN does...

INN logs every rejection from the filter.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: cleanfeed + diablo
#38701
Author: Jeremy
Date: Thu, 15 Jul 1999 00:00
21 lines
1616 bytes
Brad Knowles <brad@shub-internet.org> wrote:

>      ### Should the above log, if used, log accepts as well as rejects?
>    'log_accepts' => 1,
[...]

>     Of course, lots of logging can take an already heavily burdened server
> and *totally* bury it with additional disk I/O, so you might want to be
> very careful with these options.

If you tell it to log accepts, that'll be heavy; you shouldn't do that
unless you have a really good reason to want every article that goes through
the filter logged.  I ran this way for several days once to do some
statistic gathering, and the resource usage difference was quite large.

-- 
Jeremy  |  jeremy@exit109.com
"No mystical energy field controls *my* destiny.  It's all a lot of simple
 tricks and nonsense."   --Han Solo

Re: cleanfeed + diablo
#38704
Author: Joe Greco
Date: Thu, 15 Jul 1999 00:00
37 lines
2275 bytes
In news.software.nntp article <378DBFB9.CCA4073C@online.be>, Jan Verroest <jan@online.be> wrote:
:--------------DDC65DA443EE2A3475ED429E
:Content-Type: text/plain; charset=us-ascii
:Content-Transfer-Encoding: 7bit


Please turn off HTML!

:>     /news/cfilter is the directory, where cleanfeed and cleanfeed.conf
:> should be stored (make sure you modify your cleanfeed installation to know
:> where it's configuration file should be).  /news/cfilter/run is a symlink
:> to cleanfeed.

Actually, that was the directory name for a custom filter I run here.  :-)
It can certainly be used to hold Cleanfeed, or you can modify the path to
point to your Cleanfeed.

:>     Doing this on our server, everything basically installed and ran
:> perfectly, right out of the box, exactly according to instructions.  I
:> couldn't believe how easy it was to do.

Well, I'm glad to hear that!

:Cleanfeed seems to be running : diablo[12510]: filter launched
:Should i see the same kind of logging as i get in in INN ?
:the "diablo[12510]: filter launched" is the only message i get ....

That's a good sign.  If you do a ps or top you should see the filter
running.  I don't know what kind of logging INN does...  but if you
want to see what is being filtered and what isn't, just to check if
it is working, you can set up two feeds, "bad" and "good", that are
flagged as spam ("onlyspam") or not spam ("nospam").  Obviously, you
should remove them after convincing yourself it works.

... JG

Re: cleanfeed + diablo
#38705
Author: Jan Verroest
Date: Thu, 15 Jul 1999 00:00
11 lines
980 bytes
ok thx, seems to be working fine now.
Intalled it on a new diablo box.

Would it be enough to recompile diablo on a running box
and copy the source/dbin directory to /news/dbin
to be able to run cleanfleed ?

-Jan


Re: cleanfeed + diablo
#38708
Author: Russell Vincent
Date: Thu, 15 Jul 1999 00:00
28 lines
1519 bytes
Jan Verroest <jan@online.be> wrote:

> can someone help me on installing cleanfeed on a diablo 1.24
> i've made the changes to the lib/vendor.h file
> and recompiled diablo
> manually made the /news/cfilter/run dir and copied cleanfeed  &
> cleanfeed.conf there.

> q: how do  i start up diablo with cleanfeed enabled ?

Make sure that PATH_FILTER includes the filename of cleanfeed.
e.g: I rename 'cleanfeed' to 'spamfilter' and have the following
in lib/vendor.h:

#define DIABLO_FILTER   1
#define PATH_FILTER     "/news/dbin/filter/spamfilter"

You then just start Diablo and it filters away. Note that it
doesn't actually prevent the articles being written to the spool,
but rather flags the article as spam. You then decide if you
want the spam propogated through the 'nospam' and 'onlyspam'
options in dnewsfeeds. By default, diablo propogates all articles.

 -Russell
(Note spamblock in email)


Re: cleanfeed + diablo
#38715
Author: Brad Knowles
Date: Thu, 15 Jul 1999 00:00
26 lines
1702 bytes
In article <378D9AA2.4F4D3C09@online.be>, Jan Verroest <jan@online.be> wrote:

> hi,
> 
> can someone help me on installing cleanfeed on a diablo 1.24
> i've made the changes to the lib/vendor.h file
> and recompiled diablo
> manually made the /news/cfilter/run dir and copied cleanfeed  &
> cleanfeed.conf there.
> 
> q: how do  i start up diablo with cleanfeed enabled ?

    /news/cfilter is the directory, where cleanfeed and cleanfeed.conf
should be stored (make sure you modify your cleanfeed installation to know
where it's configuration file should be).  /news/cfilter/run is a symlink
to cleanfeed.

    Doing this on our server, everything basically installed and ran
perfectly, right out of the box, exactly according to instructions.  I
couldn't believe how easy it was to do.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Re: cleanfeed + diablo
#38719
Author: Jan Verroest
Date: Thu, 15 Jul 1999 00:00
66 lines
3002 bytes
--------------DDC65DA443EE2A3475ED429E
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

>     /news/cfilter is the directory, where cleanfeed and cleanfeed.conf
> should be stored (make sure you modify your cleanfeed installation to know
> where it's configuration file should be).  /news/cfilter/run is a symlink
> to cleanfeed.
>
>     Doing this on our server, everything basically installed and ran
> perfectly, right out of the box, exactly according to instructions.  I
> couldn't believe how easy it was to do.
>
> --
> Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
>     <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

ok thx

Cleanfeed seems to be running : diablo[12510]: filter launched
Should i see the same kind of logging as i get in in INN ?
the "diablo[12510]: filter launched" is the only message i get ....

-Jan





--------------DDC65DA443EE2A3475ED429E
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>

<blockquote TYPE=CITE>&nbsp;&nbsp;&nbsp; /news/cfilter is the directory,
where cleanfeed and cleanfeed.conf
<br>should be stored (make sure you modify your cleanfeed installation
to know
<br>where it's configuration file should be).&nbsp; /news/cfilter/run is
a symlink
<br>to cleanfeed.
<p>&nbsp;&nbsp;&nbsp; Doing this on our server, everything basically installed
and ran
<br>perfectly, right out of the box, exactly according to instructions.&nbsp;
I
<br>couldn't believe how easy it was to do.
<p>--
<br>Brad Knowles &lt;brad@shub-internet.org> &lt;<a href="http://www.shub-internet.org/brad/">http://www.shub-internet.org/brad/</a>>
<br>&nbsp;&nbsp;&nbsp; &lt;<a href="http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1">http://wwwkeys.pgp.net:11371/pks/lookup?op=get&amp;search=0xE38CCEF1</a>></blockquote>
ok thx
<p>Cleanfeed seems to be running : diablo[12510]: filter launched
<br>Should i see the same kind of logging as i get in in INN ?
<br>the "diablo[12510]: filter launched" is the only message i get ....
<p>-Jan
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;</html>

--------------DDC65DA443EE2A3475ED429E--


Re: cleanfeed + diablo
#38720
Author: Brad Knowles
Date: Thu, 15 Jul 1999 00:00
15 lines
1423 bytes
In article <378E00CF.4C4FDD37@online.be>, Jan Verroest <jan@online.be> wrote:

> Would it be enough to recompile diablo on a running box
> and copy the source/dbin directory to /news/dbin
> to be able to run cleanfleed ?

    You should only need to copy in the diablo binary, I don't think
anything else makes use of cleanfeed.  This is what I did, and it worked
for me.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Re: cleanfeed + diablo
#38725
Author: Jan Verroest
Date: Fri, 16 Jul 1999 00:00
50 lines
2419 bytes
> 
>     You should only need to copy in the diablo binary, I don't think
> anything else makes use of cleanfeed.  This is what I did, and it worked
> for me.
> 
> --
> Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
>     <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>



> > Would it be enough to recompile diablo on a running box
> > and copy the source/dbin directory to /news/dbin
> > to be able to run cleanfleed ?
> 
>     You should only need to copy in the diablo binary, I don't think
> anything else makes use of cleanfeed.  This is what I did, and it worked
> for me.

hi,

this is what I did on a diablo running diablo1.23 on an alpha (Redhat) 
cleanfeed was running but when looking to the logs of 
diablo, these things start to show up : 

Jul 16 10:19:24 diablo diablo[1075]: diab_read failed:
D.00ed0ce2/c2d5a242.4e41aca4.14f0:0,0
Jul 16 10:19:24 diablo diablo[1075]: diab_read failed:
D.00ed0ce2/d32d9567.7b717220.14f0:0,0
Jul 16 10:19:25 diablo diablo[1075]: diab_read failed:
D.00ed0ce2/e6b260fd.248431b2.14f0:0,0
Jul 16 10:19:25 diablo diablo[1075]: diab_read failed:
D.00ed0ce2/a8229ac9.6455c25d.17ae:0,0
Jul 16 10:19:26 diablo diablo[1075]: diab_read failed:
D.00ed0ce2/ad9a0071.715d30a6.1a48:0,0
Jul 16 10:19:26 diablo diablo[1075]: diab_read failed:
D.00ed0ce2/f26dcd44.12e38bdf.1a48:0,0
Jul 16 10:19:28 diablo diablo[1075]: diab_read failed:
D.00ed0ce2/a4aff2f7.6ef419cc.1ce2:0,0

really lots of them. 
i guess this can't be a good.

any ideas ?

thx 

-Jan

Re: cleanfeed + diablo
#38727
Author: Jan Verroest
Date: Fri, 16 Jul 1999 00:00
38 lines
2126 bytes
> > Would it be enough to recompile diablo on a running box
> > and copy the source/dbin directory to /news/dbin
> > to be able to run cleanfleed ?
> 
>     You should only need to copy in the diablo binary, I don't think
> anything else makes use of cleanfeed.  This is what I did, and it worked
> for me.

this is what I did on a diablo running diablo1.23 on an alpha (Redhat) 
cleanfeed was running but when looking to the logs of 
diablo, these things start to show up : 

Jul 16 10:19:24 diablo diablo[1075]: diab_read failed:
D.00ed0ce2/c2d5a242.4e41aca4.14f0:0,0
Jul 16 10:19:24 diablo diablo[1075]: diab_read failed:
D.00ed0ce2/d32d9567.7b717220.14f0:0,0
Jul 16 10:19:25 diablo diablo[1075]: diab_read failed:
D.00ed0ce2/e6b260fd.248431b2.14f0:0,0
Jul 16 10:19:25 diablo diablo[1075]: diab_read failed:
D.00ed0ce2/a8229ac9.6455c25d.17ae:0,0
Jul 16 10:19:26 diablo diablo[1075]: diab_read failed:
D.00ed0ce2/ad9a0071.715d30a6.1a48:0,0
Jul 16 10:19:26 diablo diablo[1075]: diab_read failed:
D.00ed0ce2/f26dcd44.12e38bdf.1a48:0,0
Jul 16 10:19:28 diablo diablo[1075]: diab_read failed:
D.00ed0ce2/a4aff2f7.6ef419cc.1ce2:0,0

really lots of them. 
i guess this can't be a good.

any ideas ?

thx 

-Jan

Re: cleanfeed + diablo
#38734
Author: Vince
Date: Fri, 16 Jul 1999 00:00
51 lines
2587 bytes
Brad Knowles brad@shub-internet.org wrote in <brad
-1507991344330001@brad.techos.skynet.be>: 

>In article <brad-1507991334420001@brad.techos.skynet.be>,
>brad@shub-internet.org (Brad Knowles) wrote:
>
>>     Check the "logfile" directive in your cleanfeed.conf.  In mine, it
>>     is 
>> undefined (and that is not over-ridden with a cleanfeed.local file. 
>> Try setting this to a file name where you want information logged,
>> then kill the current daemon and allow Diablo to restart it.
>
>    I just tested it.  In my cleanfeed.conf file, I now have:
>
>   #########################################################
>   ### Logging
>
>     ### Verbose rejection reasons in news.notice/logfile?
>   'verbose' => 1,
>
>     ### Set the following to log the message ID's
>     ### of all articles processed.
>     ### Doesn't work for INN (uses news.notice instead).
>   'logfile' => '/var/log/news/cleanfeed.log',
>   'reportfile' => '/var/log/news/cleanfeed.reports',
>
>     ### Should the above log, if used, log accepts as well as rejects?
>   'log_accepts' => 1,
>
>     ### Rotate the log (if used) at this size
>   'max_log_size' => 10000000,
>     
>     ### Crude stats for tuning purposes (see documentation)
>   'statfile' => '/var/log/news/cleanfeed.stats',
>
>
>    And, it turns out that you only need to send a "HUP" signal to the
>cleanfeed daemon, and it will re-read the configuration file.
>
>
>    Of course, lots of logging can take an already heavily burdened
>    server 
>and *totally* bury it with additional disk I/O, so you might want to be
>very careful with these options.
>
zzxczsxsda
asdasdasdasda
asdasd


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