DTLS works fine in OpenSsl when you use socket interface. Look at the s_client and s_server program under apps/ directory. It has code to run the DTLS. You could base your implementation on that.
- Prashant.
Manuel Schölling <[EMAIL PROTECTED]> wrote:
Manuel Schölling <[EMAIL PROTECTED]> wrote:
Hi everybody,
I'm going to write a peer2peer-vpn linux client.
I wanna use OpenSSL's DTLS for transfering the data from one client to
an other.
Here is my problem:
When I send data with SSL_write just one udp packet (size: 119) is sent
and the server does not react on this.
Both (SSL_write client side and SSL_read server side) are blocking.
I think that the server should send a packet back to the client but it
doesn't (BUT the server's udp socket does recieve the packet - there
must be something wrong with OpenSSL)
If you want to see my source code check this link.
http://rapidshare.de/files/5470628/dtls.tar.gz.html
you can run the client with
./program_name localhost:server_port
and the server with
./program_name localhost:server_port -a
Hope you can help me. I'm working on this problem for about two weeks...
cheers
Manuel
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager [EMAIL PROTECTED]
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com