[Gluster-devel] [PATCH BUG:2999 1/1] Add SSL and multi-threading to socket transport.

Emmanuel Dreyfus manu at netbsd.org
Thu Jul 7 14:31:13 UTC 2011


On Mon, Jun 13, 2011 at 03:49:53PM -0400, Jeff Darcy wrote:
>  rpc/rpc-transport/socket/src/socket.c |  596
> +++++++++++++++++++++++++++++----
>  rpc/rpc-transport/socket/src/socket.h |   15 +
>  2 files changed, 538 insertions(+), 73 deletions(-)

Hi

I am giving a try to your patch but without much success. The client says:
[2011-07-07 15:45:42.696323] D [socket.c:166:ssl_setup_connection] 
	0-ssl_setup_connection: verify_result = 0 (0)
[2011-07-07 15:45:42.696437] E [socket.c:2365:socket_connect] 
	0-gfs1-client-0: client setup failed

The server just reports that SSL is enabled and logs nothing else.a
tcpdump shows a TCP connexion but no SSL handshake (no certificate is sent)

Any idea of what is wrong? 

Beside this problem, I think your patch lacks a way to tell mount.glusterfs
where the cert/key/ca are. 

-- 
Emmanuel Dreyfus
manu at netbsd.org




More information about the Gluster-devel mailing list