Hi,
I don't know how to exactly describe my problem, but I will try my best with
the help of a packet trace.
Below is a trace of an SSL session. As seen from this, when the handshake is
complete, and i send an applicaion data of 128 bytes, why do i get
two record layer packet, instead of just one.
In other wiords, I know how the 152 bytes packet comes, but I have no idea
as to why the client sends an additional 24 byte record layer packet.
Any help is appreciated.
Shashank
New TCP connection #1: mia.ece.uic.edu(59608) <-> zidler.ece.uic.edu(7171)
1 1 0.0034 (0.0034) C>SV3.0(95) Handshake
ClientHello
Version 3.0
random[32]=
3f 1c 24 26 69 11 f3 d7 be d8 7d 9b 50 67 ac e5
40 3e ad 32 45 52 51 af 65 6c a5 f6 c1 25 77 9e
cipher suites
Unknown value 0x39
Unknown value 0x38
Unknown value 0x35
SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA
SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA
SSL_RSA_WITH_3DES_EDE_CBC_SHA
--SNIP--
1 2 0.0076 (0.0042) S>CV3.0(74) Handshake
ServerHello
Version 3.0
random[32]=
3f 1c 24 38 00 f8 4b 91 02 b3 73 c3 b6 90 3e cf
session_id[32]=
8a 16 72 c3 14 80 0b 89 6d 7e bc a7 be 67 8d a9
...
cipherSuite SSL_RSA_WITH_3DES_EDE_CBC_SHA
compressionMethod NULL
1 3 0.0077 (0.0000) S>CV3.0(1821) Handshake
Certificate
1 4 0.0077 (0.0000) S>CV3.0(13) Handshake
CertificateRequest
certificate_types rsa_sign
certificate_types dss_sign
ServerHelloDone
1 5 0.0242 (0.0164) C>SV3.0(1818) Handshake
Certificate
1 6 0.0242 (0.0000) C>SV3.0(132) Handshake
ClientKeyExchange
EncryptedPreMasterSecret[128]=
65 c7 82 a3 73 c0 a0 a4 9a 42 f3 a3 97 f6 d7 ef ...
1 7 0.0242 (0.0000) C>SV3.0(134) Handshake
CertificateVerify
Signature[128]=
32 70 d4 70 0b c6 da 40 04 2b 58 a8 43 23 18 57.. 4a
1 8 0.0242 (0.0000) C>SV3.0(1) ChangeCipherSpec
1 9 0.0242 (0.0000) C>SV3.0(64) Handshake
1 10 0.0598 (0.0355) S>CV3.0(1) ChangeCipherSpec
1 11 0.0598 (0.0000) S>CV3.0(64) Handshake
--SNIP--
1 12 24.8474 (24.7875) C>SV3.0(24) application_data
1 13 24.8474 (0.0000) C>SV3.0(152) application_data
1 14 25.8489 (1.0014) C>SV3.0(24) application_data
1 15 25.8489 (0.0000) C>SV3.0(152) application_data
1 16 26.8589 (1.0100) C>SV3.0(24) application_data
1 17 26.8589 (0.0000) C>SV3.0(152) application_data
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]