mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
[Bug 220380] Add SSL client auth stress tests.
Attachment "auth patch"(#222740). r=nelson
This commit is contained in:
parent
20f6c03a18
commit
72df55c274
@ -328,13 +328,17 @@ ssl_stress()
|
||||
|
||||
while read ectype value sparam cparam testname
|
||||
do
|
||||
if [ -z "$ectype" ]; then
|
||||
# silently ignore blank lines
|
||||
continue
|
||||
fi
|
||||
p=`echo "$testname" | sed -e "s/Stress //" -e "s/ .*//"` #sonmi, only run extended test on SSL3 and TLS
|
||||
if [ "$p" = "SSL2" -a "$NORM_EXT" = "Extended Test" ] ; then
|
||||
echo "$SCRIPTNAME: skipping $testname for $NORM_EXT"
|
||||
elif [ "$ectype" = "ECC" -a -z "$NSS_ENABLE_ECC" ] ; then
|
||||
echo "$SCRIPTNAME: skipping $testname (ECC only)"
|
||||
elif [ "$ectype" != "#" ]; then
|
||||
cparam=`echo $cparam | sed -e 's;_; ;g'`
|
||||
cparam=`echo $cparam | sed -e 's;_; ;g' -e "s/TestUser/$USER_NICKNAME/g" `
|
||||
start_selfserv
|
||||
if [ "`uname -n`" = "sjsu" ] ; then
|
||||
echo "debugging disapering selfserv... ps -ef | grep selfserv"
|
||||
|
@ -5,22 +5,36 @@
|
||||
# Enable return server client Test Case name
|
||||
# ECC value params params
|
||||
# ------- ------ ------ ------ ---------------
|
||||
noECC 0 _ -c_1000_-C_A Stress SSL2 RC4 128 with MD5
|
||||
noECC 0 _ -c_1000_-C_c_-T Stress SSL3 RC4 128 with MD5
|
||||
noECC 0 _ -c_1000_-C_c Stress TLS RC4 128 with MD5
|
||||
noECC 0 _ -c_1000_-C_A Stress SSL2 RC4 128 with MD5
|
||||
noECC 0 _ -c_1000_-C_c_-T Stress SSL3 RC4 128 with MD5
|
||||
noECC 0 _ -c_1000_-C_c Stress TLS RC4 128 with MD5
|
||||
|
||||
#
|
||||
# add client auth versions here...
|
||||
#
|
||||
# noECC 0 -r -w_bogus_-n_"Test_User" TLS Request don't require client auth (bad password)
|
||||
noECC 0 -r_-r -c_100_-C_A_-N_-n_TestUser Stress SSL2 RC4 128 with MD5 (client auth)
|
||||
noECC 0 -r_-r -c_100_-C_c_-T_-N_-n_TestUser Stress SSL3 RC4 128 with MD5 (client auth)
|
||||
noECC 0 -r_-r -c_100_-C_c_-N_-n_TestUser Stress TLS RC4 128 with MD5 (client auth)
|
||||
|
||||
#
|
||||
# ############################ ECC ciphers ############################
|
||||
#
|
||||
ECC 0 -c_:C009 -c_100_-C_:C009_-N_-T Stress SSL3 ECDHE-ECDSA AES 128 CBC with SHA (no reuse)
|
||||
ECC 0 -c_:C013 -c_1000_-C_:C013_-T Stress SSL3 ECDHE-RSA AES 128 CBC with SHA
|
||||
ECC 0 -c_:C004 -2_-c_100_-C_:C004_-N Stress TLS ECDH-ECDSA AES 128 CBC with SHA (no reuse)
|
||||
#
|
||||
# following line commented to woraround bug 332222
|
||||
#
|
||||
# ECC 0 -c_:C00E -2_-c_100_-C_:C00E_-N Stress TLS ECDH-RSA AES 128 CBC with SHA (no reuse)
|
||||
ECC 0 -c_:C013 -2_-c_1000_-C_:C013 Stress TLS ECDHE-RSA AES 128 CBC with SHA
|
||||
#
|
||||
# add client auth versions here...
|
||||
#
|
||||
# ECC 0 -r -w_bogus_-n_"Test_User-ec" TLS Request don't require client auth (bad password)
|
||||
ECC 0 -r_-r_-c_:C009 -c_10_-C_:C009_-N_-T_-n_TestUser-ec Stress SSL3 ECDHE-ECDSA AES 128 CBC with SHA (no reuse, client auth)
|
||||
ECC 0 -r_-r_-c_:C013 -c_100_-C_:C013_-T_-n_TestUser-ec Stress SSL3 ECDHE-RSA AES 128 CBC with SHA (client auth)
|
||||
ECC 0 -r_-r_-c_:C004 -c_10_-C_:C004_-N_-n_TestUser-ec Stress TLS ECDH-ECDSA AES 128 CBC with SHA (no reuse, client auth)
|
||||
#
|
||||
# following line commented to woraround bug 332222
|
||||
#
|
||||
# ECC 0 -r_-r_-c_:C00E -c_10_-C_:C00E_-N_-n_TestUser-ec Stress TLS ECDH-RSA AES 128 CBC with SHA (no reuse, client auth)
|
||||
ECC 0 -r_-r_-c_:C013 -c_100_-C_:C013_-n_TestUser-ec Stress TLS ECDHE-RSA AES 128 CBC with SHA(client auth)
|
||||
|
Loading…
Reference in New Issue
Block a user