🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by frydd Mon, 21 May 2007 07:20
Q: binaries in non-binary-groups
#76145
Author: frydd
Date: Mon, 21 May 2007 07:20
14 lines
1619 bytes
hi,

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

Is the owner of the newsserver allowed to do so?

In unmoderated groups (e.g. de.test) are strictly prevented. Who takes
care of this?

--
frydd
Re: Q: binaries in non-binary-groups
#76147
Author: Ray Banana
Date: Mon, 21 May 2007 07:54
21 lines
1631 bytes
* frydd wrote:

> 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.

> Is the owner of the newsserver allowed to do so?

Yes.

> In unmoderated groups (e.g. de.test) are strictly prevented. Who takes
> care of this?

?

-- 
Too many ingredients in the soup, no room for a spoon.
http://news.motzarella.org
Re: Q: binaries in non-binary-groups
#76149
Author: Julien ÉLIE
Date: Mon, 21 May 2007 10:11
51 lines
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)
Re: Q: binaries in non-binary-groups
#76150
Author: frydd
Date: Mon, 21 May 2007 11:19
11 lines
1607 bytes
On 21 Mai, 09:54, Ray Banana <ray...@banana.shacknet.nu> wrote:
> * frydd wrote:
>
> > is it normal, that [...]

thnx
2julien2

--
frydd
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