🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
14 messages
14 total messages Started by Iulius Sun, 17 Dec 2006 22:00
An up to date Cleanfeed
#74588
Author: Iulius
Date: Sun, 17 Dec 2006 22:00
46 lines
2731 bytes
Hi,

I wonder whether it would be possible to have an up to date Cleanfeed
configuration (either through a website or volatile for Debian).

Indeed, the current configuration is not optimum and we should adapt to
new techniques regarding spam, binaries or evolution of the hierarchies.

For instance:

* adding and removing bad paths (softly, or with a configurable way [the
   newsmaster tells the level he wants])


* adapting to a best UUencoded noticing:

-                   ^[Bb][Ee][Gg][Ii][Nn][ \t]+[0-7]{3,4}[ \t]+ # begin 666
+                   (?:^|\n)[Bb][Ee][Gg][Ii][Nn][ \t]+[0-7]{3,4}[ \t]+ # begin 666
[...]
+                       [Jj][Pp][Ee]?[Gg]|
+                       [Gg][Ii][Ff]|
+                       [Pp][Nn][Gg]


* adapting to a best yEnc noticing:

-   if ($hdr{__BODY__} =~ /^=ybegin (.+)$/m) {
+   if ($hdr{__BODY__} =~ /(?:^|\n)=ybegin (.+)$/m) {


* Best organizing the FSL/PHL filter (with newsgroups exception): for example,
the default cleanfeed configuration does not know that « comp.lang.ruby » is
gate bi-directionally into a mailing list.  Cleanfeed's default PHL filters
produce broken threads because many postings from the mailing list are dropped.
Likewise FSL.
A lot of work is to be done in newsgates hierarchies (like « linux.* » or « bit.* »).

Another example is the tiny bot of Netvisao.pt in « misc.test » (and another one
in « microsoft.public.test.here ») which produces lots of false positive.

-- 
Iulius

« -- Redde Caesari quae sunt Caesaris.
   -- Eh ?
   -- Y en a rendre à César ce qui y en a appartenir à César. » (Saugrenus)
Re: An up to date Cleanfeed
#74589
Author: Russ Allbery
Date: Sun, 17 Dec 2006 22:25
15 lines
1546 bytes
Iulius <iulius@nom-de-mon-site.com.invalid> writes:

> * adapting to a best yEnc noticing:

> -   if ($hdr{__BODY__} =~ /^=ybegin (.+)$/m) {
> +   if ($hdr{__BODY__} =~ /(?:^|\n)=ybegin (.+)$/m) {

If that change has any effect, there's a bug in Perl.  That's exactly what
the /m flag is supposed to mean.

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: An up to date Cleanfeed
#74590
Author: Iulius
Date: Sun, 17 Dec 2006 22:47
19 lines
1857 bytes
Le seizième jour avant les Calendes de janvier, en réponse à Russ Allbery :
>> * adapting to a best yEnc noticing:
> 
>> -   if ($hdr{__BODY__} =~ /^=ybegin (.+)$/m) {
>> +   if ($hdr{__BODY__} =~ /(?:^|\n)=ybegin (.+)$/m) {
> 
> If that change has any effect, there's a bug in Perl.  That's exactly what
> the /m flag is supposed to mean.

Hmmm...  Yes, you're right.  I have just tested again and it has no effect.
Well, I assume I did a mistake during my previous tests.

Anyway, the other issues are still present.

-- 
Iulius

« -- Prends un peu de potion magique, Jolitorax ?
   -- Mais ça va être l'heure de l'eau chaude ! » (Astérix)
Re: An up to date Cleanfeed
#74591
Author: Andrew - Supernews
Date: Mon, 18 Dec 2006 07:04
28 lines
2289 bytes
On 2006-12-17, Iulius <iulius@nom-de-mon-site.com.invalid> wrote:
> * Best organizing the FSL/PHL filter (with newsgroups exception): for
> example, the default cleanfeed configuration does not know that
> « comp.lang.ruby » is gate bi-directionally into a mailing list.

Interesting; our filters also don't have this group listed as an exception,
but we don't seem to be rejecting any traffic from it. Many mailing list
gateways don't produce significantly more traffic than some individual
posters do...

> A lot of work is to be done in newsgates hierarchies (like « linux.* »
> or « bit.* »).

The gatewayed traffic in linux.* doesn't have nntp-posting-host. The bit.*
groups that are gatewayed through Newsguy seem to have nntp-posting-host
taken from the mail headers; ones gatewayed elsewhere vary (I know we have
one here, which of course doesn't have nntp-posting-host at all).

> Another example is the tiny bot of Netvisao.pt in « misc.test »
> (and another one in « microsoft.public.test.here ») which produces
> lots of false positive.

You think rejecting the spew from netvisao.pt or mircosoft is a false
positive? why?

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
Re: An up to date Cleanfeed
#74592
Author: Iulius
Date: Mon, 18 Dec 2006 09:43
47 lines
3240 bytes
En réponse à Andrew - Supernews :
>> * Best organizing the FSL/PHL filter (with newsgroups exception): for
>> example, the default cleanfeed configuration does not know that
>> « comp.lang.ruby » is gate bi-directionally into a mailing list.
> 
> Interesting; our filters also don't have this group listed as an exception,
> but we don't seem to be rejecting any traffic from it. Many mailing list
> gateways don't produce significantly more traffic than some individual
> posters do...

Sure.  However, I assume it depends on the settings (RateCutoff and
RateBaseInterval).
And the problem of mailing lists is that some people post in HTML...

Regarding « microsoft.* » too, lots of people post in HTML and I miss
some parts of threads (especially the first article!).


> The gatewayed traffic in linux.* doesn't have nntp-posting-host.

But patches (considered as binaries) are rejected.


>> Another example is the tiny bot of Netvisao.pt in « misc.test »
>> (and another one in « microsoft.public.test.here ») which produces
>> lots of false positive.
> 
> You think rejecting the spew from netvisao.pt or mircosoft is a false
> positive? why?

I thought these articles were propagation tests (and in test groups, we
can send such articles, no?).  But you're right; they can also be considered
as spam!

Another thing regarding Cleanfeed is the fact that some binaries sometimes
pass the filter (while they are normally filtered if I feed them manually
through Cleanfeed...).  I do not know why. (Perl bug?  Too many articles at
the same time?  Article not fed to Cleanfeed?)
For instance, yesterday in « it.binari.x.erotismo », 114 consecutive binaries
passed (<7kiao2h0bghu137cg5ghec30b6mdp4b9kr@4ax.com> is in my news spool but
if I manually feed it to Cleanfeed, I have a « Binary in non-binary group »
since I allow no binary in my news server).  Strange...

-- 
Iulius

« Mon père, ce héros au sourire si doux. » (Victor Hugo)
Re: An up to date Cleanfeed
#74601
Author: Marco d'Itri
Date: Mon, 18 Dec 2006 12:33
11 lines
1200 bytes
iulius@nom-de-mon-site.com.invalid wrote:

>I wonder whether it would be possible to have an up to date Cleanfeed
>configuration (either through a website or volatile for Debian).
Some day, hopefully yes. :-)
If you have a patch or suggestions, I suggest you send them to the
mailing list.

-- 
ciao, |
Marco | * The Internet is full. Go away.  -- Joel Furr *
Re: An up to date Cleanfeed
#74596
Author: Marco d'Itri
Date: Tue, 19 Dec 2006 17:20
14 lines
1493 bytes
iulius@nom-de-mon-site.com.invalid wrote:

>Another thing regarding Cleanfeed is the fact that some binaries sometimes
>pass the filter (while they are normally filtered if I feed them manually
>through Cleanfeed...).  I do not know why. (Perl bug?  Too many articles at
>the same time?  Article not fed to Cleanfeed?)
INN bug.
The magic $hdr{__BODY__} scalar is broken in a way that /.../m regexps
never match.
It's not always reproducible, but it has existed since about 5 years.

-- 
ciao, |
Marco | * The Internet is full. Go away.  -- Joel Furr *
Re: An up to date Cleanfeed
#74598
Author: Russ Allbery
Date: Tue, 19 Dec 2006 19:10
22 lines
2135 bytes
Marco d'Itri <md@Linux.IT> writes:
> iulius@nom-de-mon-site.com.invalid wrote:

>> Another thing regarding Cleanfeed is the fact that some binaries
>> sometimes pass the filter (while they are normally filtered if I feed
>> them manually through Cleanfeed...).  I do not know why. (Perl bug?
>> Too many articles at the same time?  Article not fed to Cleanfeed?)

> INN bug.  The magic $hdr{__BODY__} scalar is broken in a way that /.../m
> regexps never match.  It's not always reproducible, but it has existed
> since about 5 years.

I'd love to fix this but have never been able to see any difference
between how it's constructed and how other Perl scalars are constructed,
and it doesn't help that it seems to not always happen and I can't
reliably reproduce the problem.

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: An up to date Cleanfeed
#74599
Author: Iulius
Date: Tue, 19 Dec 2006 21:31
20 lines
2217 bytes
Le quatorzième jour avant les Calendes de janvier, en réponse à Russ Allbery :
>> INN bug.  The magic $hdr{__BODY__} scalar is broken in a way that /.../m
>> regexps never match.  It's not always reproducible, but it has existed
>> since about 5 years.
> 
> I'd love to fix this but have never been able to see any difference
> between how it's constructed and how other Perl scalars are constructed,
> and it doesn't help that it seems to not always happen and I can't
> reliably reproduce the problem.

What is sure is that the problem does not happen if I test an article from
my news spool with Fred's tester <http://news.lacave.net/inn/cf_tester.pl>.

If it can be of help, I noticed it often happens that lots of binaries
pass *in the row* (see my previous article in the thread).

-- 
Iulius

« C'est aussi un camp romain corse, Vanitasuanitatum. »
Re: An up to date Cleanfeed
#74600
Author: Gary L. Burnore
Date: Tue, 19 Dec 2006 21:49
38 lines
3010 bytes
On 19 Dec 2006 18:20:26 +0100, Marco d'Itri <md@Linux.IT> wrote:

>iulius@nom-de-mon-site.com.invalid wrote:
>
>>Another thing regarding Cleanfeed is the fact that some binaries sometimes
>>pass the filter (while they are normally filtered if I feed them manually
>>through Cleanfeed...).  I do not know why. (Perl bug?  Too many articles at
>>the same time?  Article not fed to Cleanfeed?)
>INN bug.
>The magic $hdr{__BODY__} scalar is broken in a way that /.../m regexps
>never match.
>It's not always reproducible, but it has existed since about 5 years.

Sorry, but according to my logic, saying it never matches then saying
it's not always reproducible doesn't seem to make sense.

Is it not more accurate to say sometimes /.../m regexps don't match at
all and sometimes they do?

as for the scalar itself, isn't it full of line breaks and follow up
quote indicators?  If so, seems that would have a direct effect on why
something doesn't match one time and does the next.   

>> this would work
>>> this might
>>> not

-- 
gburnore at DataBasix dot Com 
---------------------------------------------------------------------------
                    How you look depends on where you go.
---------------------------------------------------------------------------
Gary L. Burnore                       |  ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³
                                      |  ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³
Official .sig, Accept no substitutes. |  ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³
                                      |  ÝÛ 0 1 7 2 3 / Ý³Þ 3 7 4 9 3 0 Û³
Black Helicopter Repair Services, Ltd.|     Official Proof of Purchase
===========================================================================
Re: An up to date Cleanfeed
#74607
Author: Marco d'Itri
Date: Wed, 20 Dec 2006 14:21
9 lines
1173 bytes
gburnore@databasix.com wrote:

>Is it not more accurate to say sometimes /.../m regexps don't match at
>all and sometimes they do?
Yes.

-- 
ciao, |
Marco | * The Internet is full. Go away.  -- Joel Furr *
Re: An up to date Cleanfeed
#74660
Author: Iulius
Date: Sun, 14 Jan 2007 20:58
21 lines
1757 bytes
> * adapting to a best UUencoded noticing:
> 
> -                   ^[Bb][Ee][Gg][Ii][Nn][ \t]+[0-7]{3,4}[ \t]+ # begin 666
> +                   (?:^|\n)[Bb][Ee][Gg][Ii][Nn][ \t]+[0-7]{3,4}[ \t]+ #
> begin 666
> [...]
> +                       [Jj][Pp][Ee]?[Gg]|
> +                       [Gg][Ii][Ff]|
> +                       [Pp][Nn][Gg]

Another one which should be filtered:

begin 666 default.aspx?AssetID=ZA100771021033


Today, in <OvorSc$NHHA.780@TK2MSFTNGP03.phx.gbl> (microsoft.public.msdn.general).

-- 
Iulius

« Avec tous ces crânes, il ne savait plus où donner de la tête ! » (Astérix)
Re: An up to date Cleanfeed
#74666
Author: Sylvain Robitaille
Date: Mon, 15 Jan 2007 15:46
21 lines
1752 bytes
Iulius wrote:

> Another one which should be filtered:
> 
> begin 666 default.aspx?AssetID=ZA100771021033
> Today, in <OvorSc$NHHA.780@TK2MSFTNGP03.phx.gbl>
> (microsoft.public.msdn.general).

Hrmmm... already caught by Cleanfeed here:

   Jan 14 11:17:18 newsflash innd: rejecting[perl]
      <OvorSc$NHHA.780@TK2MSFTNGP03.phx.gbl>
      437 Binary in non-binary group

-- 
----------------------------------------------------------------------
Sylvain Robitaille                              syl@alcor.concordia.ca
 
Systems and Network analyst / Newsmaster          Concordia University
Instructional & Information Technology        Montreal, Quebec, Canada
----------------------------------------------------------------------
Re: An up to date Cleanfeed
#74668
Author: Iulius
Date: Mon, 15 Jan 2007 17:02
31 lines
2187 bytes
Le dix-huitième jour avant les Calendes de février, en réponse
à Sylvain Robitaille :
>> Another one which should be filtered:
>>
>> begin 666 default.aspx?AssetID=ZA100771021033
>> Today, in <OvorSc$NHHA.780@TK2MSFTNGP03.phx.gbl>
>> (microsoft.public.msdn.general).
> 
> Hrmmm... already caught by Cleanfeed here:
> 
>    Jan 14 11:17:18 newsflash innd: rejecting[perl]
>       <OvorSc$NHHA.780@TK2MSFTNGP03.phx.gbl>
>       437 Binary in non-binary group

Hmmm...  You're right.  If I manually feed the article to Cleanfeed,
the article is well rejected.
It's therefore again an article which wasn't filtered on my news
server (due to an unknown reason).


However, I believe it should have been rejected with the error
« UUencoded aspx », instead of « Binary in non-binary group ».

Regards,

-- 
Iulius

« -- Ne te réjouis pas trop vite... Gnôthi seauton !
  -- Ça veut dire quoi ça ?
  -- Je ne sais pas ; c'est du grec. » (Oursenplus)
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