🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Stunnel questions: basics

#97578
From: s&w
Date: Tue, 28 Oct 2003 04:59
114 lines
5006 bytes
Since I'm in this mainly to learn about the technology (it is fun) I'd like
to comment throughout and elicit any responses where I'm wrong. Not to be
contentious.

On Sun, 26 Oct 2003, IB <IB@hod.aarg.net> wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>
>On Mon, 27 Oct 2003, "privacy.at Anonymous Remailer"
><mixmaster@remailer.privacy.at> wrote:
>>I am sending this through Stunnel now, but *I* don't 
>>realistically think I'm anymore anonymous than with regular 
>>remailer mix chains. A couple questions and correct me if I'm 
>>wrong about some (possibly naive) assumptions:
>>
>>
>>Assumptions:
>> - Having a Stunnel connection can be seen by my ISP.
>
>Correct.

more precisely, that a tls session is extant, because of the starttls
command having been issued. Otherwise, it's only possible to see that an
encrypted session is occurring. And STunnel has no particular signature, so
an ISP cannot know what software you're using.

>
>>
>>Questions:
>>Is the size of my mix message any larger with Stunnel?
>
>No. The message itself is no larger. 

The total bytes to transmit the mix message would be larger, due to padding
in the block cypher.

>There will be slightly more data
>transmitted, 

yes, for the server to send the session key to the client

>but you mix message will remain the same size.
>
>>Can an adversary still see that I am sending two messages per 
>>posted article?
>
>It can probably be guessed from # of bytes sent.

IIRC, QS creates a new socket in turn for each and every msg. JBN sends all
on the same connection. With JBN, you could send cpunk dummies in order to
avoid sending multiples of 29k. But I haven't used dummies yet. I see them
generated, but not sent - so I'm not sure about this part. Can you arrange
for dummy cpunk msgs to the same smtp that you're sending your real msgs?

>
>>Would Stunnel be something like passing a ball through a hose, 
>>where you can see something go through it but can't know what it 
>>is?
>
>Something like that. Data could be seen, but it is encrypted, and useless
>to your adversary.
>
>>   I have created multiple Stunnel connections with different 
>>servers. Is there any kind of general traffic with these 
>>connections? 
>
>No.

and probably won't be, since server-to-server would only want to expend the
resources on encrytion if the 1st server was relaying to the 2nd, and
authentication was involved. Right? (This is apart from remailer use of
encrytped sessions.)

>
>>With Stunnel running, do these connections occur 
>>permanently or only when I actively send something?
>
>Only when you send something. 

i.e., up until the client sends QUIT, the client side breaks the connection
or there is a session timeout. But yes, that normally means something was
sent and now the session is finished.

>
>>When sending a message through Stunnel to the first remailer, 
>>does he in turn send it to another remailer using Stunnel, or 
>>hasn't that occured yet?
>
>Many of the remailers support SSL, the generic name for STunnel. 

STunnel is the name of a piece of software. SSL is encrytpion on the
transport layer, rather than the application layer. TLS is the successor to
SSL (though even the makers of STunnel use SSL as a synonym for TLS.) One
difference bewteen SSL and TLS is that the server sets the key size in TLS,
not the client.

>Those that
>support it use it between themselves.  In other words, if you choose only
>remailers that support SSL for your chain, then each transmission of your
>message between remailers will be through an encrypted connection.
>

Aha! This is where I was very wrongly thinking that the remailer was using
STunnel in server mode. In actuality, TLS is a feature of the remailer's
smtp server software. The client sends EHLO, and the server includes
STARTTLS in its response. If the client sees a STARTTLS response, then the
client sends the STARTTLS command, and the server gives a 2xx reply.







Technical Details
Message-ID: <20031028045935.545F32820E@goofer5.bananasplit.info>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.20140712.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!216.218.192.242!news.he.net!newsfeed1.easynews.com!easynews.com!easynews!cyclone1.gnilink.net!ISPRIME!news.isprime.com!news.bananasplit.info!nym2news-x2!nym2news
References: <0d28e786af115602e090a4d098b7cad2@remailer.privacy.at> <200310270625.h9R6PB7V001011@www.aarg.net>

Show Full Headers
Complete Article Headers
Message-ID: <20031028045935.545F32820E@goofer5.bananasplit.info>
Subject: Re: Stunnel questions: basics
Date: Tue, 28 Oct 2003 04:59:38 +0000
From: s&w@none.none
References: <0d28e786af115602e090a4d098b7cad2@remailer.privacy.at> <200310270625.h9R6PB7V001011@www.aarg.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.20140712.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!216.218.192.242!news.he.net!newsfeed1.easynews.com!easynews.com!easynews!cyclone1.gnilink.net!ISPRIME!news.isprime.com!news.bananasplit.info!nym2news-x2!nym2news
Newsgroups: alt.privacy,alt.privacy.anon-server
Mail-To-News-Contact: abuse@bananasplit.info
Organization: Bananasplit - Mail2News
Lines: 114