🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62545

Re: yEnc decoding implementation

#62545
From: Juergen Helbing
Date: Sun, 29 Dec 2002 23:17
46 lines
2536 bytes
=?ISO-8859-1?Q?J=F8hnny_F=E4v=F2r=EDt=EA_=28it_means_=22Explosive_Crap_Laser=22=29?= <this.is@fake.com> wrote:

>As much as I hate it, I suppose the time has come to add yEnc decoding
>to my newsreader.  Who here has an idea or a web page about the least
>offensive way to do this?

Use your existing code and at the location where you check for UUenc's
'begin 644 xxxxx' add a check for =ybegin ..... and all the following stuff.
Branch to an own module.

The website is located at:  www.yenc.org
You can contact me by eMail for further questions.

>I should add that I am DEAD SET against this horrible, horrible
>cribbed-together anti-protocol and I will surely DIE before I EVER write
>code to allow people to post yEnc binaries.  I just want to decode them
>in whatever way you fellow anti-yEnc people think is the least stinky
>and most likely to lead users to better alternatives in the future.

If you dont to write a binary poster, then this is far better than writing
a bad one. There is enough good autoposting software out there so
posting of yEnc binaries should not be a job for your software.

Tips:
Please dont forget to tell your users in case of corruption which part 
of a multipart is corrupt and permit to fetch it from a repost or another 
source.
Ignore all CRC32 values which are 0x00000001.
Be prepared for incomplete multiparts where the last part is empty.
Dont rely on the 'yEnc' tag in the subject line. People tend to post without
it because yEnc is widely standard. 
People dont use the subject recommendations of yEnc. Use your standard
UUenc functions for finding multiparts. But verify them with the yEnc
header data.


The implementation should not take longer than 4 hours.

HTH
-- 
Juergen
-------------------
www.yenc.org


Technical Details
Message-ID: <15170.uc2207@archiver.winews.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!news.alt.net!usenet
References: <PM0003B2ED450C7E1E@minion.nashville.comcast.net>

Show Full Headers
Complete Article Headers
Message-ID: <15170.uc2207@archiver.winews.net>
Subject: Re: yEnc decoding implementation
Date: Sun, 29 Dec 2002 23:17:15 +0000
From: archiver@i3w.com (Juergen Helbing)
References: <PM0003B2ED450C7E1E@minion.nashville.comcast.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!news.alt.net!usenet
Newsgroups: news.software.nntp
Organization: Altopia Corp. - Usenet Access - http://www.altopia.com
Lines: 45
X-Newsreader: MyNews