🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Runaway with TLS/SSL Connection

#211022
From: Runaway Remailer Admin
Date: Tue, 03 Oct 2006 21:51
96 lines
4443 bytes
"Anonymous" <anon@comments.header> schrieb im Newsbeitrag 
news:8UT1LFBS38993.7234027778@twistycreek.com...
> On Tue, 3 Oct 2006, Zax <admin@bananasplit.info> wrote:
>
>>I can't query your TLS service on any ports:
>
> Hi, Zax. Pardon if you already know all of this, I'll just put it all in
> the archives.
>
> You can't use STARTTLS in this situation. (You could with the way that
> Mercury responded, but not for stunnel. When Mercury is configured for 
> SSL,
> it accepts a normal TCP connection and then allows for a switch to
> encryption if and when it receives the STARTTLS command. When stunnel 
> opens
> a secure server socket, it doesn't listen for STARTTLS.)
>
> But running--> openssl s_client -connect runaway.dynalias.org:587
> will work fine.
>
>>
>>openssl s_client -starttls smtp -connect runaway.dynalias.org:25
>>CONNECTED(00000003)
>>22903:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown
>>protocol:s23_clnt.c:567:
>
> I believe that the above is telling you that you had a plain connection to
> Mercury, that stunnel issued EHLO and did not see STARTTLS in Mercury's
> reply (in Runaway's setup).
>
>>
>>openssl s_client -starttls smtp -connect runaway.dynalias.org:587
>>CONNECTED(00000003)
>>read:errno=32
>
> above, you tried a plain connection to a secure listener. The handshake
> will never be arrived at (because openssl isn't trying that yet), and
> eventually you time out.
>
>>
>>openssl s_client -starttls smtp -connect runaway.dynalias.org:2525
>>CONNECTED(00000003)
>>22440:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown
>>protocol:s23_clnt.c:567:
>>
>
> same as for port 25
>
> [more below]
>
>>
>>> ; Authentication stuff
>>> ;verify = 2
>>> ; Don't forget to c_rehash CApath
>>> ;CApath = certs
>>> ; It's often easier to use CAfile
>>> ;CAfile = certs.pem
>>
>>This might be causing problems.  I've never used stunnel server-side
>>but I expect you will need a CA file (or path).
>
> well no. First off, in this SMTP situation, the client doesn't care who 
> the
> server is, it only wants a public key from the cert. In fact, you can use
> stunnel successfully (though not well secured) as server by merely using
> the supplied and _expired_ test cert.
>
> More to the point, though, regarding CAs here: the server stores a file
> with CAs (and chains) that it sends to the client *if* client auth is
> required. The client can then select from its own list of certs to find 
> one
> that is authenticated by one of the server's CAs. IOW, the server can tell
> the client: give me a client cert that is authenticated/signed by one of 
> my
> own chosen Certificate Authorities.
>
>

I think now all alternatives are working

- on port 25 with starttls (Mercury is TLS/SSL enabled ---> STARTTLS); I 
tested with openssl s_client -starttls smtp -connect runaway.dynalias.org:25
- on port 465/587 without starttls (via stunnel); I tested with: openssl 
s_client -connect runaway.dynalias.org:465 and with: openssl 
s_client -connect
   runaway.dynalias.org:587

I testet by myself and it worked. But I would appreciate, if some of the 
experts would re-test ist since I am a newbie with all this TLS/SSL stuff.

Thanks all for your help.

Runaway Admin 

Technical Details
Message-ID: <efum13$l8d$1@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.anon-server.20141023.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news.bananasplit.info!not-for-mail
References: <ef9o1b$17a$1@bananasplit.info> <QBRY47FA38992.8776736111@anonymous.poster> <eftamn$deb$1@bananasplit.info> <eftl7p$mm8$1@bananasplit.info> <8UT1LFBS38993.7234027778@twistycreek.com>

Show Full Headers
Complete Article Headers
Message-ID: <efum13$l8d$1@bananasplit.info>
Subject: Re: Runaway with TLS/SSL Connection
Date: Tue, 3 Oct 2006 23:51:29 +0200
From: "Runaway Remailer Admin" <anonymous@nym.alias.net>
References: <ef9o1b$17a$1@bananasplit.info> <QBRY47FA38992.8776736111@anonymous.poster> <eftamn$deb$1@bananasplit.info> <eftl7p$mm8$1@bananasplit.info> <8UT1LFBS38993.7234027778@twistycreek.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!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news.bananasplit.info!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: Bananasplit
Lines: 96
X-Complaints-To: abuse@bananasplit.info
NNTP-Posting-Date: Tue, 3 Oct 2006 21:51:31 +0000 (UTC)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-RFC2646: Format=Flowed; Original
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MSMail-Priority: Normal