Hi Marius,

you could try using the extension/supplemental data. The main problem I
can see is that you can send the puzzle within the serverhello, but you
will receive the answer immediately after the server_done and it can not
be processed before the handshake is finished.

The nice part of the whole stuff is that if you manage to make your
stuff within these limits, it won't break any rfc and that most of the
code is ready.

Check out this to learn about extensions and supplemental data in
openssl.

http://tlsext-general.blogspot.com/

Regards.

-  
Davide


On Mon, 2009-01-19 at 15:57 -0800, nhack wrote:
> Hy,
> 
> I'm making an research regarding client puzzles protocol, and I want to test
> my theoretical results using OpenSSL, for that I need to send a puzzle from
> Server to Client ant to receive an answer to that puzzle from the Client. To
> accomplish this I need the puzzle to be sent and the answer to be received
> before the SERVER_DONE state on the server during the handshake. My problem
> is that I don't know how to send that puzzle from the Server and to receive
> it on the Client. I think that is has something to do with the ssl3_do_write
> and the ssl_get_messege functions. Can anyone send me an example of how can
> I send some data and receive that data during the handshake?
> 
> Thank You!
> 
> Marius

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to