Hi, Using OpenSSL 1.0.1h 5 Jun 2014, the options -www, -WWW and --HTTP of s_server seem to be incompatible with DTLS.
More precisely, the following (with a suitable server.pem file in the current directory) fails: openssl s_server -dtls1 -www & openssl s_client -dtls1 The server shows many connection attempts but none that succeeds. Adding -debug, and skipping actual packet dumps for clarity, the server output looks like: ACCEPT read from 0x201bf20 [0x2020423] (17741 bytes => 166 (0xA6)) write to 0x201bf20 [0x202f3c0] (79 bytes => -1 (0xFFFFFFFFFFFFFFFF)) ACCEPT read from 0x202d740 [0x2020423] (17741 bytes => 166 (0xA6)) write to 0x202d740 [0x202e910] (79 bytes => -1 (0xFFFFFFFFFFFFFFFF)) ACCEPT read from 0x202d740 [0x2020423] (17741 bytes => 166 (0xA6)) write to 0x202d740 [0x202e910] (79 bytes => -1 (0xFFFFFFFFFFFFFFFF)) with the last three lines repeated exactly as the client retries. Removing -www is enough to make the handshake succeed. The same issue happens with -WWW and -HTTP. Manuel. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [email protected]
