Cleanfeed
The Doctor
doctor at doctor.nl2k.ab.ca
Wed Dec 26 01:41:01 UTC 2007
On Tue, Dec 25, 2007 at 07:01:46PM +0100, Julien ÉLIE wrote:
> Hi The Doctor,
>
> > Question how do I implement http://www.mixmin.net/cleanfeed .
> > It is currently located in /path/to/news/control .
> >
> > What next?
>
> Cleanfeed is not for "control" but for "filter" so it is
> normally in ~news/bin/filter and there are several files
> (cleanfeed, cleanfeed.local, bad_hosts, etc.).
>
> Cleanfeed is a innd Perl filter (more information on that
> at <http://www.eyrie.org/~eagle/software/inn/docs/hook-perl.html>)
> so it is in fact ~news/bin/filter/filter_innd.pl.
>
>
> What I for one do is putting a symbolic link for filter_innd.pl
> to cleanfeed:
>
> mv ~news/bin/filter/filter_innd.pl ~news/bin/filter/filter_innd.pl.old
> ln -s ~news/bin/filter/cleanfeed ~news/bin/filter/filter_innd.pl
>
>
> So the arborescence is something like:
>
> 18:52 news at trigofacile ~/bin/filter% ll
> total 188K
> -rw-r--r-- 1 news news 414 2006-07-31 16:29 bad_adult_paths
> -rw-r--r-- 1 news news 416 2007-04-26 12:00 bad_cancel_paths
> -rw-r--r-- 1 news news 941 2007-04-16 21:14 bad_hosts
> -rw-r--r-- 1 news news 1,2K 2007-04-26 12:00 bad_paths
> -rwxr--r-- 1 news news 52K 2007-09-05 09:15 cleanfeed*
> -rw-r--r-- 1 news news 8,9K 2007-09-05 09:13 cleanfeed.local
> lrwxrwxrwx 1 news news 9 2007-04-26 12:03 filter_innd.pl -> cleanfeed*
> -rw-r--r-- 1 news news 8,7K 2007-04-26 10:06 filter_innd.py
> -rw-rw-r-- 1 news news 7,3K 2007-04-22 17:11 filter_innd.pyc
> -rw-r--r-- 1 news news 7,0K 2007-04-26 14:15 filter_nnrpd.pl
> -rw-r--r-- 1 news news 859 2007-04-26 10:06 INN.py
> -rw-r--r-- 1 news news 4,1K 2007-05-04 20:35 nnrpd_access.pl
> -rw-r--r-- 1 news news 2,6K 2007-05-04 20:35 nnrpd_auth.pl
> -rw-r--r-- 1 news news 7,1K 2007-04-26 10:06 nnrpd_auth.py
> -rw-r--r-- 1 news news 1,3K 2007-04-26 10:06 startup_innd.pl
>
>
> Then do a:
>
> ctlinnd perl y
>
> (if not already launched) or a:
>
> ctlinnd reload filter.perl ''
>
> and you should have something like that:
>
> 18:57 news at trigofacile ~% ctlinnd mode
> Server running
> Allowing remote connections
> Parameters c 10 i 50 (11) l 600000 o 1011 t 300 H 2 T 60 X 0 normal specified
> Not reserved
> Readers follow enabled
> Perl filtering enabled
> Perl filter stats: Pass: 20107 Reject: 2819 Refuse: 251 MD5: 100 PHL: 0 FSL: 130
>
> with Perl stats.
>
>
Hmm!! I cannot get these perl stats. Anything I need to do in inn.conf ?
>
> Merry Christmas to all the readers of the list!
>
> --
> Julien ÉLIE
>
> « Cent années d'expérimentation ont démontré
> que le golf était un moment de folie pratiqué
> sur un bout de gazon. » (Dave Kinred)
>
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
--
Member - Liberal International
This is doctor at nl2k.ab.ca Ici doctor at nl2k.ab.ca
God, Queen and country! Beware Anti-Christ rising!
Merry CHRISTmas 2007 and Happy New Year 2008! CHRIST is the reason for the season!
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the inn-workers
mailing list