🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #83588

Re: [Xnews] Stunnel - 1 attachment

#83588
From: ���
Date: Tue, 28 Aug 2001 02:36
155 lines
6274 bytes
Christopher Jahn <xjahn@netscape.net> wrote in 
news:Xns910AD7F236A90xjahn@24.129.0.136:

> And it came to pass that ��� wrote:
> 
>> Christopher Jahn <xjahn@netscape.net> wrote in 
>> news:Xns9109BFAA76B4Exjahn@24.129.0.136: 
>> 
>>> And it came to pass that ��� wrote:
>>> 
>>>> Kate Martin <j09csroxz2001@sneakemail.com> wrote in 
>>>> news:Xns91098208BEApooobahh5386@127.0.0.1: 
>>>> 
>>>>> Christopher Jahn <xjahn@netscape.net> wrote in
>>>>> news:Xns9108D6164FAExjahn@24.129.0.136: 
>>>>> 
>>>>>> And it came to pass that ��� wrote:
>>>>>> 
>>>>>>> Christopher Jahn <xjahn@netscape.net> wrote in 
>>>>>>> news:Xns9107DABC15787xjahn@24.129.0.136: 
>>>>>>> 
>>>>>>>> And it came to pass that ��� wrote:
>>>>>>>> 
>>>>>>>>> Having trouble getting stunnel to work.  I've been to
>>>>>>>>> the Xnews and Stunel sites but no joy.  Can someone help? 
>>>>>>>>> 
>>>>>>>> 
>>>>>>>> What is your specific problem?  
>>>>>>> 
>>>>>>> Hi Christopher:
>>>>>>> 
>>>>>>> I wish to access secnews.netscape.com (as you do) using
>>>>>>> Xnews. 
>>>>>>> 
>>>>>>> I have downloaded the latest version of STUNNEL from
>>>>>>> www.stunnel.org as well as the two .DLL files (which I
>>>>>>> got from another site since stunnel.org's were
>>>>>>> corrupted).  I placed all 3 files in a subdir to Xnews.
>>>>>>> 
>>>>>>> I followed the instructions on the Xnews website
>>>>>>> (xnews.3dnews.net) and wrote a short 2 line batchfile
>>>>>>> to automate it, as follows: 
>>>>>>> 
>>>>>>> c:\progra~1\xnews\stunnel\stunnel.exe -c -d 1199 -r 
>>>>>>> secnews.netscape.com:563 c:\progra~1\xnews\xnews.exe 
>>>>>>> 
>>>>>>> The problem is, when I execute the batchfile, Xnews
>>>>>>> doesn't load and the MS-DOS window in which STUNNEL is
>>>>>>> running seems to hang.  Here is a screenshot attached.
>>>>>>> 
>>>>>>> I would appreciate your assistance.
>>>>>>> 
>>>>>>> DC
>>>>>>> 
>>>>>> 
>>>>>> First, the batch file can't start two programs.  
>>>>> 
>>>>> Oh yes it can!  :)
>>>>> You have to use the "Start" command.
>>>>> 
>>>>> Here's the batch file I use to run stunnel for Netscape.
>>>>> 
>>>>> @echo off
>>>>> start stunnel.exe -c -d 1199 -r secnews.netscape.com:563
>>>>> start xnews.exe
>>>>> 
>>>>> Works like a treat.
>>>>> The only PITB is the necessity to hit CTRL-C to close
>>>>> Stunnel after a session. 
>>>>> 
>>>>> 
>>>>> 
>>>> 
>>>> Thanks guys.  Solved the starting problem.  Now another issue... 
>>>> 
>>>> I keep getting �TRANSFER TIMEOUT� when I select to
>>>> retrieve entire newsgroup list from server
>>>> (secnews.netscape.com). Is there a way to increase the
>>>> timeout period (I have no problems connecting with NC 4.78)? 
>>>> 
>>> 
>>> In Special/Setup xnews, for the server
>>> "secnews.netscape.com",  is the server address set up as
>>> Localhost on port 1199?  
>>> 
>> 
>> Not quite sure what you mean.  I have under 'server name or
>> address' secnews.netscape.com and under 'port number' 563. 
>> Is this not correct? 
> 
> No.  You can't directly access the secnews server with Xnews - 
> that's what Stunnel does.  You point Xnews at Stunnel (which is 
> localhost on whatever port you assign it), which connects to 
> secnews.netscape.com.
> 
>> 
>> Also note that the stunnel 'dos' window still displays as
>> per the attachemnt I sent in an earlier post.  Here is my
>> batch file as it stands now... 
>> 
> 
> That is correct behavior.  You can minimize it to the task bar.  
> Stunnel must be running in order for this whole thing to work - 
> think of it as an SSL proxy.
> 
>> @echo off
>> start c:\progra~1\xnews\stunnel\stunnel.exe -c -r
>> secnews.netscape.com:563 -d 1199
>> start c:\progra~1\xnews\xnews.exe
>> 
>> I have been able to retrieve the newsgroup list (containing
>> only 135 groups) and many are obviously missing (ie. 
>> netscape.communicator).  What gives? 
>> 
>> DC
> 
> YOu haven't configured it properly yet - you're only accessing 
> the unsecure groups.
> 
> Point Xnews to localhost on port 1199 and you're in busniess.
> 
> 
> 

