diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh index f5949bf52..38bbd0635 100755 --- a/tests/ssl-opt.sh +++ b/tests/ssl-opt.sh @@ -2317,8 +2317,8 @@ run_test "DTLS proxy: 3d, min handshake, client-initiated renegotiation" \ -s "Extra-header:" \ -c "HTTP/1.0 200 OK" -needs_more_time 2 -run_test "DTLS proxy: 3d, max handshake, openssl server" \ +needs_more_time 3 +run_test "DTLS proxy: 3d, openssl server" \ -p "$P_PXY drop=5 delay=5 duplicate=5 protect_hvr=1" \ "$O_SRV -dtls1 -mtu 2048" \ "$P_CLI dtls=1" \ @@ -2326,6 +2326,33 @@ run_test "DTLS proxy: 3d, max handshake, openssl server" \ -s "Extra-header:" \ -c "HTTP/1.0 200 OK" +needs_more_time 4 +run_test "DTLS proxy: 3d, openssl server, fragmentation" \ + -p "$P_PXY drop=5 delay=5 duplicate=5 protect_hvr=1" \ + "$O_SRV -dtls1 -mtu 768" \ + "$P_CLI dtls=1" \ + 0 \ + -s "Extra-header:" \ + -c "HTTP/1.0 200 OK" + +needs_more_time 3 +run_test "DTLS proxy: 3d, gnutls server" \ + -p "$P_PXY drop=5 delay=5 duplicate=5" \ + "$G_SRV -u --mtu 2048 -a" \ + "$P_CLI dtls=1" \ + 0 \ + -s "Extra-header:" \ + -c "Extra-header:" + +needs_more_time 4 +run_test "DTLS proxy: 3d, gnutls server, fragmentation" \ + -p "$P_PXY drop=5 delay=5 duplicate=5" \ + "$G_SRV -u --mtu 512" \ + "$P_CLI dtls=1" \ + 0 \ + -s "Extra-header:" \ + -c "Extra-header:" + # Final report echo "------------------------------------------------------------------------"