🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #76161

Re: SSL support in INN 2.5

#76161
From: Julien ÉLIE
Date: Wed, 06 Jun 2007 15:16
33 lines
2977 bytes
En réponse à Julien ÉLIE :
> I stepped through the thunderbird code. The message is net all the way through
> to the final '.' line.  Thunderbird then waits for a response but somehow misses
> the servers response (I also couldn't verify that the server actually sent a
> response).  The next response from the server that is read and parsed is the '500
> Timeout' response that comes minutes later.
> 
> Unfortunately, I do not know how to check that.
> ssldump does not seem to work after the handshake (only lines like:
> 1 220 1.7827 (0.0108)  C>SV3.1(48)  application_data
> 1 221 1.7830 (0.0002)  S>CV3.1(48)  application_data
> 1 222 1.7935 (0.0105)  C>SV3.1(64)  application_data
> 1 223 1.7937 (0.0002)  S>CV3.1(80)  application_data
> appear).
> Perhaps a non-static RSA communication?

Well, that's it.
Thunderbird and INN2 communicate through a cipher 0x37 (DHE-RSA-AES256-SHA),
which means that neither ssldump nor Wireshark can decipher the communication...
Indeed, an Ephemeral Diffie Hellman is used and provides Perfect Forward Secrecy
to the established TLS connection.  The server key is only used to sign the DH
parameters during the Server Key Exchange.

I see in « tls.c » that the DH parameters are hardcoded but obviously the
DH keys are... ephemeral!
So I believe the easiest thing to do is to log somewhere the buffers used
in SSL_read() and SSL_write() and then see what happens.  I shall try.

-- 
Julien ÉLIE

« -- Que lui est-il arrivé ? Un choc moral ?
  -- Oui, avec un menhir. » (Astérix)
Technical Details
Message-ID: <f46j3l$vmt$4@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!tiscali!newsfeed1.ip.tiscali.net!proxad.net!feeder1-2.proxad.net!feed.ac-versailles.fr!talisker.lacave.net!lacave.net!news.trigofacile.com!not-for-mail
References: <f0g32k$83v$1@guepard.ecp.fr> <f1dptn05nb@news5.newsguy.com> <f1fdge$62j$1@news.trigofacile.com> <f1gdt902mqc@news2.newsguy.com> <f1igj3$5nu$1@news.trigofacile.com> <f3und8$1e9$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <f46j3l$vmt$4@news.trigofacile.com>
Subject: Re: SSL support in INN 2.5
Date: Wed, 06 Jun 2007 17:16:05 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <f0g32k$83v$1@guepard.ecp.fr> <f1dptn05nb@news5.newsguy.com> <f1fdge$62j$1@news.trigofacile.com> <f1gdt902mqc@news2.newsguy.com> <f1igj3$5nu$1@news.trigofacile.com> <f3und8$1e9$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!tiscali!newsfeed1.ip.tiscali.net!proxad.net!feeder1-2.proxad.net!feed.ac-versailles.fr!talisker.lacave.net!lacave.net!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: Gens Iulia -- http://www.trigofacile.com/
Lines: 33
NNTP-Posting-Host: goret.via.ecp.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1181142965 32477 138.195.145.22 (6 Jun 2007
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Wed, 6 Jun 2007 15:16:05 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.0 (Windows/20070326)
In-Reply-To: <f3und8$1e9$1@news.trigofacile.com>