Thread View: news.software.nntp
21 messages
21 total messages
Started by John F. Morse
Thu, 22 Jun 2006 19:30
Cleanfeed installation
Author: John F. Morse
Date: Thu, 22 Jun 2006 19:30
Date: Thu, 22 Jun 2006 19:30
72 lines
4603 bytes
4603 bytes
After four days and nights of study, I am unable to determine the proper
file locations for a Cleanfeed installation.
The supplied "Full documentation, including configuration and
installation, is in the file 'cleanfeed.man'" just doesn't inspire me.
For all versions, place the cleanfeed.conf configuration file
somewhere, then edit the Cleanfeed source file and change the
$config_dir option at the top to point to the directory where
the config file lives.
INN Install the filter file (called cleanfeed) as filter_innd.pl,
and cleanfeed.conf, in the location you specified in
config.data (INN 1.7.2 and earlier) or when configuring INN
2.x (usually the bin/filter directory under the installation
root). Make sure both files are readable by the news user.
Once in place, the filter is loaded with the command ctlinnd
reload filter.perl meow. Filtering can be turned on with
ctlinnd perl y and turned off with ctlinnd perl n.
For the "cleanfeed.conf" file location, as suggested to be placed
*somewhere* in the first paragraph above, I chose /etc/news where the
INN configuration files were installed for Debian Sarge.
What is the "Cleanfeed source" file? All I can guess is it is the file
"cleanfeed" a perl script text file.
The second paragraph is very confusing. What does it mean by "install
the filter file"? Does this actually mean to *move* the file "cleanfeed"
the perl script text file, from the directory in which it was gunzipped?
Then the question of installing it *as* "filter_innd.pl" might mean to
rename it? Actually moving it from the gunzip location to the new
location with a new filename?
The second paragraph also includes *installing* "cleanfeed.conf" once
*again* but now in the "bin/filter" directory, and "under the
installation root" whatever that means.
Finally, if the cleanfeed.conf file is in the /etc/news directory,
shouldn't it be like all of the other files there: "root-root" and not
"news"? Maybe /etc/news is not the best location?
It appears that I have only two files to worry about: cleanfeed.conf and
cleanfeed perl script. Where should they go, and to what, if anything,
should the perl file be renamed?
Per Russ's INN 2.x FAQ:
DEFAULT DEBIAN
pathnews: /usr/local/news /usr/lib/news
pathbin: /usr/local/news/bin /usr/lib/news/bin
pathcontrol: /usr/local/news/bin/control /usr/lib/news/bin/control
pathdb: /usr/local/news/db /var/lib/news
pathetc: /usr/local/news/etc /etc/news
pathfilter: /usr/local/news/bin/filter /etc/news/filter
pathhttp: /usr/local/news/log /var/log/news
pathlog: /usr/local/news/log /var/log/news
pathrun: /usr/local/news/run /var/run/news
pathtmp: /usr/local/news/tmp /var/spool/news/incoming/tmp
pathspool: /usr/local/news/spool /var/spool/news
patharchive: /usr/local/news/spool/archive /var/spool/news/archive
patharticles: /usr/local/news/spool/articles /var/spool/news/articles
pathincoming: /usr/local/news/spool/incoming /var/spool/news/incoming
pathoutgoing: /usr/local/news/spool/outgoing /var/spool/news/outgoing
pathoverview: /usr/local/news/spool/overview /var/spool/news/overview
TIA.
--
John
Re: Cleanfeed installation
Author: Jeffrey M. Vinocur
Date: Fri, 23 Jun 2006 09:51
Date: Fri, 23 Jun 2006 09:51
71 lines
3712 bytes
3712 bytes
In article <mdCmg.50666$mF2.44452@bgtnsc04-news.ops.worldnet.att.net>, John F. Morse <xanadu.bbs@invalid.net> wrote: >After four days and nights of study, I am unable to determine the proper >file locations for a Cleanfeed installation. This is confusing, because Cleanfeed is designed to work with multiple server packages that have different requirements. >For the "cleanfeed.conf" file location, as suggested to be placed >*somewhere* in the first paragraph above, I chose /etc/news where the >INN configuration files were installed for Debian Sarge. That's fine. It really doesn't matter, as long as the cleanfeed script itself has been edited to know where to find it. >What is the "Cleanfeed source" file? All I can guess is it is the file >"cleanfeed" a perl script text file. Correct. >The second paragraph is very confusing. What does it mean by "install >the filter file"? Does this actually mean to *move* the file "cleanfeed" >the perl script text file, from the directory in which it was gunzipped? Yes. Or you could symlink, I believe. >Then the question of installing it *as* "filter_innd.pl" might mean to >rename it? Actually moving it from the gunzip location to the new >location with a new filename? Yes. INN only knows to load whatever file is called filter_innd.pl located in the "pathfilter" directory (which, as you posted in the table from the FAQ, is probably /etc/news/filter in your installation). Since almost everyone has the standard file locations, their pathfilter is (as you can see in the table) .../bin/filter/ -- that's why the text uses that rather than actually mentioning "pathfilter" per se. >The second paragraph also includes *installing* "cleanfeed.conf" once >*again* but now in the "bin/filter" directory, and "under the >installation root" whatever that means. It's the main script that needs to be in the pathfilter directory. You can put the config stuff wherever you like, as long as you edit the main script appropriately. >Finally, if the cleanfeed.conf file is in the /etc/news directory, >shouldn't it be like all of the other files there: "root-root" and not >"news"? Maybe /etc/news is not the best location? It doesn't matter where you put it, as long as: - you've told the main filter script (cleanfeed, now named filter_innd.pl) how to find it - the ownership and permissions are such that INN can read it (so either owned by root.root and readable by others, owned by root.news and readable by group, or owned by news.news) -- Jeffrey M. Vinocur jeff@litech.org
Re: Cleanfeed installation
Author: Bozweb
Date: Fri, 23 Jun 2006 13:39
Date: Fri, 23 Jun 2006 13:39
80 lines
4086 bytes
4086 bytes
On Fri, 23 Jun 2006 09:51:54 +0000 (UTC), jeff@litech.org (Jeffrey M. Vinocur) wrote: >In article <mdCmg.50666$mF2.44452@bgtnsc04-news.ops.worldnet.att.net>, >John F. Morse <xanadu.bbs@invalid.net> wrote: >>After four days and nights of study, I am unable to determine the proper >>file locations for a Cleanfeed installation. > >This is confusing, because Cleanfeed is designed to work with >multiple server packages that have different requirements. > > >>For the "cleanfeed.conf" file location, as suggested to be placed >>*somewhere* in the first paragraph above, I chose /etc/news where the >>INN configuration files were installed for Debian Sarge. > >That's fine. It really doesn't matter, as long as the cleanfeed >script itself has been edited to know where to find it. > > >>What is the "Cleanfeed source" file? All I can guess is it is the file >>"cleanfeed" a perl script text file. > >Correct. > > >>The second paragraph is very confusing. What does it mean by "install >>the filter file"? Does this actually mean to *move* the file "cleanfeed" >>the perl script text file, from the directory in which it was gunzipped? > >Yes. Or you could symlink, I believe. > > >>Then the question of installing it *as* "filter_innd.pl" might mean to >>rename it? Actually moving it from the gunzip location to the new >>location with a new filename? > >Yes. INN only knows to load whatever file is called >filter_innd.pl located in the "pathfilter" directory (which, as >you posted in the table from the FAQ, is probably >/etc/news/filter in your installation). > >Since almost everyone has the standard file locations, their >pathfilter is (as you can see in the table) .../bin/filter/ -- >that's why the text uses that rather than actually mentioning >"pathfilter" per se. > > >>The second paragraph also includes *installing* "cleanfeed.conf" once >>*again* but now in the "bin/filter" directory, and "under the >>installation root" whatever that means. > >It's the main script that needs to be in the pathfilter >directory. You can put the config stuff wherever you like, as >long as you edit the main script appropriately. > > >>Finally, if the cleanfeed.conf file is in the /etc/news directory, >>shouldn't it be like all of the other files there: "root-root" and not >>"news"? Maybe /etc/news is not the best location? > >It doesn't matter where you put it, as long as: > > - you've told the main filter script (cleanfeed, now named > filter_innd.pl) how to find it > > - the ownership and permissions are such that INN can read it > (so either owned by root.root and readable by others, owned by > root.news and readable by group, or owned by news.news) Use a new cleanfeed without de conf file. http://www.bofh.it/%7Emd/cleanfeed/ cleanfeed-20020501 -- Posted by http://news.bozweb.net http://www.bozweb.net Key: 0x82DEE1A0
Re: Cleanfeed installation
Author: John F. Morse
Date: Sat, 24 Jun 2006 00:06
Date: Sat, 24 Jun 2006 00:06
104 lines
4721 bytes
4721 bytes
Jeffrey M. Vinocur wrote: >In article <mdCmg.50666$mF2.44452@bgtnsc04-news.ops.worldnet.att.net>, >John F. Morse <xanadu.bbs@invalid.net> wrote: > >>For the "cleanfeed.conf" file location, as suggested to be placed >>*somewhere* in the first paragraph above, I chose /etc/news where the >>INN configuration files were installed for Debian Sarge. >> >> > >That's fine. It really doesn't matter, as long as the cleanfeed >script itself has been edited to know where to find it. > > I chose /etc/news and edited the (new) /etc/news/filter/filter_innd.pl script to reflect $config_dir = '/etc/news'; I also edited cleanfeed.conf adding: 'active_file' => /var/lib/news/active, and commenting out the default 'active_file' => undef, I hope this was needed. >>Then the question of installing it *as* "filter_innd.pl" might mean to >>rename it? Actually moving it from the gunzip location to the new >>location with a new filename? >> >> > >Yes. INN only knows to load whatever file is called >filter_innd.pl located in the "pathfilter" directory (which, as >you posted in the table from the FAQ, is probably >/etc/news/filter in your installation). > >Since almost everyone has the standard file locations, their >pathfilter is (as you can see in the table) .../bin/filter/ -- >that's why the text uses that rather than actually mentioning >"pathfilter" per se. > > I can see that now. ;-) >>Finally, if the cleanfeed.conf file is in the /etc/news directory, >>shouldn't it be like all of the other files there: "root-root" and not >>"news"? Maybe /etc/news is not the best location? >> >> > >It doesn't matter where you put it, as long as: > > - you've told the main filter script (cleanfeed, now named > filter_innd.pl) how to find it > > - the ownership and permissions are such that INN can read it > (so either owned by root.root and readable by others, owned by > root.news and readable by group, or owned by news.news) > I changed it to root.root and 644. Thanks so much, Jeff. It is installed and configured, and "apparently" running: news@news7:/var/log/news$ ctlinnd mode Server running Allowing remote connections Parameters c 0 i 50 (0) l 1000000 o 1011 t 300 H 2 T 60 X 0 normal specified Not reserved Readers follow enabled Perl filtering enabled Perl filter stats: Pass: 1108 Reject: MD5: 0 EMP: 0 MID: 0 SS: 0 Cleanfeed has not rejected any articles yet, and some of them have dirty words in the subjects. I see these words in the perl file. Maybe I need to check the cleanfeed.conf file to make sure something is not commented out? Actually, shouldn't Cleanfeed reject messages after a generic install? The man states: "If your server is running a full feed, you should start seeing a constant stream of rejections almost immediately." Well, I'm not running a full feed, and won't, but with 1108 articles passing, you'd think there would be some rejects, especially since dirty words do appear in the subjects of some messages. BTW, to get these articles from USENET, I set up the old RumorMill on a Mac to pull (suck) certain groups from my ISP. I have the POST capability shut off for now. It streams with the INN server. This is easier than fighting Suck at the present time, but I'll eventually go that route. Again, thanks for your well-written explanation. -- John
Re: Cleanfeed installation
Author: Iulius
Date: Sat, 24 Jun 2006 22:00
Date: Sat, 24 Jun 2006 22:00
48 lines
2951 bytes
2951 bytes
En réponse à John F. Morse :
> I also edited cleanfeed.conf adding: 'active_file' =>
> /var/lib/news/active, and commenting out the default 'active_file' =>
> undef,
>
> I hope this was needed.
It is only loaded once (when the filter is launched) and permits Cleanfeed
to know which groups are moderated.
>> - the ownership and permissions are such that INN can read it
>> (so either owned by root.root and readable by others, owned by
>> root.news and readable by group, or owned by news.news)
>>
>
> I changed it to root.root and 644.
By the way, if I do a « inncheck -f -perms » within the standard Debian
installation (wherein everything is root.root), it complains. Is it safe
to leave root.root (though readable by news) for all thes files in /etc/news ?
> Cleanfeed has not rejected any articles yet, and some of them have dirty
> words in the subjects. I see these words in the perl file.
Where ? (I see some in « badguys » but it is not used for subjects.)
> Maybe I need to check the cleanfeed.conf file to make sure something is
> not commented out?
Do you have the scoring filter on ?
The EMP_dump_file set ('/tmp/empdump' for me) and the do_md5, phl, fsl... ?
block_html ?
Isn't the newsgroup in question whitelisted ?
> Well, I'm not running a full feed, and won't, but with 1108 articles
> passing, you'd think there would be some rejects
And now ?
--
Iulius
« Un ami fidèle qui parle très bien votre langue et toutes
les langues vivantes : le latin, le grec, le celte, etc. » (Astérix)
Re: Cleanfeed installation
Author: Jeffrey M. Vinocur
Date: Sun, 25 Jun 2006 05:07
Date: Sun, 25 Jun 2006 05:07
18 lines
1936 bytes
1936 bytes
In article <e7kcl4$bp8$2@smilodon.ecp.fr>, Iulius <iulius@nom-de-mon-site.com.invalid> wrote: > >By the way, if I do a « inncheck -f -perms » within the standard Debian >installation (wherein everything is root.root), it complains. Is it safe >to leave root.root (though readable by news) for all thes files in /etc/news ? Well, mostly it's fine (since INN never rewrites those files), but you do need to make sure that the news user has the ability to read those files. So you can make them world-readable, just be aware that then anybody can read them...I don't think there's anything truly secret in those files, but the definition of secret might vary by your particular setup is. -- Jeffrey M. Vinocur jeff@litech.org
Re: Cleanfeed installation
Author: John F. Morse
Date: Sun, 25 Jun 2006 06:34
Date: Sun, 25 Jun 2006 06:34
128 lines
5305 bytes
5305 bytes
Iulius wrote:
> En réponse à John F. Morse :
>
>> I also edited cleanfeed.conf adding: 'active_file' =>
>> /var/lib/news/active, and commenting out the default 'active_file' =>
>> undef,
>>
>> I hope this was needed.
>
>
> It is only loaded once (when the filter is launched) and permits
> Cleanfeed
> to know which groups are moderated.
Yes, I know. I was only pointing out the few changes I made to the
generic defaults after the apt-get install.
However, I later discovered I had to enclose the path in quotes to avoid
a syntax error. So now it is 'active_file' => '/var/lib/news/active',
I had created one moderated group for testing, and it was mailing the
articles to me before the Cleanfeed install. This has nothing to do with
Cleanfeed's failure to reject articles though.
>>> - the ownership and permissions are such that INN can read it
>>> (so either owned by root.root and readable by others, owned by
>>> root.news and readable by group, or owned by news.news)
>>>
>>
>> I changed it to root.root and 644.
>
>
> By the way, if I do a « inncheck -f -perms » within the standard Debian
> installation (wherein everything is root.root), it complains. Is it safe
> to leave root.root (though readable by news) for all thes files in
> /etc/news ?
I checked all three of my INN installations, and I also get several
screenfulls of error messages under Debian Sarge.
However, one server has been running online for the past nine months,
and a second for around three months, both with no errors.
Thinking that maybe inncheck and/or innshellvars.pl were written for the
"standard" INN installation paths, which don't match Debian, and also
knowing I'm very ignorant in perl, I can't see any obvious errors.
>> Cleanfeed has not rejected any articles yet, and some of them have
>> dirty words in the subjects. I see these words in the perl file.
>
>
> Where ? (I see some in « badguys » but it is not used for subjects.)
One place is filter_innd.pl where the badguys is used for domain
checking, and a page or two beyond in the "some nifty regular
expressions" area, and further down in the"from Ricardo's "FAQ"" area in
($hdr{'Path'}, etc.
As I stated, since I don't know perl, I don't know if these instances
are setting variables that are later used in routines to check the
subject, or even the body or an article.
>> Maybe I need to check the cleanfeed.conf file to make sure something
>> is not commented out?
>
>
> Do you have the scoring filter on ?
> The EMP_dump_file set ('/tmp/empdump' for me) and the do_md5, phl,
> fsl... ?
I cannot find (grep) "EMP_dump_file" or anything mentioning dump_file in
my generic default Cleanfeed install. Grepping "EMP" has no lines with
any dump_file or dumpfile in them. Somehow I seem to remember reading
something about this label a few days ago, but I cannot recall where I
may have seen it. Where do you see this?
As for do_md5, phl, fsl -- yes, yes, yes. AFAIK, everything looks good
in all of the configurations.
> block_html ?
No. I don't believe this has anything to do with header info, such as
the subject. It would block messages containing html, but if it were on,
then I should see some rejects.
> Isn't the newsgroup in question whitelisted ?
No. Several newsgroups appear to have dirty words in the subjects (name
calling by flamers), etc.
>> Well, I'm not running a full feed, and won't, but with 1108 articles
>> passing, you'd think there would be some rejects
>
>
> And now ?
news@news7:/usr/lib/news/bin$ ctlinnd mode
Server running
Allowing remote connections
Parameters c 0 i 50 (0) l 1000000 o 1011 t 300 H 2 T 60 X 0 normal specified
Not reserved
Readers follow enabled
Perl filtering enabled
Perl filter stats: Pass: 1436 Reject: MD5: 0 EMP: 0 MID: 0 SS: 0
--
John
Re: Cleanfeed installation
Author: Iulius
Date: Sun, 25 Jun 2006 10:33
Date: Sun, 25 Jun 2006 10:33
37 lines
2402 bytes
2402 bytes
En réponse à Jeffrey M. Vinocur : > Well, mostly it's fine (since INN never rewrites those files), > but you do need to make sure that the news user has the ability > to read those files. It is always the case. By default in Sarge Debian, it is : -rw-r--r-- 1 root root However, I applied Inncheck's advice : -rw-r----- 1 news news 9770 2006-06-19 19:50 control.ctl -rw-r--r-- 1 news news 5070 2006-06-20 21:53 inn.conf for instance. By the way, why are some files 644 and other 640 ? The only thing I cannot fix is : # /var/lib/news/history:0: mode 664, should be 644 If I fix it, it appears again the following day (perhaps « expire » changes the rights). I have also : # /usr/lib/news/bin/sendbatch:0: missing # /usr/lib/news/bin/rnews.libexec:0: ERROR: illegal file `bunbatch' in directory But I prefer not to change anything, in case I break something... -- Iulius « Et rose elle a vécu ce que vivent les roses. » (François de Malherbe)
Re: Cleanfeed installation
Author: Iulius
Date: Sun, 25 Jun 2006 11:20
Date: Sun, 25 Jun 2006 11:20
56 lines
3566 bytes
3566 bytes
En réponse à John F. Morse :
> I had created one moderated group for testing, and it was mailing the
> articles to me before the Cleanfeed install. This has nothing to do with
> Cleanfeed's failure to reject articles though.
Yes, the article is sent to you before Cleanfeed sees it. However, it is
useful for non local hierarchies (Cleanfeed treats the article differently
depending on the status of the newsgroup).
> Thinking that maybe inncheck and/or innshellvars.pl were written for the
> "standard" INN installation paths
Perhaps.
The main thing is that everything is working fine :)
> One place is filter_innd.pl where the badguys is used for domain
> checking, and a page or two beyond in the "some nifty regular
> expressions" area, and further down in the"from Ricardo's "FAQ"" area in
> ($hdr{'Path'}, etc.
I do not find them. I believe you are not using the latest version of
Cleanfeed (which dates back to 2002) : <http://www.bofh.it/%7Emd/cleanfeed/>.
> I cannot find (grep) "EMP_dump_file" or anything mentioning dump_file in
> my generic default Cleanfeed install. Grepping "EMP" has no lines with
> any dump_file or dumpfile in them. Somehow I seem to remember reading
> something about this label a few days ago, but I cannot recall where I
> may have seen it. Where do you see this?
In the last version of Cleanfeed !
It is quite easy to install (just download, unzip the whole thing, change
some parameters and rights).
> No. I don't believe this has anything to do with header info, such as
> the subject. It would block messages containing html, but if it were on,
> then I should see some rejects.
No, it works with the headers (if html is declared).
> Perl filtering enabled
> Perl filter stats: Pass: 1436 Reject: MD5: 0 EMP: 0 MID: 0 SS: 0
By the way, if you want to test your Cleanfeed installation, you can use the very
useful script written by Frédéric Senault :
<http://news.lacave.net/inn/cf_tester.pl>.
--
Iulius
« Quoi de plus inhumain qu'un sacrifice humain ? » (Alphonse Allais)
Re: Cleanfeed installation
Author: John F. Morse
Date: Mon, 26 Jun 2006 00:00
Date: Mon, 26 Jun 2006 00:00
40 lines
2810 bytes
2810 bytes
Iulius wrote:
>> One place is filter_innd.pl where the badguys is used for domain
>> checking, and a page or two beyond in the "some nifty regular
>> expressions" area, and further down in the"from Ricardo's "FAQ"" area
>> in ($hdr{'Path'}, etc.
>
>
> I do not find them. I believe you are not using the latest version of
> Cleanfeed (which dates back to 2002) :
> <http://www.bofh.it/%7Emd/cleanfeed/>.
>
>
>> I cannot find (grep) "EMP_dump_file" or anything mentioning dump_file
>> in my generic default Cleanfeed install. Grepping "EMP" has no lines
>> with any dump_file or dumpfile in them. Somehow I seem to remember
>> reading something about this label a few days ago, but I cannot
>> recall where I may have seen it. Where do you see this?
>
>
> In the last version of Cleanfeed !
> It is quite easy to install (just download, unzip the whole thing, change
> some parameters and rights).
OK, I see this beta version cleanfeed-20020501.tgz file at the Italian
site, http://www.bofh.it/~md/cleanfeed and will download it tonight.
I previously downloaded the 0.95.7b version from
http://www.exit109.com/~jeremy/news/antispam.html which is the one I'm
having trouble with.
I'll install the beta version tonight and run some more tests.
Thanks for the information, Iulius. I appreciate your help.
--
John
Re: Cleanfeed installation
Author: Dr.Ruud
Date: Mon, 26 Jun 2006 18:07
Date: Mon, 26 Jun 2006 18:07
51 lines
2297 bytes
2297 bytes
John F. Morse schreef:
> OK, I see this beta version cleanfeed-20020501.tgz file at the Italian
> site, http://www.bofh.it/~md/cleanfeed and will download it tonight.
(1) For a not-too-old perl, you can write
$TLDs = '(?:[Cc][Oo][Mm]|[Nn][Ee][Tt]|[Oo][Rr][Gg]|[Ee][Dd][Uu]' .
'|[Cc][Oo]\.[Uu][Kk]|[Ff][Rr]' .
'|[Cc][Oo][Mm]\.[Aa][Uu]|[Nn][Ll]|[Dd][Ee]|[Nn][Oo]|[Dd][Kk]|[Cc][Hh]' .
'|[Ss][Ee]|[Nn][Uu]|[Tt][Oo]|[Rr][Uu]|[Uu][Aa]|[Cc][Aa]|[Cc][Xx])';
as
$TLDs =
'(?ix: com
| net
| org
| edu
| co\.uk
| fr
| com\.au
| nl
| de
| no
| dk
| ch
| se
| nu
| to
| ru
| ua
| ca
| cx
)'
(2) One should nowadays put a
use strict ;
use warnings ;
at the start, and make the belonging changes to the rest of the code.
--
Affijn, Ruud
"Gewoon is een tijger."
Re: Cleanfeed installation
Author: John F. Morse
Date: Tue, 27 Jun 2006 15:47
Date: Tue, 27 Jun 2006 15:47
48 lines
3197 bytes
3197 bytes
John F. Morse wrote: > OK, I see this beta version cleanfeed-20020501.tgz file at the Italian > site, http://www.bofh.it/~md/cleanfeed and will download it tonight. > > I'll install the beta version tonight and run some more tests. Progress report: I did get the beta version downloaded and gunzipped. I read the documentation, but other priorities have kept me away from installation. Yesterday I removed the -C option to block cancels and Cleanfeed started rejecting a few articles. news@news7:~$ ctlinnd mode Server running Allowing remote connections Parameters c 0 i 50 (0) l 1000000 o 1011 t 300 H 2 T 60 X 0 normal specified Not reserved Readers follow enabled Perl filtering enabled Perl filter stats: Pass: 1304 Reject: 6 MD5: 0 EMP: 4 MID: 0 SS: 1 And some log samples (news.notice followed by news): Jun 27 10:15:55 localhost innd: rejecting[perl] <e7rhb4$rsp$1@victor.killfile.org> 437 New EMP detected (ph/l) Jun 27 10:15:55 localhost innd: rejecting[perl] <e7rhpg$ssn$2@victor.killfile.org> 437 New EMP detected (ph/l) Jun 27 10:15:55.231 - news76.my.net <e7rhb4$rsp$1@victor.killfile.org> 437 New EMP detected (ph/l) Jun 27 10:15:55.308 - news76.my.net <e7rhpg$ssn$2@victor.killfile.org> 437 New EMP detected (ph/l) Now my question is whether canceling must be enabled for Cleanfeed to work? I would think, since it is a filter from a hook in innd, it should block and reject before innd sees the messages. If not, then how could message cancels be stopped while using Cleanfeed? Local (nnrpd) messages, that is, while still allowing incoming streams to be canceled. -- John
Re: Cleanfeed installation
Author: Bert Hyman
Date: Tue, 27 Jun 2006 15:57
Date: Tue, 27 Jun 2006 15:57
13 lines
1964 bytes
1964 bytes
xanadu.bbs@invalid.net (John F. Morse) wrote in news:fqcog.65636$mF2.11945@bgtnsc04-news.ops.worldnet.att.net: > Now my question is whether canceling must be enabled for Cleanfeed > to work? I would think, since it is a filter from a hook in innd, > it should block and reject before innd sees the messages. I'm still running INN 2.2.2, so maybe things have changed, but no, you don't have to enable cancels for cleanfeed to work. I've been running with the -C option forever and cleanfeed works just fine. -- Bert Hyman | St. Paul, MN | bert@iphouse.com
Re: Cleanfeed installation
Author: John F. Morse
Date: Tue, 27 Jun 2006 16:00
Date: Tue, 27 Jun 2006 16:00
26 lines
2296 bytes
2296 bytes
Bert Hyman wrote: >xanadu.bbs@invalid.net (John F. Morse) wrote in >news:fqcog.65636$mF2.11945@bgtnsc04-news.ops.worldnet.att.net: > > > >>Now my question is whether canceling must be enabled for Cleanfeed >>to work? I would think, since it is a filter from a hook in innd, >>it should block and reject before innd sees the messages. >> >> > >I'm still running INN 2.2.2, so maybe things have changed, but no, >you don't have to enable cancels for cleanfeed to work. I've been >running with the -C option forever and cleanfeed works just fine. > Thanks, Bert. I'm fixin' to turn it back on and watch. Which version of Cleanfeed do you run? -- John
Re: Cleanfeed installation
Author: Bert Hyman
Date: Tue, 27 Jun 2006 16:05
Date: Tue, 27 Jun 2006 16:05
36 lines
2551 bytes
2551 bytes
xanadu.bbs@invalid.net (John F. Morse) wrote in news:xCcog.65666$mF2.64859@bgtnsc04-news.ops.worldnet.att.net: > Bert Hyman wrote: > >>xanadu.bbs@invalid.net (John F. Morse) wrote in >>news:fqcog.65636$mF2.11945@bgtnsc04-news.ops.worldnet.att.net: >> >> >> >>>Now my question is whether canceling must be enabled for Cleanfeed >>>to work? I would think, since it is a filter from a hook in innd, >>>it should block and reject before innd sees the messages. >>> >>> >> >>I'm still running INN 2.2.2, so maybe things have changed, but no, >>you don't have to enable cancels for cleanfeed to work. I've been >>running with the -C option forever and cleanfeed works just fine. >> > > Thanks, Bert. > > I'm fixin' to turn it back on and watch. > > Which version of Cleanfeed do you run? Hard to say; the comments at the top just say: # Copyright 1999 Jeremy Nixon <jeremy@.....com> # Copyright 2001 Marco d'Itri <md@....it> I don't think there's been a new version in a LONG time. -- Bert Hyman | St. Paul, MN | bert@iphouse.com
Re: Cleanfeed installation
Author: John F. Morse
Date: Tue, 27 Jun 2006 16:19
Date: Tue, 27 Jun 2006 16:19
36 lines
2706 bytes
2706 bytes
Bert Hyman wrote: >xanadu.bbs@invalid.net (John F. Morse) wrote in >news:xCcog.65666$mF2.64859@bgtnsc04-news.ops.worldnet.att.net: > >>Which version of Cleanfeed do you run? >> >> > >Hard to say; the comments at the top just say: > ># Copyright 1999 Jeremy Nixon <jeremy@.....com> ># Copyright 2001 Marco d'Itri <md@....it> > >I don't think there's been a new version in a LONG time. > > I see that in the cleanfeed-20020501 version (Italian), which was a beta release. http://www.bofh.it/~md/cleanfeed/ There is no copyright at the top of the jeremy version. http://www.exit109.com/~jeremy/news/antispam.html I'm a little shy of running beta software, but I guess everything is beta in some way. ;-) Maybe I'll switch over today and see if the Italian version is more aggressive. I don't think there is anybody who reads this group frequently, who might have a comparison opinion of the two versions. It will probably be me. :-( -- John
Re: Cleanfeed installation
Author: Paul Tomblin
Date: Tue, 27 Jun 2006 16:33
Date: Tue, 27 Jun 2006 16:33
18 lines
1909 bytes
1909 bytes
In a previous article, xanadu.bbs@invalid.net said: >I see that in the cleanfeed-20020501 version (Italian), which was a beta >release. http://www.bofh.it/~md/cleanfeed/ > >There is no copyright at the top of the jeremy version. >http://www.exit109.com/~jeremy/news/antispam.html > >I'm a little shy of running beta software, but I guess everything is >beta in some way. ;-) And it's been in beta for four years now. I think that's a long enough period to stop calling it beta. -- Paul Tomblin <ptomblin@xcski.com> http://xcski.com/blogs/pt/ "You must be smarter than this stick >---- to put a machine on the Internet."
Re: Cleanfeed installation
Author: Iulius
Date: Tue, 27 Jun 2006 18:35
Date: Tue, 27 Jun 2006 18:35
12 lines
1789 bytes
1789 bytes
En réponse à Paul Tomblin : > And it's been in beta for four years now. I think that's a long enough > period to stop calling it beta. Cleanfeed "beta" works very great. The only thing is to update the bad_paths and other things depending on your wishes and what is happening on your news server. -- Iulius « Allons quoi, Romain ! Sois bon comme la Romaine ! » (Astérix)
Re: Cleanfeed installation
Author: Iulius
Date: Tue, 27 Jun 2006 18:38
Date: Tue, 27 Jun 2006 18:38
19 lines
2040 bytes
2040 bytes
En réponse à John F. Morse : > Now my question is whether canceling must be enabled for Cleanfeed to work? No. > If not, then how could message cancels be stopped while using Cleanfeed? > Local (nnrpd) messages, that is, while still allowing incoming streams > to be canceled. That is to say ? block_user_cancels => 1 ? -- Iulius « On appelle ça une insula. C'est une maison où les gens habitent les uns au-dessus des autres... » (Astérix)
Re: Cleanfeed installation
Author: John F. Morse
Date: Fri, 30 Jun 2006 21:17
Date: Fri, 30 Jun 2006 21:17
84 lines
4486 bytes
4486 bytes
Iulius wrote: > En réponse à John F. Morse : > >> Now my question is whether canceling must be enabled for Cleanfeed to >> work? > > > No. > > >> If not, then how could message cancels be stopped while using >> Cleanfeed? Local (nnrpd) messages, that is, while still allowing >> incoming streams to be canceled. > > > That is to say ? > > block_user_cancels => 1 ? Thanks, Iulius. I will try this and see what happens. There is also a perl hook in nnrpd and I wonder if that would be the better place to just block the cancels? An ideal thing for me would be a timer routine -- a method to allow users to cancel, say within ten minutes (up to one hour perhaps) of posting a message. This would provide them a method to correct typos, but stop the wholesale canceling hours or days later, when they wish they hadn't said something. It could be good training to not insert foot in mouth. ;-) I was hoping to get this new INN server online at midnight tonight, switching over from the one that has been running since last October. This new INN server (and another slave) have the complete set of articles (~50k) from the old Mac RumorMill server. The online server is missing around 30k articles. Additionally, I'm using the old RumorMill server to pull (suck) some groups from USENET for testing Cleanfeed. It streams to the new INN server. It is very easy to set up for pulling (and posting), but I am wanting to use Suck (or SuckMT) on the same Linux box as the new INN server. Mainly to cut back on electricity usage, both for the PCs, and for air conditioning! ;-) So far I have discovered both Suck and SuckMT seem to be overly complicated for the task that they perform. Unzipping the tarballs I find Suck has 56 files and directories, while SuckMT has 79! I've got a lot of reading to do! The beta (Italian) Cleanfeed seems to be working. I do see rejects and refusals as shown below: news@news7:~$ ctlinnd mode Server running Allowing remote connections Parameters c 0 i 50 (0) l 1000000 o 1011 t 300 H 2 T 60 X 0 normal specified Not reserved Readers follow enabled Perl filtering enabled Perl filter stats: Pass: 2031 Reject: 2 Refuse: MD5: 6 PHL: 12 FSL: 8 I wonder though, the values for the refusals increase then decrease, like they are a dynamic total depending on some time interval, and not a running total. For instance, here is an earlier check: news@news7:~$ ctlinnd mode Server running Allowing remote connections Parameters c 0 i 50 (0) l 1000000 o 1011 t 300 H 2 T 60 X 0 normal specified Not reserved Readers follow enabled Perl filtering enabled Perl filter stats: Pass: 1558 Reject: 1 Refuse: MD5: 8 PHL: 23 FSL: 10 As you can see, there were more MD5, PHL and FSL refusals reported earlier. Any idea why this happens? -- John
Re: Cleanfeed installation
Author: Iulius
Date: Sat, 01 Jul 2006 10:17
Date: Sat, 01 Jul 2006 10:17
39 lines
3068 bytes
3068 bytes
En réponse à John F. Morse : > Thanks, Iulius. I will try this and see what happens. There is also a > perl hook in nnrpd and I wonder if that would be the better place to > just block the cancels? The nnrpd filter is used before the innd filter, so it would increase very slighty the process time. > An ideal thing for me would be a timer routine -- a method to allow > users to cancel, say within ten minutes (up to one hour perhaps) of > posting a message. Yes, it can be done. Simply write the perl script to do that :) You also have to remember somewhere (in a file I assume, because you would lose the data if you reload the filter) the time of the previous article posted. Or better, since the time can be fake in the newsreader (it depends on the client), you only remember the Message-ID of the articles sent within one hour (and deleting old ones every time the filter is used). If there is a cancel of an article not present in the cache, simply reject it. I hope my explanation was clear ! > As you can see, there were more MD5, PHL and FSL refusals reported earlier. > > Any idea why this happens? Did you reload the perl filter ? Inn ? See in /var/log/news/cleanfeed.stats (or another path) when the stats began. -- Iulius « Donner un César à une tragédienne ? Mais c'est absurde ! » (Astérix)
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