🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Question About Stunnel

#205906
From: Pilgrim
Date: Thu, 08 Jun 2006 20:36
118 lines
6601 bytes
cwilliams28@cox.net writes:

>First change random.bfa to bananarand.bin or some other real random number
>file (unless of course, you really have a random number file in your local
>directory called random.bfa. If so keep that the way you have it). It is
>interesting how information persists in the internet. Random.bfa is a file I
>created using the Blowfish Advanced Crypto System software. It has made its
>way to the internet via requests for help that I have posted over the years
>(just like the one I'm responding to) that have required me to include my
>config file. Pardom me if I smile at my little contribution to the internet.
>:-) Your ciphers line looks an awful lot like one I posted two ro three
>months ago :-) I hope it helped.

I got it from Dr. Who's Security FAQ (v. 20.6).  It was in the
configuration file for Stunnel that he included with his FAQ.  I just cut
and pasted the whole thing.

>I don't have time to test your problem right now-- maybe in a day or so. One
>thing that pops out at me is the port you are trying to use to connect to
>Panta. I've never seen reference to port 2507.  Maybe I'm wrong, but you
>might want to check that. 

The Panta port reference is for encryption of e-mail.  Currently I'm just
trying to use Stunnel to encrypt my Agent newsreader, so I've commented out
the Panta section.

>Also, since stunnel is complaining that it can't
>resolve 0.0.0.0, I'd guess you are not picking up the domain name or not
>converting the fully qualified domain name to its dotted decimal format
>(hence the 0.0.0.0 for the ip address).

That's my guess, too.  But I'm damned if I can figure out why Stunnel isn't
picking up the domain name.

>Try cleaning up the config file by removing the tor "meet in the middle"
>entries. (You can keep a copy elsewhere). Start with a simple config file
>and build on it after it is know to work. Does this config work with a
>direct (i.e. non socksified connection). Oh, and you are running tor on port
>9050, right? And freecap is configured to connect to it.

Actually Stunnel, and the configuration file I got from Dr. Who, are
working just fine outside of Freecap.  It's only when I try to run Stunnel
from inside Freecap (to socksify it), that I get the server error message.
It's driving me nuts!

I'm running tor on port 9050, and Freecap is configured to connect to port
9050.

>Just as an added note, I don't use freecap, I use the free version of
>sockscap. It does the same thing-- I think you have to work a little harder
>to get it on the internet, but it is there.

I downloaded sockscap, and tried to install it.  The installer fires up,
then vanishes without a trace, and there is no sign of the sockscap program
anywhere.  Another mystery.  I'm trying to install the 32 bit version of
sockscap on Windows XP.

>Hope this helps you. If not post again and I will run some experiments.
>
>In short, you have to run tor. Get the latest version and accept the
>defaults. It will listed on port 9050 and make connections throught the tor
>network.

I've done that.  Seems to work just fine.

>Set up freecap to connect to the SOCKS server which listens on port 9050.
>
>Run freecap and drag stunnel into it. start stunnel and everything should
>work.
>
>I'll bet you are not running tor. Am I right?

Actually Tor was the first thing I set up, and it seems to work just fine.
I can surf anonymously, using Firefox and Privoxy.  In fact, I downloaded
that handy little Tor/Vidalia/Privoxy package from the Tor web site.  All
three programs were already configured to work with each other.  I even
added that cute little "Torbutton" program for Firefox.

I can even drag my Agent Newsreader program into Freecap (to socksify it),
and it seems to work just fine with Tor.  But I would like to use Stunnel
to encrypt the Agent data after it leaves the Tor network, and that's where
I'm running into trouble.  Agent works fine in Freecap, and Stunnel works
fine outside of Freecap.  It's only when I drag Stunnel inside Freecap that
I get the Stunnel server error.

I've checked everything I know how.  I made sure Privoxy was properly
configured with the following line in the Privoxy configuration file:

forward-socks4a/127.0.0.1:9050

I removed everything in the Stunnel configuration file, except for the
following:

[nntps] 
accept = 119 
connect = secure.news.easynews.com:563 
delay = no 

This causes to Stunnel to watch for output from my Agent Newsreader on port
119 (the same port that's listed in the Agent.ini file), and then to
connect to the secure server at Easynews on port 563.  And Stunnel will
boot up just fine in this configuration, provided it's not inside Freehand.
If it's inside freehand, Stunnel gives me the server error.  Actually
Stunnel has worked fine with EVERY configuration file I've ever tried with
it, provided it wasn't being invoked from inside Freecap.  That's where
everything falls apart; when I try to start Stunnel from inside Freecap, in
order to socksify Stunnel.

I've checked the configuration in Freecap.  The server is 127.0.0.1, and
the port is 9050.  I've tried both version 4 and version 5 of socks
protocol, but I keep getting the same Stunnel server error.

I don't know what else to check.  I have to believe it's some ridiculous
little switch, somewhere, but I sure can't seem to find it.  If anybody can
solve my problem, I'd be most grateful!

Pilgrim
Technical Details
Message-ID: <h62h82l8bgdnu0feh61k23adeout17hnun@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!nntp.giganews.com!newsfeed2.easynews.com!easynews.com!easynews!easynews-local!fe03.news.easynews.com.POSTED!not-for-mail
References: <ause82hd37tmbg6h5o4bn0rn147ufg8hfq@4ax.com> <tVUhg.133393$k%3.77@dukeread12>

Show Full Headers
Complete Article Headers
Message-ID: <h62h82l8bgdnu0feh61k23adeout17hnun@4ax.com>
Subject: Re: Question About Stunnel
Date: Thu, 08 Jun 2006 20:36:43 GMT
From: Pilgrim <alanine2002@yahoogroups.com>
References: <ause82hd37tmbg6h5o4bn0rn147ufg8hfq@4ax.com> <tVUhg.133393$k%3.77@dukeread12>
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!nntp.giganews.com!newsfeed2.easynews.com!easynews.com!easynews!easynews-local!fe03.news.easynews.com.POSTED!not-for-mail
Newsgroups: alt.privacy.anon-server
X-Newsreader: Forte Agent 1.92/32.572
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 118
X-Complaints-To: abuse@easynews.com
Organization: EasyNews, UseNet made Easy!
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise
 we will be unable to process your complaint properly.