๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Socks & Stunnel questions

#254912
From: Nomen Nescio
Date: Tue, 06 Mar 2012 07:40
100 lines
4856 bytes
In article <YVZ8OQFT40974.5955092593@reece.net.au>
Kulin <remailer@reece.net.au> wrote:
>
> 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?

Okay, maybe I am missing something, but why are you wanting to run stunnel 
over socks? There is nothing wrong with it when you have a reason, but I 
cannot see that reason in your comments.  I often run it through a socks 
proxy because my purpose is to channel it into tor, which accepts socks 
proxy connections. For me socks (but not sockscap) is used as an adaptor 
between two programs that do not fit together natually, namely, stunnel 
and tor. Socks and stunnel both have many other purposes besides this one, 
but I am assuming that you are talking about it in this context. Otherwise 
correct me.

Also, I do not think stunnel creates a ricochet. Stunnel wraps the data 
stream in a layer of encryption and transmits the enveloped stream over 
the same transport layer as the program would use without it. On the other 
hand, if you need to alter the transport layer in order to bypass a 
restriction or match compatibilites, then you can use socks for doing so.

"SOCKS performs at Layer 5 of the OSI modelย—the session layer (an 
intermediate layer between the presentation layer and the transport 
layer)."  You can think of socks traffic like the HOV lane on a highway, 
which routes traffic off the normal transport stream onto another one, but 
it is not changing the traffic itself as the stunnel program does when it 
encrypts the data but either leaves it on the same transport device or 
also allows it to be channeled through socks.  Does that make sense?























Technical Details
Message-ID: <40f203e6a2c15eda0fd981b65dc7a1ed@dizum.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!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!weretis.net!feeder4.news.weretis.net!news.mixmin.net!news2.arglkargh.de!news.dizum.com!sewer-output!mail2news
References: <YVZ8OQFT40974.5955092593@reece.net.au>

Show Full Headers
Complete Article Headers
Message-ID: <40f203e6a2c15eda0fd981b65dc7a1ed@dizum.com>
Subject: Re: Socks & Stunnel questions
Date: Tue, 06 Mar 2012 07:40:16 +0000
From: Nomen Nescio <nobody@dizum.com>
References: <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!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!weretis.net!feeder4.news.weretis.net!news.mixmin.net!news2.arglkargh.de!news.dizum.com!sewer-output!mail2news
Newsgroups: alt.privacy.anon-server
Mail-To-News-Contact: abuse@dizum.com
Organization: mail2news@dizum.com
Lines: 99
X-Original-Bytes: 4567