🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Socks & Stunnel questions

#254908
From: Kulin
Date: Tue, 06 Mar 2012 06:17
53 lines
3241 bytes
I stumbled across a discussion where the use of socks and 
Stunnel was being discussed using Sockscap (Permeo client).  It 
was more of a non-working issue than what I will present here.  
It turned into a curiosity venture to try and duplicate the 
problem in the discussion, which failed as outlined below - 
because it worked.  But not the way I initially expected as I 
stepped through it.

Maybe I'm not seeing the big picture here, but isn't running 
Stunnel with or without Sockscap pretty much the same thing?

I do use Stunnel to connect to a couple of news servers, and 
played around with socks using Sockscap for a little bit in the 
past.  I'd never considered running stunnel as a socks app 
before.  So I figured what the heck?  I'd try running Stunnel as 
a socks app on Sockscap and see what it did.

It worked.  The same.  Either way, with or without the Sockscap. 
 Looking at the Stunnel log entries, they were the same for a 
non-socks connection as they were for the socks app Stunnel 
session using Sockscap.

In both instances, Stunnel bound to the internal 127.0.0.1 
loopback address and terminated at the correct Stunnel 
destinations.  Any attempt to connect to news servers or mail 
servers succeeded.  Performance seemed much the same regardless 
of the socks server chosen in the socks client.  Maybe a bit 
slower on one or two.

I guess my question would be, does it really matter if Stunnel 
is run as a socks app, since Stunnel configured connections 
ricochet off the loopback address first on the way out, instead 
of going directly out the interface to the socks server?

Running a socks app news reader or browser for example, is 
different than Stunnel, as they go directly out through the 
socks server as opposed to the ricochet.

I'm thinking any outbound Stunnel ricochet is going to exit 
normally without being forwarded to a socks server via socks 
client because of the Stunnel configuration.

In other words, the Stunnel traffic never goes to the socks 
server because it doesn't have to.  That being the case, all 
socks app Stunnel connections would appear to originate from the 
same local exit IP address and not via the socks server, even if 
Stunnel was started as a socks app.

Thoughts?



Technical Details
Message-ID: <YVZ8OQFT40974.5955092593@reece.net.au>
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!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!tioat.net!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <YVZ8OQFT40974.5955092593@reece.net.au>
Subject: Socks & Stunnel questions
Date: Tue, 06 Mar 2012 06:17:32 +0000
From: Kulin <remailer@reece.net.au>
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!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!tioat.net!not-for-mail
Newsgroups: alt.privacy.anon-server
Lines: 53
Injection-Date: Tue, 6 Mar 2012 06:20:09 +0000 (UTC)
Injection-Info: tioat.net; posting-host="Mail2News Gateway";
 mail-complaints-to="news_AT_tioat_DOT_net"
X-Remailer-Contact: abuse@reece.net.au (English Only Please)
X-Latency: 2 minutes 37 seconds
X-Original-Bytes: 2921