🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #203861

Re: OmniMix - Mixmaster Gateway for Windows - Proof of Concept

#203861
From: Stephen K. Gielda
Date: Mon, 03 Apr 2006 21:02
51 lines
3842 bytes
In article <alg232dla8qn108t924hm7r9omdn2ea0mj@4ax.com>, ---@---.--- 
says...
> Hi Stephen!
> 
> Stephen K. Gielda <steve@packetderm.com.bogus> - Sat, 1 Apr 2006
> 14:44:43 -0500:
> 
> >> I'm already experimenting on an nntp relay function and a mapped pop3
> >> within OM. Let's see what will be possible. What's the concept of
> >> 2Remail (wasn't it called News2Remail?) in this concern.
> >> 
> >> 
> >It was news2remail, when I started moving towards GUI I changed it 
> >because I also intend to add a smtp listener.  The 2remail NNTP Listener 
> >is a news proxy, all reading is done from the news server and all posts 
> >get directed to mixmaster.  When I first wrote news2remail gateway it 
> >had the requirement of two servers, one for reading and one to post to.  
> >I changed that with the personal version, it just proxies all 
> >unrecognized commands to the news server and only redirects posts to 
> >mixmaster.  This enables it to be used with any newsreader.  It's really 
> >quite easy, if you read perl the source is included.
> >
> >The latest: https://www.cotse.net/news2remail/2remail.zip
> 
> Many thanks for your explanation of 2remail. I will go through your
> code, though perl is far from my mother tongue. 'Just proxy all
> unrecognized commands ...' sounds simple and encourages me. But first
> I have to read the rfcs once again to see whether there are any
> caveats to be aware of, esp. in respect to the preservation of the
> client context from command call to call. Hope it can be done with a
> few lines of code. An Indy HOWTO about nntp relaying would have been
> nice, but I haven't found one yet.

It is pretty easy to do, basically just open a connection to the news 
server on client connect, pipe the helo output back to the news client, 
then pass commands to the news server and pipe the output back to the 
client for all but the following:  POST|MODE STREAM|IHAVE|XREPLIC.  For 
POST process that through mixmaster, for the other three an easy way is 
to just reply 500 Command not supported, unless you'd like to code in 
support for them as well.  Also intercept the QUIT so you can process 
that locally with any cleanup your program needs to do and then pass it 
to the news server.

If you have any questions, feel free to contact me, I've already run 
this obstacle course.

/steve
-- 
Cotse.Net Privacy Service
Your Shield From The Internet
http://www.cotse.net
Technical Details
Message-ID: <MPG.1e9b575c2c440fa4989707@news.newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!transit3.readnews.com!news-out.readnews.com!news-out.readnews.com!news-xxxfer.readnews.com!nr1.newsreader.com.POSTED!not-for-mail
References: <C6BBBVFC38808.0579050926@anonymous.poster> <d6558d9b3b87b1f0215b913fd5150c11@mixmaster.it> <EONFJM3T38808.4329282407@anonymous.poster> <MPG.1e98a2338a723af6989702@news.newsreader.com> <alg232dla8qn108t924hm7r9omdn2ea0mj@4ax.com>

Show Full Headers
Complete Article Headers
Message-ID: <MPG.1e9b575c2c440fa4989707@news.newsreader.com>
Subject: Re: OmniMix - Mixmaster Gateway for Windows - Proof of Concept
Date: Mon, 3 Apr 2006 17:02:09 -0400
From: Stephen K. Gielda <steve@packetderm.com.bogus>
References: <C6BBBVFC38808.0579050926@anonymous.poster> <d6558d9b3b87b1f0215b913fd5150c11@mixmaster.it> <EONFJM3T38808.4329282407@anonymous.poster> <MPG.1e98a2338a723af6989702@news.newsreader.com> <alg232dla8qn108t924hm7r9omdn2ea0mj@4ax.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!transit3.readnews.com!news-out.readnews.com!news-out.readnews.com!news-xxxfer.readnews.com!nr1.newsreader.com.POSTED!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: Packetderm, LLC
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
User-Agent: MicroPlanet-Gravity/2.60.2057
Lines: 51
NNTP-Posting-Host: 88d6c8a9.nr1.newsreader.com
X-Trace: DXC=eg3=lBR__R:=EbIJAFf8_5OA8_@f\K_i2RPb4[mF?JA<bFIE=5f9UR>K7ioB8CB?V1WE3;
 AEPR4:?A90PBl8FUP:UMG30`Yi]98
X-Complaints-To: abuse@newsreader.com