[WebPolygraph] s3_pkt.c:297: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number

From: 代伟 <wei.dai_at_263.net>
Date: Fri, 18 Jul 2008 18:02:19 +0800
Hello all,

I use web polygraph to generate HTTPS traffic. I study the guide http://www.web-polygraph.org/docs/reference/models/ssl.html. And make two pg file, please refer to the attachment.

Now I send the HTTPS traffic from poly client to poly server directly. I met some error. I need your help and thanks in advance.

Client Side:
000.01| fyi: PGL configuration stored (860bytes)
000.01| fyi: no bench selected with use()
000.01| fyi: SSL library initialized and seeded
000.01| created 5 agents total
000.01| Robot PolyMix-4-rbt [1 / 121f16b8.36a3374f:00000006] at 10.10.1.2 SSL
000.01| Robot PolyMix-4-rbt [2 / 121f16b8.36a3374f:0000000a] at 10.10.1.2 SSL
000.01| Robot PolyMix-4-rbt [3 / 121f16b8.36a3374f:0000000c] at 10.10.1.2 SSL
000.01| Robot PolyMix-4-rbt [4 / 121f16b8.36a3374f:0000000e] at 10.10.1.2 SSL
000.01| Robot PolyMix-4-rbt [5 / 121f16b8.36a3374f:00000010] at 10.10.1.2 SSL
000.01| fyi: current state (1) stored
000.01| fyi: max local population size: 5 robots
000.01| fyi: reached max local population size: 5 robots
1216372999.849566# obj: http://10.10.1.1:9999/w121f16b8.36a3374f:0000000c/t01/_00000001 flags: basic,GET, size: 0/-1 xact: 121f16b8.36a3374f:00000012
GET /w121f16b8.36a3374f:0000000c/t01/_00000001 HTTP/1.1
Accept: */*
Host: 10.10.1.1:9999
X-Xact: 121f16b8.36a3374f:00000002 121f16b8.36a3374f:00000012
X-Loc-World: 121f16b8.36a3374f:00000008 -1/0 0
X-Rem-World: 121f16b8.36a3374f:00000008 -1/0 0
X-Target: 10.10.1.1:9999
X-Abort: 1412400744 2082554117
X-Phase-Sync-Pos: 0
Connection: close


000.02| Connection.cc:492: error: 1/1 (s104) Connection reset by peer
000.02| error: raw read failed
000.02| connection between 10.10.1.2:18635 and 10.10.1.1:9999 failed at 1 reads, 1 writes, and 1 xacts
000.04| Connection.cc:492: error: 2/2 (s104) Connection reset by peer
000.04| error: raw read failed
000.04| connection between 10.10.1.2:18636 and 10.10.1.1:9999 failed at 1 reads, 1 writes, and 1 xacts
000.06| Connection.cc:492: error: 4/4 (s104) Connection reset by peer
000.06| error: raw read failed
000.06| connection between 10.10.1.2:18638 and 10.10.1.1:9999 failed at 1 reads, 1 writes, and 1 xacts
000.07| Connection.cc:492: error: 8/8 (s104) Connection reset by peer
000.07| error: raw read failed
000.07| connection between 10.10.1.2:18642 and 10.10.1.1:9999 failed at 1 reads, 1 writes, and 1 xacts
000.10| i-dflt 0 3.00 -1 -1.00 15 0
000.10| Connection.cc:492: error: 16/16 (s104) Connection reset by peer
000.10| error: raw read failed
000.10| connection between 10.10.1.2:18650 and 10.10.1.1:9999 failed at 1 reads, 1 writes, and 1 xacts
000.18| i-dflt 0 1.60 -1 -1.00 8 0
000.23| Connection.cc:492: error: 32/32 (s104) Connection reset by peer
000.23| error: raw read failed
000.23| connection between 10.10.1.2:18666 and 10.10.1.1:9999 failed at 1 reads, 1 writes, and 1 xacts
000.26| i-dflt 0 2.40 -1 -1.00 12 0
000.35| i-dflt 0 2.40 -1 -1.00 12 0
000.43| i-dflt 0 2.80 -1 -1.00 14 0
000.46| Connection.cc:492: error: 64/64 (s104) Connection reset by peer


Server Side:
000.01| fyi: PGL configuration stored (651bytes)
000.01| fyi: no bench selected with use()
000.01| fyi: SSL library initialized and seeded
000.01| executing: openssl req -newkey rsa:1024 -sha1 -nodes -config myssl.conf -keyout /tmp/poly-7442d4aa-serverkey.pem -out /tmp/poly-7442d4aa-serverreq.pem
Generating a 1024 bit RSA private key
..........................++++++
....................++++++
writing new private key to '/tmp/poly-7442d4aa-serverkey.pem'
-----
000.01| executing: openssl x509 -req -in /tmp/poly-7442d4aa-serverreq.pem -sha1 -extensions usr_cert -CA /tmp/s.pem -CAkey /tmp/s.pem -CAcreateserial -CAserial /tmp/poly-bac78a95-cert.srl -out /tmp/poly-bac78a95-servercert.pem
Signature ok
subject=/C=US/ST=Colorado/L=Boulder/O=Measurement Factory, Inc/OU=Testing/CN=www.measurement-factory.com/emailAddress=info@measurement-factory.com
Getting CA Private Key
000.01| executing: cat /tmp/poly-bac78a95-servercert.pem /tmp/poly-7442d4aa-serverkey.pem /tmp/s.pem > /tmp/poly-41d38c3d-serverchain.pem
000.01| created 1 agents total
000.01| Server PolyMix-4-srv [1 / 121f16b4.15f859d0:00000006] at 10.10.1.1:9999 HTTP/1.1 SSL
000.01| fyi: current state (1) stored
000.01| starting 1 HTTP agents...
000.08| error: SSL read failure with err=-1/SSL_ERROR_SSL/0
000.08| SSL error stack:
s3_pkt.c:297: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number

000.08| connection between and 10.10.1.2:18635 failed at 1 reads, 0 writes, and 0 xacts
000.10| i-dflt 0 0.00 -1 -1.00 0 1 all
000.10| i-dflt 0 0.00 -1 -1.00 0 0 https
000.10| error: SSL read failure with err=-1/SSL_ERROR_SSL/0
000.10| SSL error stack:
s3_pkt.c:297: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number

000.10| connection between and 10.10.1.2:18636 failed at 1 reads, 0 writes, and 0 xacts
000.11| error: SSL read failure with err=-1/SSL_ERROR_SSL/0
000.11| SSL error stack:
s3_pkt.c:297: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number

000.11| connection between and 10.10.1.2:18637 failed at 1 reads, 0 writes, and 0 xacts
000.12| error: SSL read failure with err=-1/SSL_ERROR_SSL/0
000.12| SSL error stack:
s3_pkt.c:297: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number

000.12| connection between and 10.10.1.2:18638 failed at 1 reads, 0 writes, and 0 xacts
000.13| error: SSL read failure with err=-1/SSL_ERROR_SSL/0
000.13| SSL error stack:
s3_pkt.c:297: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number

BR
Dai Wei






=======================263电子邮件-邮件运营专家=======================

_______________________________________________
Users mailing list
Users_at_web-polygraph.org
http://www.web-polygraph.org/mailman/listinfo/users

  • application/octet-stream attachment: client.pg
  • application/octet-stream attachment: server.pg
Received on Fri Jul 18 2008 - 12:14:29 MDT

This archive was generated by hypermail 2.2.0 : Sat Jul 19 2008 - 12:00:09 MDT