🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #70913

SSL substantially slower than SSH (INN 2.4.1)

#70913
From: shaggie76
Date: Wed, 16 Mar 2005 01:06
33 lines
2865 bytes
I've been configuring a news server for our company and I'm putting the
finishing touches on it. After configuring SSL I was very disappointed
by its performance.

Currently we instruct remote users to use an SSH tunnel to access all
of our secured services (mail, news, intranet HTTP, etc). However, SSH
is somewhat cumbersome since it requires people to install a separate
program (we run Windows on our workstations). I was hoping to aleviate
some of this headache by configuring SSL for as many services as
possible (since our all client applications all support it out of the
box). However, now that I've got it running on INN 2.4.1/OpenBSD 3.6
I've noticed that it's substantially slower to connect using SSL
instead of tunneling through SSH.

My ultra-scientific benchmark is Outlook's "Syncronize Account" button.
This runs a series of commands on the server, including a query for
each newsgroup in the view (the per-newsgroup check is redundant
whenever there are no messages to sync, but to be thorough it seems
Outlook likes to do it anyway). My pocketwatch benchmark from a remote
machine puts the SSL technique at about 13 seconds and the SSH tecnique
at about 3 seconds.

Obviously Outlook is doing a very dumb thing. For each group it
connects, starts TLS, switches to the group it wants to check, and then
finishes. Presumably it would be better to persist a connection to
avoid the overhead of starting SSL each time. I think it's relevant,
however, because it says something about how things might scale.

Is the SSL startup cost on connection doomed to be significant or is
there something I can do to tune my system to improve this?

peace
Technical Details
Message-ID: <1110935193.142389.162990@f14g2000cwb.googlegroups.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.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn13feed!worldnet.att.net!199.218.7.141!news.glorb.com!postnews.google.com!f14g2000cwb.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <1110935193.142389.162990@f14g2000cwb.googlegroups.com>
Subject: SSL substantially slower than SSH (INN 2.4.1)
Date: Wed, 16 Mar 2005 01:06:33 +0000
From: shaggie76@hotmail.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.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn13feed!worldnet.att.net!199.218.7.141!news.glorb.com!postnews.google.com!f14g2000cwb.googlegroups.com!not-for-mail
Newsgroups: news.software.nntp
Organization: http://groups.google.com
Lines: 33
NNTP-Posting-Host: 209.167.96.48
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1110935197 5326 127.0.0.1 (16 Mar 2005 01:06:37
 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 16 Mar 2005 01:06:37 +0000 (UTC)
User-Agent: G2/0.2
Complaints-To: groups-abuse@google.com
Injection-Info: f14g2000cwb.googlegroups.com; posting-host=209.167.96.48;
 posting-account=xkSxbQwAAABBpHR6DUzza09KxMuwL-bu