🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #33689

Re: Windowsbased newsreader supporting proxies?

#33689
From: Greg Wooledge
Date: Sun, 25 May 1997 00:00
43 lines
2758 bytes
On Sun, 25 May 1997 20:47:17 GMT, Christian Knecht <cknecht@bluewin.ch> wrote:

>>I need a windowsbased newsreader supporting proxies, but I am not able to find
>>anything such.

What does that mean?  If you have a "proxy news server", how does it work?
The NNTP protocol doesn't appear to allow anything similar to that
without using some sort of unofficial extension command.

>I need the very same thing. I'm sure there must be a solution out
>there. Please anybody, jump in and tell us the story.

At one client site (a large oil company), I wrote a program which was
kicked off from inetd.  When started up, it established a connection to
a news server on a different machine.  It sent the news server's output
to the client, and passed the client's commands/data to the news server.
Thus, anyone connecting to port 119 of the intermediate system thought
(s)he was talking to the real news server.  This allowed anyone within
the corporation to read news by connecting to the intermediate server,
even if they normally would not be able to connect to the "real" news
server.  (You don't want to know the details.  Pretend it's a firewall.
The program I wrote could have been used on a firewall.)

Unfortunately, that code belongs to the large oil company for whom
I wrote it, so I can't post it here.  It was simple enough to write,
though, once I snarfed the code to establish a socket connection from
the normal nntpd program.  (Hint: you must read the first digit of the
response code from the server so you know whether the server's about to
send a bunch of data lines.)

I think someone else may have written a "news proxy" program, possibly
even with caching.  I seem to recall seeing something like that posted
to comp.os.linux.announce a while back (but after I had written the
program mentioned above).

I hope this is somewhat helpful.
-- 
------------                  Greg Wooledge                  -------------
-------                   wooledge@kellnet.com                     -------
---              http://kellnet.com/wooledge/main.html                 ---

Technical Details
Message-ID: <slrn5ohgaa.2dn.wooledge@phoenix.local>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <3386f42b.1678904@193.212.86.34> <3388a500.24591680@news.bluewin.ch>

Show Full Headers
Complete Article Headers
Message-ID: <slrn5ohgaa.2dn.wooledge@phoenix.local>
Subject: Re: Windowsbased newsreader supporting proxies?
Date: Sun, 25 May 1997 00:00:00 +0000
From: wooledge@kellnet.com (Greg Wooledge)
References: <3386f42b.1678904@193.212.86.34> <3388a500.24591680@news.bluewin.ch>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 243889632
Organization: homo sapiens
Reply-To: wooledge@kellnet.com
Newsgroups: news.software.readers