M2Crypto / SimpleXMLRPCServer

Martin Sjögren martin at strakt.com
Mon Jun 24 03:39:41 EDT 2002


On Thu, Jun 20, 2002 at 10:40:24PM +0000, Ben Beuchler wrote:
> In article <slrnah2nmh.p18.insyte-clp at petra.bitstream.net>, Ben Beuchler wrote:
> 
> > It appears that the SSL part, at least, works great.  I'm able to make a
> > connection using xmlrpclib.ServerProxy("https://blah") but the actual
> > remote method call hangs indefinitely.
> > 
> > Is my basic premise flawed?  Or just my implementation?
> 
> FWIW, strace-ing the client and the server indicates that they're both
> blocking on read()ing from the socket.  Of course, since it's all
> encrypted, I have no idea what they're waiting for...
> 
> On a related note, anyone know how to get OpenSSL (specifically via
> M2Crypto) to use a NULL cipher?  Being able to dump the traffic with
> Ethereal or something would be damn spiffy.

I don't know about M2Crypto, but in the C API, you'd do
  SSL_CTX_set_cipher_list(ctx, "eNULL");
and in pyOpenSSL you'd do
  ctx.set_cipher_list("eNULL")

my guess is that it's something similar in M2Crypto.


Regards,
Martin Sjögren

-- 
Martin Sjögren
  martin at strakt.com              ICQ : 41245059
  Phone: +46 (0)31 7710870       Cell: +46 (0)739 169191
  GPG key: http://www.strakt.com/~martin/gpg.html





More information about the Python-list mailing list