On Mar 6, 2013, at 11:11 PM, Prashant Jaikumar wrote: > Hello, > > I am seeing an issue where my DTLS server spins in a tight loop when > it receives an application data packet before the DTLS handshake. > I am using the sample code provided at > http://sctp.fh-muenster.de/dtls-samples.html. The server keeps > spinning on DTLSv1_listen(), and fails to processing incoming > ClientHellos. > I am using openssl-1.0.1c.
Hi Prashant, I can confirm that this is a bug. Can you file one using the request tracker at http://www.openssl.org/support/rt.html This way it doesn't get lost and a fix can be tied to it. Thanks a lot. Best regards Michael > > > > Start the DTLS server: > [muranant@muranant ssl_bm]$ ./dtls_udp_discard > > Client: > > Send Application Data pkt: > >>>> p > <Ether dst=00:50:56:BD:76:6B src=00:50:56:BD:17:5D type=IPv4 |<IP > version=4L ihl=5L tos=0x0 len=51 id=0 flags=DF frag=0L ttl=63 > proto=udp src=10.193.78.127 dst=10.193.78.239 options='' |<UDP > sport=42973 dport=23232 len=31 |<Raw > load='\x17\xfe\xfd\x00\x00\x00\x00\x00\x00\x00\x18\x00\n!\x00\x01\x00\x00\x00\x00\x17\x00\x01' > |>>>> > >>>> str(p) > '\x00PV\xbdvk\x00PV\xbd\x17]\x08\x00E\x00\x003\x00\x00@\x00?\x11\x88\xca\n\xc1N\x7f\n\xc1N\xef\xa7\xddZ\xc0\x00\x1f\xfb\x00\x17\xfe\xfd\x00\x00\x00\x00\x00\x00\x00\x18\x00\n!\x00\x01\x00\x00\x00\x00\x17\x00\x01' >>>> sendp(p) > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > Development Mailing List openssl-dev@openssl.org > Automated List Manager majord...@openssl.org > ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org