Async example of SSL in M2Crypto

Paul Clinch pclinch at internet-glue.co.uk
Mon Mar 29 11:30:09 EST 2004


Has anyone tried the echod-async.py example in m2crypto-0.12/demo/ssl?
I am only connecting one client, the echo.py example in the same directory.
Although the synchronous and threading examples work ok, the async server
goes into an infinite loop:-

LOOP: SSL accept: before/accept initialization
LOOP: SSL accept: SSLv3 read client hello A
LOOP: SSL accept: SSLv3 write server hello A
LOOP: SSL accept: SSLv3 write certificate A
LOOP: SSL accept: SSLv3 write key exchange A
LOOP: SSL accept: SSLv3 write certificate request A
LOOP: SSL accept: SSLv3 flush data
LOOP: SSL accept: SSLv3 read client certificate A
LOOP: SSL accept: SSLv3 read client key exchange A
LOOP: SSL accept: SSLv3 read certificate verify A
LOOP: SSL accept: SSLv3 read finished A
LOOP: SSL accept: SSLv3 write change cipher spec A
LOOP: SSL accept: SSLv3 write finished A
LOOP: SSL accept: SSLv3 flush data
INFO: SSL accept: SSL negotiation finished successfully
LOOP: SSL accept: before/accept initialization
INFO: SSL accept: SSLv3 read client hello B
INFO: SSL accept: SSLv3 read client hello B
INFO: SSL accept: SSLv3 read client hello B
etc...

I'm runnung on a newish linux, kernel 2.4.21. Both python2.1 and python2.3
display the same result. 

Regards, Paul Clinch




More information about the Python-list mailing list