[stunnel-users] Stunnel on the same machine

subrata at indiatimes.com subrata at indiatimes.com
Fri Oct 5 18:47:05 CEST 2007


After starting stunnel and connecting the mysql client/usr/local/mysql/bin/mysql -h 127.0.0.1 -u root -p   the flow gets stuck at the Enter password prompt any suggestions how to proceed from there.

Subrata 

----- Original Message -----
From: Peter Pentchev <roam at ringlet.net>
To: Luis Rodrigo Gallardo Cruz <rodrigo at nul-unu.com>
Cc: stunnel-users at mirt.net
Sent: Fri, 5 Oct 2007 16:48:10 +0530 (IST)
Subject: Re: [stunnel-users] Stunnel on the same machine

On Thu, Oct 04, 2007 at 12:51:53PM -0500, Luis Rodrigo Gallardo Cruz wrote:
> On Thu, Oct 04, 2007 at 06:54:52PM +0530, subrata at indiatimes.com wrote:
> > Hi
> > 
> > I want to configure to encrypt mysql both client and server on the same machine. Ie the 
> > /usr/local/mysql/bin/mysql -u root -p on the same machine where my mysql daemon is located.
> > 
> > How to achieve this.
> 
> It's a pointless thing to do. Anyone who could listen in to the
> conversation between the client and daemon can listen to the
> conversation between client and stunnel.

Absolutely correct.

Speaking of MySQL, the recent versions actually have the ability to
encrypt the connection - on the MySQL level, by passing the appropriate
options to the mysql_connect() function or its equivalent, in the language
API used.  That is, you can tell the MySQL client to open an encrypted
connection to the server, at which point all the traffic is encrypted,
there is no weak link -- well, except for the possibility of someone
actually tracing the client program, instruction by instruction, examining
its memory space and so on, but I think this is where most people can
safely draw the line of paranoia vs. usability :)

G'luck,
Peter

-- 
Peter Pentchev	roam at ringlet.net    roam at cnsys.bg    roam at FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
I am not the subject of this sentence.


--
My life has changed. What about yours?
Log on to the new Indiatimes Mail and Live out of the Inbox!


More information about the stunnel-users mailing list