Thread View: news.admin.peering
11 messages
11 total messages
Started by jdanield
Thu, 23 Dec 2021 18:09
configuring cleanfeed
Author: jdanield
Date: Thu, 23 Dec 2021 18:09
Date: Thu, 23 Dec 2021 18:09
31 lines
1670 bytes
1670 bytes
Hello, I now have a reason ably working news server (dodin.fr.nf), but still a lot of things to check. Here cleanfeed. at the start of the story, one week ago, I had > ctlinnd mode (...) Perl filtering enabled but now I have news@ns507557:/etc/news> ctlinnd mode Server running Allowing remote connections Parameters c 10 i 50 (1) l 5000000 o 1010 t 300 H 2 T 60 X 0 normal specified Not reserved Readers follow enabled *Perl filtering disabled* and news@ns507557:/etc/news> ctlinnd reload filter.perl 'test' ctlinnd: Failed to define filter_art when may I look? logs are mostly empty thanks jdd
Re: configuring cleanfeed
Author: Retro Guy
Date: Thu, 23 Dec 2021 22:46
Date: Thu, 23 Dec 2021 22:46
23 lines
1677 bytes
1677 bytes
On Thu, 23 Dec 2021 19:09:19 +0100 jdanield <jdd@dodin.org> wrote: > Hello, > > I now have a reason ably working news server (dodin.fr.nf), but still a > lot of things to check. Here cleanfeed. > > news@ns507557:/etc/news> ctlinnd reload filter.perl 'test' > ctlinnd: Failed to define filter_art > > when may I look? logs are mostly empty Take a look at the cleanfeed instructions: https://www.mixmin.net/cleanfeed/install.html You should only be editing cleanfeed.local with any changes you make, but I would just do a fresh install of cleanfeed, then make sure it's working before making any changes. You can check your cleanfeed.local file after any changes you make with: perl -wc /usr/local/news/cleanfeed/etc/cleanfeed.local or wherever you have that file. -- Retro Guy <retroguy@novabbs.com>
Re: configuring cleanfeed
Author: jdd
Date: Fri, 24 Dec 2021 06:55
Date: Fri, 24 Dec 2021 06:55
42 lines
2480 bytes
2480 bytes
Le 23/12/2021 à 23:46, Retro Guy a écrit : > Take a look at the cleanfeed instructions: https://www.mixmin.net/cleanfeed/install.html well... I read them at least three time, but this is as clear as mud :-( > > You should only be editing cleanfeed.local with any changes you make, I have no cleanfeed.local, only a sample file with code content and: # Before using any of this code please *think*, and be sure you really # understand what it does. but I don't understand anything in it :-( but I would just do a fresh install of cleanfeed, then make sure it's working before making any changes. > > You can check your cleanfeed.local file after any changes you make with: > perl -wc /usr/local/news/cleanfeed/etc/cleanfeed.local > or wherever you have that file. > news@ns507557:/etc/news/cleanfeed-master> perl -wc cleanfeed.local.sample Name "main::localfeed" used only once: possible typo at cleanfeed.local.sample line 45. Name "main::localpost" used only once: possible typo at cleanfeed.local.sample line 101. Name "main::lines" used only once: possible typo at cleanfeed.local.sample line 205. Name "main::Moderated" used only once: possible typo at cleanfeed.local.sample line 205. cleanfeed.local.sample syntax OK but with "Perl filtering disabled" it most probably don't works. just now I fail to understand how I have disabled perl when it worked at first :-( thanks jdd
Re: configuring cleanfeed
Author: jdd
Date: Fri, 24 Dec 2021 08:23
Date: Fri, 24 Dec 2021 08:23
40 lines
2026 bytes
2026 bytes
Le 23/12/2021 à 19:09, jdanield a écrit : > *Perl filtering disabled* > solved... details here: http://dodin.me/wiki/pmwiki.php?n=Doc.ConfigurerINN-2021#toc-12 summary: * perl is allowed *only* if filter_innd.pl exists. there is a stub one by default, so perl is enabled, but as long as the default files are moved to an other folder it stopped working. * in the cleanfeed folder, there is a filter_nnrpd.pl file, but no filter_innd.pl... I didn't figure than the filter_innd.pl was merely "cleanfeed" with the two links news@ns507557:/etc/news/filter> ll total 8 lrwxrwxrwx 1 news news 36 24 déc. 08:52 filter_innd.pl -> /etc/news/cleanfeed-master/cleanfeed lrwxrwxrwx 1 news news 42 22 déc. 09:53 filter_nnrpd.pl -> /etc/news/cleanfeed-master/filter_nnrpd.pl all seems to work again. It's probably the same problem that prevent me to have a working pyclean filter. But as long as I have cleanfeed, I will stay with it. thanks for every people taking the time to help me :-) happy Christmas jdd
Re: configuring cleanfeed
Author: Julien ÉLIE
Date: Fri, 24 Dec 2021 09:09
Date: Fri, 24 Dec 2021 09:09
25 lines
2111 bytes
2111 bytes
Bonjour Jean-Daniel, >> Take a look at the cleanfeed instructions: >> https://www.mixmin.net/cleanfeed/install.html > > well... I read them at least three time, but this is as clear as mud :-( And did you try to follow this great install guide in French? There's a section dedicated to Cleanfeed: https://git.alphanet.ch/gitweb/?p=inn-install/.git;a=blob_plain;f=README.html;hb=HEAD#installer-cleanfeed If something is not clear, do not hesitate to provide suggestions to improve it (in the fr.comp.usenet.serveurs newsgroup). It also contains useful information about how to set up: - newsfeeds - innfeed.conf - incoming.conf -- Julien ÉLIE « La vie n'est qu'un tissu de coups de poignard qu'il faut savoir boire goutte à goutte. »
Re: configuring cleanfeed
Author: jdd
Date: Fri, 24 Dec 2021 10:18
Date: Fri, 24 Dec 2021 10:18
23 lines
1683 bytes
1683 bytes
Le 24/12/2021 à 10:09, Julien ÉLIE a écrit : > And did you try to follow this great install guide in French? > There's a section dedicated to Cleanfeed: yes, I did, but the various official or semi official docs do not give exactly same indications :-( for example I have no etc folder in any cleanfeed archive, nor cleanfeed.local anywhere $config_dir = '/etc/news/filter/cleanfeed/etc'; and news.notice is empty I also don't like working as root because I fear permissions problems. inncheck -a is ok (no message) (see later for the end of your message :-) thanks jdd
Re: configuring cleanfeed
Author: yamo'
Date: Sat, 25 Dec 2021 11:53
Date: Sat, 25 Dec 2021 11:53
38 lines
2278 bytes
2278 bytes
Hi, jdd a écrit : > Le 24/12/2021 à 10:09, Julien ÉLIE a écrit : >> And did you try to follow this great install guide in French? >> There's a section dedicated to Cleanfeed: > yes, I did, but the various official or semi official docs do not give > exactly same indications :-( There is on eyrie and in a man (of inn.conf?) a table of the variable paths... > for example I have no etc folder in any cleanfeed archive, nor > cleanfeed.local anywhere > $config_dir = '/etc/news/filter/cleanfeed/etc'; You don't have the entire cleanfeed (there is a complete install archive and an update archive...). > and news.notice is empty It is a syslog configuration to add (normally by default but not always...) I will look at my servers to look at my non-standard configuration... > I also don't like working as root because I fear permissions problems. There is some tricks to block access to root's scripts but not so simple but documented... If there's a bug on the doc please discuss on the french usenet.serveurs group. -- Stéphane
Re: configuring cleanfeed
Author: jdanield
Date: Sat, 25 Dec 2021 12:27
Date: Sat, 25 Dec 2021 12:27
29 lines
1971 bytes
1971 bytes
Le 25/12/2021 à 12:53, yamo' a écrit : >> for example I have no etc folder in any cleanfeed archive, nor >> cleanfeed.local anywhere > >> $config_dir = '/etc/news/filter/cleanfeed/etc'; > > You don't have the entire cleanfeed (there is a complete install archive and > an update archive...). nothing here: https://github.com/crooks/cleanfeed/ from https://www.mixmin.net/cleanfeed/install.html there no etc on github (neither in any tar.gz I could download), may be the repo changed since the doc was written? the content advertised here https://www.mixmin.net/cleanfeed/install.html is not in etc but in "samples" thanks jdd
Re: configuring cleanfeed
Author: Julien ÉLIE
Date: Sat, 25 Dec 2021 15:02
Date: Sat, 25 Dec 2021 15:02
64 lines
3344 bytes
3344 bytes
Bonjour Jean-Daniel, >>> for example I have no etc folder in any cleanfeed archive, nor >>> cleanfeed.local anywhere >> >>> $config_dir = '/etc/news/filter/cleanfeed/etc'; >> >> You don't have the entire cleanfeed (there is a complete install >> archive and >> an update archive...). > > nothing here: > > https://github.com/crooks/cleanfeed/ > > from > > https://www.mixmin.net/cleanfeed/install.html All of the files for "cleanfeed/etc" are present in the "samples" directory of the above GitHub link. You can just download them from there. On my news server: ~/cleanfeed% ls -l -rwxr-xr-x 1 news news 95K 4 déc. 12:49 cleanfeed* drwxr-xr-x 2 news news 4,0K 21 nov. 10:24 etc/ drwxr-xr-x 2 news news 4,0K 20 sept. 09:50 logs/ ~/cleanfeed% ls -l etc -rw-r--r-- 1 news news 265 20 sept. 10:01 bad_adult_paths -rw-r--r-- 1 news news 529 20 sept. 10:02 bad_body -rw-r--r-- 1 news news 419 20 sept. 10:02 bad_cancel_paths -rw-r--r-- 1 news news 604 20 sept. 10:02 bad_from -rw-r--r-- 1 news news 261 20 sept. 10:02 bad_groups -rw-r--r-- 1 news news 265 20 sept. 10:02 bad_hosts -rw-r--r-- 1 news news 1,2K 20 sept. 10:02 bad_paths -rw-r--r-- 1 news news 598 20 sept. 10:02 bad_subject -rw-r--r-- 1 news news 619 20 sept. 10:02 bad_url -rw-r--r-- 1 news news 8,7K 20 sept. 10:06 cleanfeed.local I've set: $config_dir = '/home/news/cleanfeed/etc'; but you can of course put the whole stuff elsewhere (even in the bin/filter directory of INN, where filter_innd.pl is). > is not in etc but in "samples" Yes, take the files from there. I agree the install guide should speak of that directory instead of "etc". I've just reported the issue: https://github.com/crooks/cleanfeed/issues/4 -- Julien ÉLIE « Ceux qui croient être arrivés n'ont jamais eu l'intention d'aller bien loin. »
Re: configuring cleanfeed
Author: jdd
Date: Sat, 25 Dec 2021 17:10
Date: Sat, 25 Dec 2021 17:10
24 lines
1715 bytes
1715 bytes
Le 25/12/2021 à 16:02, Julien ÉLIE a écrit : > All of the files for "cleanfeed/etc" are present in the "samples" > directory of the above GitHub link. You can just download them from there I already have them in the cleanfeed repo, so may be ln -s samples/ etc is enough? > I've set: > > $config_dir = '/home/news/cleanfeed/etc'; seems to be default in filter_innd.pl (or cleanfeed) I see in the "badurl" folder two python scripts do you know what they are for? thanks jdd
Re: configuring cleanfeed
Author: Julien ÉLIE
Date: Sat, 25 Dec 2021 17:34
Date: Sat, 25 Dec 2021 17:34
34 lines
2363 bytes
2363 bytes
Bonsoir Jean-Daniel,
> I already have them in the cleanfeed repo, so may be
>
> ln -s samples/ etc
>
> is enough?
mv samples etc
would also work and be cleaner than adding a symlink.
>> I've set:
>>
>> $config_dir = '/home/news/cleanfeed/etc';
>
> seems to be default in filter_innd.pl (or cleanfeed)
>
> I see in the "badurl" folder two python scripts do you know what they
> are for?
I think it is the script Steve used to generate the global
bad_hosts_central file as described in:
http://www.mixmin.net/cleanfeed/bad_hosts_central.html
Nevertheless, this file is no longer generated.
But don't worry, you do not need bad_hosts_central nor these Python
scripts to make Cleanfeed work.
--
Julien ÉLIE
« Ceux qui croient être arrivés n'ont jamais eu l'intention d'aller bien
loin. »
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