Package: httperf
Version: 0.8-1
Severity: important

When trying to stress test my webserver with httperf, I noticed that
requests to test SSL connections causes httperf to error out. Here
are the messages:

~$ httperf --server familiasanchez.net --port 80 --num-conns 15000
--rate 100 --timeout 1 --ssl httperf --timeout=1 --client=0/1
--server=familiasanchez.net --port=80 --uri=/ --rate=100
--send-buffer=4096 --recv-buffer=16384 --ssl --num-conns=15000 --num-calls=1
httperf: failed to connect to SSL server (err=-1, reason=1)
1316:error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version
number:s3_pkt.c:286:

~$ httperf --server familiasanchez.net --port 80 --num-conns 15000
--rate 100 --timeout 1 --ssl --ssl-ciphers=EXP-RC4-MD5:EXP-RC2-CBC-MD5
httperf --timeout=1 --client=0/1 --server=familiasanchez.net --port=80
--uri=/ --rate=100 --send-buffer=4096 --recv-buffer=16384 --ssl
--ssl-ciphers=EXP-RC4-MD5:EXP-RC2-CBC-MD5 --num-conns=15000 --num-calls=1
httperf: failed to connect to SSL server (err=-1, reason=1)
1317:error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version
number:s3_pkt.c:286:

~$ httperf --server familiasanchez.net --port 80 --num-conns 15000
--rate 100 --timeout 1 --ssl --ssl-ciphers=EXP-RC4-MD5:EXP-RC2-CBC-MD5
--ssl-no-reuse
httperf --timeout=1 --client=0/1 --server=familiasanchez.net --port=80
--uri=/ --rate=100 --send-buffer=4096 --recv-buffer=16384 --ssl
--ssl-ciphers=EXP-RC4-MD5:EXP-RC2-CBC-MD5 --ssl-no-reuse
--num-conns=15000 --num-calls=1
httperf: failed to connect to SSL server (err=-1, reason=1)
1318:error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version
number:s3_pkt.c:286:

However, it finds all of the correct shared libs:

~$ ldd /usr/bin/httperf                 libssl.so.0.9.6 =>
/usr/lib/i686/cmov/libssl.so.0.9.6 (0x40028000)
        libcrypto.so.0.9.6 => /usr/lib/i686/cmov/libcrypto.so.0.9.6
(0x40057000)        libm.so.6 => /lib/tls/libm.so.6 (0x40119000)
        libc.so.6 => /lib/tls/libc.so.6 (0x4013b000)
        libdl.so.2 => /lib/tls/libdl.so.2 (0x40270000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

-Roberto

-- 
Roberto C. Sanchez
http://familiasanchez.net/~sanchezr

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to