Article View: news.software.nntp
Article #76149Re: Q: binaries in non-binary-groups
From: Julien ÉLIE
Date: Mon, 21 May 2007 10:11
Date: Mon, 21 May 2007 10:11
51 lines
3172 bytes
3172 bytes
En réponse à Ray Banana :
>> is it normal, that non-binary-groups can contain binaries if they are
>> minor then certain bytes?
>> e.g. http://groups.google.com/group/de.soc.senioren/msg/c4306e71e2f458c3
>
> Yes. Binaries have to be filtered by some kind of additional mechanism
> like Cleanfeed.
It was a multipart/mixed. Filtered on my news server:
May 17 15:55:11.831 - newsfeeds.germany.com <170507.154818.dss.28@reinhard.irmer.dialin.t-online.de> 437 Multipart article.
But not by the standard Cleanfeed.
I added a line in my cleanfeed.local:
return reject('Multipart article.')
if ($hdr{'Content-Type'} =~ /multipart/i);
The rules in Cleanfeed are too lax and such articles pass through:
# mime-encapsulated HTML (attached *.html file)
return reject('Attached HTML file')
if $config{block_mime_html}
and $hdr{'Content-Disposition'} =~ /filename.*\.html?/
or $hdr{'Content-Base'} =~ /file:.*\.html?/
or ($lch{'content-type'} =~ m#multipart/(?:mixed|related)#
and $hdr{__BODY__} =~ /^$ci_ctype:[\t ]+text\/html/mo
and $hdr{__BODY__}=~/^$ci_cte:[\t ][Bb][Aa][Ss][Ee]64/mo);
# HTML
return reject('HTML post')
if $config{block_html} and not $gr{html}
and $lch{'content-type'} =~ m#text/html#
or $lch{'content-type'} =~ m#multipart/(?:mixed|related)#
and $hdr{__BODY__} =~
/^$ci_ctype:[\t ][Tt][Ee][Xx][Tt]\/[Hh][Tt][Mm][Ll]/mo;
return reject('HTML post')
if $config{block_multi_alt} and not $gr{html}
and $lch{'content-type'} =~ m#multipart/alternative#;
I believe they should be stricter.
--
Julien ÉLIE
« Le carré est une figure qui a un angle droit dans chaque coin. » (Jean-Charles)
Technical Details
Message-ID:
<f2rr83$o72$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news.albasani.net!news.trigofacile.com!not-for-mailReferences:
<1179732041.482466.237670@b40g2000prd.googlegroups.com> <slrnf52k0t.2dj5.rayban@banana.shacknet.nu>Show Full Headers
Complete Article Headers
Message-ID: <f2rr83$o72$1@news.trigofacile.com> Subject: Re: Q: binaries in non-binary-groups Date: Mon, 21 May 2007 12:11:16 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <1179732041.482466.237670@b40g2000prd.googlegroups.com> <slrnf52k0t.2dj5.rayban@banana.shacknet.nu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news.albasani.net!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp Organization: Gens Iulia -- http://www.trigofacile.com/ Lines: 51 NNTP-Posting-Host: goret.via.ecp.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit X-Trace: news.trigofacile.com 1179742275 24802 138.195.145.22 (21 May 2007 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Mon, 21 May 2007 10:11:15 +0000 (UTC) User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) In-Reply-To: <slrnf52k0t.2dj5.rayban@banana.shacknet.nu>