Hi all,

After giving up my Openssl 0.9.8k, I've installed Openssl 1.0.0c version with 
latest patches for dtls support. All went well. After that, I tried to search 
for some DTLS tests (other than openssl s_server/s_client) and this is what I 
found :

http://sctp.fh-muenster.de/dtls-samples.html

I've compiled the source from 'DTLS Echo Server and Client' and tried to run 
the binary (in my case './dtls_udp_echo'). 

# ./dtls_udp_echo -h
./dtls_udp_echo: invalid option -- 'h'
Usage: dtls_udp_echo [options] [address]
Options:
        -l      message length (Default: 100 Bytes)
        -p      port (Default: 23232)
        -n      number of messages to send (Default: 5)
        -v      verbose
        -V      very verbose

I get some errors.

It's strange for me how comes that, depending on the specified arguments, I get 
two different errors:

I case :

# ./dtls_udp_echo 127.0.0.1
SSL_connect: Connection refused
error:00000000:lib(0):func(0):reason(0)
Unexpected error while writing: 5
error:00000000:lib(0):func(0):reason(0)


II case :

# ./dtls_udp_echo -p 23232 -V 127.0.0.1
SSL_connect: Connection refused
error:00000000:lib(0):func(0):reason(0)

Connected to 127.0.0.1
------------------------------------------------------------
Segmentation fault


Wireshark shows the beginning of dtls negotiation, but it's clear that after 
these errors, it stops.

Does someone know the correct usage of this sample? I'm out of ideas!

Thank you in advance!

Sebastian



      
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to