When all else fails, RTFM!  God, I must be blind!

Found this on http://xnews.3dnews.net/

........

Example: accessing Netscape's secure news server. Note: for secure news, the 
<remoteport> is usually 563. 

stunnel.exe -c -d 1199 -r secnews.netscape.com:563

In Xnews, add a server. For server name, enter localhost or 127.0.0.1 (either 
will work).  Enter Netscape for alias. Change the port number to 1199. That 
should do the trick. 

........

All this time, after hours of screwing around with this, I thought 
"localhost" meant "secnews.netscape.com"!!!

Aaarrrggghhh!!!

Thanks again for your patience.

DC

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Email address is fake -- Please follow-up to group only
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Technical Details
Message-ID: <Xns910AD18573697dcspamfree@142.165.21.10>
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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!cyclone.bc.net!clarke.sasknet.sk.ca!tomcat.sk.sympatico.ca!not-for-mail
References: <Xns91079F8D1B1E7dcspamfree@142.165.21.10> <Xns9107DABC15787xjahn@24.129.0.136> <Xns9107DBA76ADECdcspamfree@142.165.21.10> <Xns9108D6164FAExjahn@24.129.0.136> <Xns91098208BEApooobahh5386@127.0.0.1> <Xns9109981F9FF03dcspamfree@142.165.21.10> <Xns9109BFAA76B4Exjahn@24.129.0.136> <Xns910AC174EE82Adcspamfree@142.165.21.10> <Xns910AD7F236A90xjahn@24.129.0.136>

Show Full Headers
Complete Article Headers
Message-ID: <Xns910AD18573697dcspamfree@142.165.21.10>
Subject: Re: [Xnews] Stunnel - 1 attachment
Date: Tue, 28 Aug 2001 02:36:27 GMT
From: "���" <spam.free@my.place>
References: <Xns91079F8D1B1E7dcspamfree@142.165.21.10> <Xns9107DABC15787xjahn@24.129.0.136> <Xns9107DBA76ADECdcspamfree@142.165.21.10> <Xns9108D6164FAExjahn@24.129.0.136> <Xns91098208BEApooobahh5386@127.0.0.1> <Xns9109981F9FF03dcspamfree@142.165.21.10> <Xns9109BFAA76B4Exjahn@24.129.0.136> <Xns910AC174EE82Adcspamfree@142.165.21.10> <Xns910AD7F236A90xjahn@24.129.0.136>
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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!cyclone.bc.net!clarke.sasknet.sk.ca!tomcat.sk.sympatico.ca!not-for-mail
Newsgroups: news.software.readers
User-Agent: Xnews/4.06.22
X-Face: #3_!!o{,J]7YCXlwL>U;xwhcbZqDI&L&qmBmPmBt^PL{_(Ke.4"+x5d*$~jTGc00m):%_sYe~lX&LfDOFeKYb<[,r'`N`"qg0R8I0-mbw"6\YN.0~PC1(6<tHn~!8*i#(_S+,k,J!V"g
Lines: 154
NNTP-Posting-Host: 142.165.37.244
X-Trace: tomcat.sk.sympatico.ca 998966187 142.165.37.244 (Mon, 27 Aug 2001 20:36:27 CST)
NNTP-Posting-Date: Mon, 27 Aug 2001 20:36:27 CST