mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-22 01:50:16 +00:00
upstream: Enable all supported ciphers and macs in the server
before trying to benchmark them. Increase the data file size to get more signal. OpenBSD-Regress-ID: dc3697d9f7defdfc51c608782c8e750128e46eb6
This commit is contained in:
parent
15b7199a1f
commit
968e508967
@ -3,6 +3,16 @@
|
||||
|
||||
tid="cipher speed"
|
||||
|
||||
# Enable all supported ciphers and macs.
|
||||
ciphers=`${SSH} -Q Ciphers | tr '\n' , | sed 's/,$//'`
|
||||
macs=`${SSH} -Q MACs | tr '\n' , | sed 's/,$//'`
|
||||
cat >>$OBJ/sshd_proxy <<EOD
|
||||
Ciphers $ciphers
|
||||
MACs $macs
|
||||
EOD
|
||||
|
||||
increase_datafile_size 10000 # 10MB
|
||||
|
||||
getbytes ()
|
||||
{
|
||||
sed -n -e '/transferred/s/.*secs (\(.* bytes.sec\).*/\1/p' \
|
||||
|
Loading…
Reference in New Issue
Block a user