πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87979

Re: Cleanfeed bug in yEnc handling

#87979
From: Steve Crook
Date: Sun, 02 Jun 2019 10:32
33 lines
2088 bytes
On Sun, 2 Jun 2019 00:13:06 +0200, Julien Γ‰LIE wrote in
Message-Id: <qcut9n$alb$1@news.trigofacile.com>:

> Hi Steve,
>
>>>>> ## =ybegin line=128 size=716800 name=a
>> 
>> I checked out the yEnc spec and it doesn't appear to enforce any
>> particular filename format.  I think the best option would be to just
>> check for:-
>> /line=/ and /size=/ and /name=/ in a =ybegin line.  Would you agree?
>
> I see that it is what PyClean already does :-)
>
>      if 'line=' in l and 'size=' in l and 'name=' in l:
>          return 'yEnc'
>
>
> PyClean is therefore performing pretty well against the current yEnc 
> spam!  I am in favour of doing the same for Cleanfeed so that it matches 
> /name=/ only.

Yes, I'm seeing ~100 articles per day being rejected due to misplaced
yEnc encoding.  I probably decided about 8 years ago that a relaxed
check was better in PyClean!  I've changed cleanfeed to align with it
now.

-- 
What shall we use 
To fill the empty spaces 
Where we used to talk?

Technical Details
Message-ID: <slrnqf79d5.u39.steve@fleegle.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
References: <np3d0jyr846.fsf@sanger.ac.uk> <slrnqf5692.u39.steve@fleegle.mixmin.net> <qcujpu$n86$1@news.trigofacile.com> <slrnqf5mjo.u39.steve@fleegle.mixmin.net> <qcut9n$alb$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnqf79d5.u39.steve@fleegle.mixmin.net>
Subject: Re: Cleanfeed bug in yEnc handling
Date: Sun, 02 Jun 2019 10:32:05 +0000
From: Steve Crook <steve@mixmin.net>
References: <np3d0jyr846.fsf@sanger.ac.uk> <slrnqf5692.u39.steve@fleegle.mixmin.net> <qcujpu$n86$1@news.trigofacile.com> <slrnqf5mjo.u39.steve@fleegle.mixmin.net> <qcut9n$alb$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.(19219).mbox.7z!not-for-mail
Newsgroups: news.software.nntp
Organization: Mixmin
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 2 Jun 2019 10:32:05 -0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="c4af4a3027e8317d29ea238d8aa6bb2f616aa3fc";
 logging-data="4892"; mail-complaints-to="abuse@mixmin.net"
User-Agent: slrn/pre1.0.4-2 (Linux)
X-Received-Bytes: 1986
X-Received-Body-CRC: 3948946295