gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] session ticket support


From: Daiki Ueno
Subject: Re: [PATCH] session ticket support
Date: Sat, 25 Jul 2009 20:01:55 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.96 (gnu/linux)

>>>>> In <address@hidden> 
>>>>>   Nikos Mavrogiannopoulos <address@hidden> wrote:
> >> - Have you checked this implementation against others?
> > 
> > Not yet.  I'll check it against OpenSSL this weekend.

>  Do you have any updates on that?

Yes - but there are some issues.  I have tested with modified
gnutls-cli/gnutl-serv capable of session ticket handling.

The combination of OpenSSL s_client and gnutls-serv seems OK, but
gnutls-cli and s_server cannot continue handshake.  I'm now
investigating what is going on.  Anyway, I attach the log files of:

$ openssl s_server -accept 10000 -CAfile x509-ca.pem \
  -key x509-server-key.pem -cert x509-server.pem -msg >& s_server.log

$ gnutls-cli --debug 10 -p 10000 --resume localhost >& gnutls-cli.log

Using default temp DH parameters
Using default temp ECDH parameters
ACCEPT
<<< TLS 1.0 Handshake [length 0072], ClientHello
    01 00 00 6e 03 02 4a 6a e4 35 c2 95 49 86 f0 57
    29 ce 3d 94 2e 1c 08 e4 0b 6a e6 89 42 5f bc ed
    4b bb 4e 74 b3 5e 00 00 28 00 33 00 39 00 16 00
    32 00 38 00 13 00 66 00 90 00 91 00 8f 00 8e 00
    2f 00 35 00 0a 00 05 00 04 00 8c 00 8d 00 8b 00
    8a 01 00 00 1d 00 09 00 03 02 00 01 00 00 00 0e
    00 0c 00 00 09 6c 6f 63 61 6c 68 6f 73 74 00 23
    00 00
>>> TLS 1.0 Handshake [length 0030], ServerHello
    02 00 00 2c 03 01 4a 6a e4 35 ce dd ec bd f6 a0
    67 1e c6 4f d1 93 e8 e4 9a 42 82 02 b6 b5 bf 69
    13 94 7d e3 e9 d5 00 00 33 00 00 04 00 23 00 00
>>> TLS 1.0 Handshake [length 0650], Certificate
    0b 00 06 4c 00 06 49 00 03 53 30 82 03 4f 30 82
    02 39 a0 03 02 01 02 02 04 4a 66 c1 6d 30 0b 06
    09 2a 86 48 86 f7 0d 01 01 05 30 19 31 17 30 15
    06 03 55 04 03 13 0e 47 6e 75 54 4c 53 20 74 65
    73 74 20 43 41 30 1e 17 0d 30 39 30 37 32 32 30
    37 33 36 31 33 5a 17 0d 31 30 30 37 32 32 30 37
    33 36 31 33 5a 30 31 31 1b 30 19 06 03 55 04 0a
    13 12 47 6e 75 54 4c 53 20 74 65 73 74 20 73 65
    72 76 65 72 31 12 30 10 06 03 55 04 03 13 09 6c
    6f 63 61 6c 68 6f 73 74 30 82 01 1f 30 0b 06 09
    2a 86 48 86 f7 0d 01 01 01 03 82 01 0e 00 30 82
    01 09 02 82 01 00 ac c1 73 73 fe 34 c0 50 d6 eb
    c3 21 05 01 51 09 3b e4 36 77 3a e1 dd c9 0f 9d
    cd 63 7e 25 53 66 71 76 7c 61 34 57 1f ca 6d a8
    2b b4 0d 7f 8f d7 fb 5f fd a4 60 8a fa 18 dc 96
    9f b3 7e 53 90 7b e4 55 9a 83 82 eb ee 7f ca e6
    b8 43 ba 6c 23 a2 13 be fb be 18 a6 c5 47 4a 9c
    b1 f9 1d bf dc 8b a9 85 4e 8f 21 d9 4a ef aa 40
    d7 08 32 80 b0 1a a3 0b 6d 0c ef 5d 25 ef d1 24
    17 0c 79 02 e3 25 7d 68 59 95 27 4e 13 43 b1 e2
    1c 78 38 03 f7 9a 1b 2e 1a 1a a4 4b 6e e3 e0 d4
    82 86 47 7a 1c 9c f3 0a b4 16 32 63 6c aa 13 44
    6c 70 8a c3 e4 e8 4f c4 f0 66 cc fa 83 ef 66 78
    e7 7d 52 12 2d 1d 9c 34 23 73 43 1f fb 00 72 d2
    ab 33 ea aa f8 c9 0c 58 a5 bb 5c f1 c7 3c 6c 4f
    09 54 df 90 9a 4e 8d 96 a4 37 13 48 dd fa 60 91
    c3 9c f7 f0 5e 47 8a 5d b3 e8 0b 5b 14 7b 01 a8
    88 68 57 e7 c6 cf 02 03 01 00 01 a3 81 8d 30 81
    8a 30 0c 06 03 55 1d 13 01 01 ff 04 02 30 00 30
    14 06 03 55 1d 11 04 0d 30 0b 82 09 6c 6f 63 61
    6c 68 6f 73 74 30 13 06 03 55 1d 25 04 0c 30 0a
    06 08 2b 06 01 05 05 07 03 01 30 0f 06 03 55 1d
    0f 01 01 ff 04 05 03 03 07 a0 00 30 1d 06 03 55
    1d 0e 04 16 04 14 64 01 db 99 68 e5 9b 78 31 01
    14 f6 9e 22 cd a1 80 7d cb 52 30 1f 06 03 55 1d
    23 04 18 30 16 80 14 16 09 c4 44 a2 e9 36 f3 50
    9e 12 f9 b7 e9 d7 6f 48 12 38 1a 30 0b 06 09 2a
    86 48 86 f7 0d 01 01 05 03 82 01 01 00 24 8e 27
    0e e9 09 4c b8 41 e7 3e 75 17 8e ab b4 88 5c 1a
    cc d1 d1 ff ae fa 42 cd df 29 d5 fa e0 7f 28 5a
    3a 24 c3 a8 f4 f4 aa ad d2 3d 6f 9a 34 be e5 1c
    91 d2 ae 0c d9 f7 77 c7 f4 d9 aa 02 a1 5a 8f ff
    47 fa 14 7f d9 c7 1d 32 89 5f cd be d5 d5 5c 0d
    2f 8b 2d 7b 54 d1 41 5a 2d f8 35 0d e9 a3 6c c8
    bc 6f db 7c 32 92 61 40 3c 11 d0 4e 99 43 d3 a5
    37 7e 7d 44 4e 06 98 26 9d f3 8c 85 25 79 d6 0a
    69 60 85 e5 e8 20 77 b4 46 81 9c 0d c7 ab 41 03
    9f bf 2b 16 39 d8 5f 86 d5 af a4 62 17 60 1a 18
    93 77 8a 73 fb dd 54 d4 c5 b6 45 28 a4 66 95 07
    ef 45 4b 3e a0 8d bd ae fb fb e7 00 11 f1 ba 2d
    36 cc 36 37 dc 2b 96 81 7d b5 a7 7f 25 e2 a9 67
    22 eb 3d f8 7d 3f 4b ce 11 ac f4 15 47 ec 59 06
    a0 b6 44 76 bc c2 3d 76 cd 5c 5e f2 4d ce c8 ec
    b7 10 f1 8f ca 1c 35 19 a5 31 0e 04 74 00 02 f0
    30 82 02 ec 30 82 01 d6 a0 03 02 01 02 02 04 4a
    66 c1 35 30 0b 06 09 2a 86 48 86 f7 0d 01 01 05
    30 19 31 17 30 15 06 03 55 04 03 13 0e 47 6e 75
    54 4c 53 20 74 65 73 74 20 43 41 30 1e 17 0d 30
    39 30 37 32 32 30 37 33 35 31 37 5a 17 0d 31 30
    30 37 32 32 30 37 33 35 31 37 5a 30 19 31 17 30
    15 06 03 55 04 03 13 0e 47 6e 75 54 4c 53 20 74
    65 73 74 20 43 41 30 82 01 1f 30 0b 06 09 2a 86
    48 86 f7 0d 01 01 01 03 82 01 0e 00 30 82 01 09
    02 82 01 00 c4 ac eb 94 7c f2 88 b2 46 5a 34 b0
    01 79 9d e8 af 82 94 27 5d 5d a5 5f 9e 48 fa 98
    61 b1 3b 16 55 73 4e bd e4 72 bc 70 6a 1a 57 0a
    ca 89 55 be 6c 93 65 78 23 33 fe d7 59 94 9e 13
    bd ac fe 1b a4 99 54 88 8b 1f 4e 2b 66 53 d2 3a
    24 d4 9e 99 a6 7e 86 6b 87 13 c3 f7 cc 0c 3b de
    c8 d7 bd c5 79 96 ba 52 a0 1c c4 dd 10 eb 26 f5
    d3 46 43 ec 65 c9 37 ad 22 3c 18 69 bd 16 e8 45
    ef 83 18 eb 3d 31 b6 2a ed cb 0b e7 e7 39 01 69
    c1 2e 5e 4a 6a cc ba b9 52 57 0f e2 99 8e e3 61
    b4 ce 60 41 19 b8 e9 e7 da c8 93 62 7d 04 eb a4
    b0 b4 f3 d0 aa cc 1a bc df 9b 4c 78 b7 35 39 dd
    ab b0 cb 14 5f 97 4c 7d 74 3b 84 04 85 a3 2a 93
    30 72 df e2 78 f8 5c bb 73 fa 1c b4 51 35 df 37
    16 f0 49 92 ab 4b 63 d7 9f 2f 7d 26 02 05 f5 6b
    9a d2 7e fd e8 21 24 22 f6 2b d4 d6 db fd 88 1c
    5c f6 88 d7 02 03 01 00 01 a3 43 30 41 30 0f 06
    03 55 1d 13 01 01 ff 04 05 30 03 01 01 ff 30 0f
    06 03 55 1d 0f 01 01 ff 04 05 03 03 07 04 00 30
    1d 06 03 55 1d 0e 04 16 04 14 16 09 c4 44 a2 e9
    36 f3 50 9e 12 f9 b7 e9 d7 6f 48 12 38 1a 30 0b
    06 09 2a 86 48 86 f7 0d 01 01 05 03 82 01 01 00
    37 d5 7f ee 80 46 79 79 65 91 c9 c9 f9 ce a6 c2
    f6 2c 3f c9 98 7f 50 8c a6 d0 f9 84 a0 e0 d8 5b
    ea 6c 0a 9b 96 06 ef 4e 93 94 f9 c5 f9 ad 47 30
    89 7a 46 7b 22 b8 46 29 c9 18 75 af 3b 08 d6 e1
    88 60 8b 03 89 49 80 51 b7 8b 62 e1 a9 4e af 6c
    02 dc 62 1f ea 5e e1 6b 12 6c 93 28 2c 85 e2 d0
    8d 80 b0 92 aa 75 f5 9b 3c 26 16 8d 0c cf fe d5
    a6 51 c1 b9 f1 4c c4 07 08 2b 64 85 f0 2c 4f df
    da 0e d1 dd 5d 5d 34 27 b8 8d 92 f5 fd a3 0c 0a
    e0 23 3e fd ae 8b 00 ad 67 5c da 88 76 47 09 7a
    19 28 a2 a4 ca 2b 3f 79 6b e6 ad 8c db 02 39 29
    e4 eb 3c 53 78 51 17 7d 9e c8 ae 29 91 75 48 5c
    0b 2a 99 9d ab bc 12 df 83 8a 08 1a 42 c8 02 b7
    9c 35 75 e1 b0 bf 0a 76 0b 4c 9a 4a 7f 8f 87 8b
    2d 02 7f e8 85 71 85 ef 58 b0 30 15 ca 78 18 83
    7f 0f c3 1a d8 81 0c c4 1c fe f9 14 e8 3f d3 f8
>>> TLS 1.0 Handshake [length 018d], ServerKeyExchange
    0c 00 01 89 00 40 da 58 3c 16 d9 85 22 89 d0 e4
    af 75 6f 4c ca 92 dd 4b e5 33 b8 04 fb 0f ed 94
    ef 9c 8a 44 03 ed 57 46 50 d3 69 99 db 29 d7 76
    27 6b a2 d3 d4 12 e2 18 f4 dd 1e 08 4c f6 d8 00
    3e 7c 47 74 e8 33 00 01 02 00 40 18 f3 48 87 64
    1f b9 be 72 bf 95 9a 36 fc 22 75 06 7a f9 09 94
    36 43 bd 97 2f c6 78 61 d4 24 26 7e f5 1b 6e 46
    f4 e5 f9 6c 55 90 4b ae 73 fc 9b f6 bb 1d 89 30
    92 65 73 79 e3 9f ee 69 62 16 b6 01 00 05 75 e7
    ac 7d d1 6b 60 ed cf 55 0e 7b b9 05 3e b1 78 85
    30 a4 fd d8 0d 35 d2 bc 3f 43 80 65 90 aa b2 bc
    8c 54 3c 2b 7a b5 42 3a 7b 59 c6 63 2d a3 56 be
    43 e3 e5 e3 0a bb 54 c7 48 7a 0c cb 09 95 07 2e
    c7 8b 77 b7 d6 a4 93 3e 08 59 84 99 6e 91 df af
    78 4c 16 aa 2c e2 c0 b2 9f b4 31 e1 c5 b4 20 ca
    ec 37 dd 45 92 03 ce bb 5f 64 0b a2 7e 5f 3a 68
    93 7a ea 4a 83 99 ea 98 b1 ca c4 7f 9e 10 a8 82
    64 9f 41 37 ea 07 9b 42 a1 f6 4b cc ef 8c b5 f5
    f1 53 e1 d5 ba e7 83 73 06 c0 5b e3 4d 08 8d 77
    df 1c f2 7d 45 73 98 ac 2f da 6f e2 f9 c7 02 28
    5c bf 2b 84 27 97 b3 bf 36 13 50 06 ca 0c a7 6a
    8f 02 cd 44 f2 80 00 76 4d a8 7f bd 01 1c c9 17
    86 b5 0e 65 1d 2f 1b d0 bf d8 3a da f3 d2 c2 01
    44 e0 c7 40 b5 0d 44 5f fc 84 96 69 c0 37 7c ed
    1c a2 a3 1f be 53 5b e0 b9 4e e5 4b 15
>>> TLS 1.0 Handshake [length 0004], ServerHelloDone
    0e 00 00 00
<<< TLS 1.0 Handshake [length 0046], ClientKeyExchange
    10 00 00 42 00 40 20 70 14 4d e2 2d d7 5c c1 5e
    42 96 8d 2d 06 20 e1 ee 14 45 f9 2a 4e af ce 4f
    e2 83 b6 78 a9 98 28 c6 c8 f8 69 5c 61 e6 5b 42
    ef f7 88 02 2a 05 6a fe 31 18 c9 11 6c 3f 4b d8
    6a be 3a 08 56 d8
<<< TLS 1.0 ChangeCipherSpec [length 0001]
    01
<<< TLS 1.0 Handshake [length 0010], Finished
    14 00 00 0c 2e 45 6c 68 e3 e5 16 38 9b 39 8c 15
>>> TLS 1.0 Handshake [length 00ba]???
    04 00 00 b6 00 00 00 00 00 b0 cf ce 80 52 84 e4
    ae ef 46 5f f8 32 c6 88 11 34 e5 ba e4 20 1a 17
    a5 a3 37 70 c4 7c 7b f5 57 cf 29 6c 1b e6 f4 a5
    60 48 fd 2a 13 20 ec 27 d9 b7 96 60 91 a2 a4 eb
    b6 79 bf 1f 4b 98 f8 dc ac f5 34 03 2a 54 65 21
    9e 75 66 58 c0 e2 95 fc 9e 47 fc 68 38 cf 36 33
    92 42 53 63 b6 6d 4c 13 3f 07 91 d8 a2 74 66 1d
    c0 d8 f9 60 5c ca 1b a7 50 46 d5 26 4d 5f 2b a2
    ff 26 fa 5a 47 5a 46 0f 4e a8 24 65 cf 37 87 10
    dd 04 b1 78 50 f6 18 df 0d e3 42 06 64 9b 02 6c
    f8 45 12 4a 82 69 28 8e ac 0c 3e 2d e2 28 c0 7e
    55 73 3c 24 11 c3 48 75 0e 2b
>>> TLS 1.0 ChangeCipherSpec [length 0001]
    01
>>> TLS 1.0 Handshake [length 0010], Finished
    14 00 00 0c 63 de f0 dd ea bb 3c da f1 f3 1d 87
-----BEGIN SSL SESSION PARAMETERS-----
MGICAQECAgMBBAIAMwQABDAVs3KuTB/gD7tNWl7eI5TCRx8TB4Xj9UVRS4zWk69v
Ua6hMpQ+0k9YTNKQ7J/uIDihBgIESmrkNaIEAgIBLKQGBAQBAAAApgsECWxvY2Fs
aG9zdA==
-----END SSL SESSION PARAMETERS-----
Shared 
ciphers:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA:EDH-RSA-DES-CBC3-SHA:DHE-DSS-AES128-SHA:DHE-DSS-AES256-SHA:EDH-DSS-DES-CBC3-SHA:AES128-SHA:AES256-SHA:DES-CBC3-SHA:RC4-SHA:RC4-MD5
CIPHER is DHE-RSA-AES128-SHA
<<< TLS 1.0 Alert [length 0002], warning close_notify
    01 00
DONE
shutting down SSL
CONNECTION CLOSED
ACCEPT
<<< TLS 1.0 Handshake [length 0122], ClientHello
    01 00 01 1e 03 02 4a 6a e4 35 bc c3 e5 04 85 96
    6d c4 f5 6c 00 6b 5b 12 e0 db 2b 0a 6c 5b 02 dd
    6f 7b f8 09 12 1d 00 00 28 00 33 00 39 00 16 00
    32 00 38 00 13 00 66 00 90 00 91 00 8f 00 8e 00
    2f 00 35 00 0a 00 05 00 04 00 8c 00 8d 00 8b 00
    8a 01 00 00 cd 00 09 00 03 02 00 01 00 00 00 0e
    00 0c 00 00 09 6c 6f 63 61 6c 68 6f 73 74 00 23
    00 b0 cf ce 80 52 84 e4 ae ef 46 5f f8 32 c6 88
    11 34 e5 ba e4 20 1a 17 a5 a3 37 70 c4 7c 7b f5
    57 cf 29 6c 1b e6 f4 a5 60 48 fd 2a 13 20 ec 27
    d9 b7 96 60 91 a2 a4 eb b6 79 bf 1f 4b 98 f8 dc
    ac f5 34 03 2a 54 65 21 9e 75 66 58 c0 e2 95 fc
    9e 47 fc 68 38 cf 36 33 92 42 53 63 b6 6d 4c 13
    3f 07 91 d8 a2 74 66 1d c0 d8 f9 60 5c ca 1b a7
    50 46 d5 26 4d 5f 2b a2 ff 26 fa 5a 47 5a 46 0f
    4e a8 24 65 cf 37 87 10 dd 04 b1 78 50 f6 18 df
    0d e3 42 06 64 9b 02 6c f8 45 12 4a 82 69 28 8e
    ac 0c 3e 2d e2 28 c0 7e 55 73 3c 24 11 c3 48 75
    0e 2b
>>> TLS 1.0 Handshake [length 002a], ServerHello
    02 00 00 26 03 01 4a 6a e4 35 92 08 4d 6d 10 91
    ec 55 33 fd 3b 64 9e 29 ae 8c 00 8e 0f 5e 03 9d
    3b 4c ee 56 50 99 00 00 33 00
>>> TLS 1.0 ChangeCipherSpec [length 0001]
    01
>>> TLS 1.0 Handshake [length 0010], Finished
    14 00 00 0c 97 10 de 82 80 09 88 97 fa 58 ea b4
ERROR
|<3>| HSK[0x1a96b00]: Keeping ciphersuite: DHE_RSA_AES_128_CBC_SHA1
|<3>| HSK[0x1a96b00]: Keeping ciphersuite: DHE_RSA_AES_256_CBC_SHA1
|<3>| HSK[0x1a96b00]: Keeping ciphersuite: DHE_RSA_3DES_EDE_CBC_SHA1
|<3>| HSK[0x1a96b00]: Keeping ciphersuite: DHE_DSS_AES_128_CBC_SHA1
|<3>| HSK[0x1a96b00]: Keeping ciphersuite: DHE_DSS_AES_256_CBC_SHA1
|<3>| HSK[0x1a96b00]: Keeping ciphersuite: DHE_DSS_3DES_EDE_CBC_SHA1
|<3>| HSK[0x1a96b00]: Keeping ciphersuite: DHE_DSS_ARCFOUR_SHA1
|<3>| HSK[0x1a96b00]: Keeping ciphersuite: DHE_PSK_SHA_AES_128_CBC_SHA1
|<3>| HSK[0x1a96b00]: Keeping ciphersuite: DHE_PSK_SHA_AES_256_CBC_SHA1
|<3>| HSK[0x1a96b00]: Keeping ciphersuite: DHE_PSK_SHA_3DES_EDE_CBC_SHA1
|<3>| HSK[0x1a96b00]: Keeping ciphersuite: DHE_PSK_SHA_ARCFOUR_SHA1
|<3>| HSK[0x1a96b00]: Removing ciphersuite: SRP_SHA_RSA_AES_128_CBC_SHA1
|<3>| HSK[0x1a96b00]: Removing ciphersuite: SRP_SHA_RSA_AES_256_CBC_SHA1
|<3>| HSK[0x1a96b00]: Removing ciphersuite: SRP_SHA_RSA_3DES_EDE_CBC_SHA1
|<3>| HSK[0x1a96b00]: Removing ciphersuite: SRP_SHA_DSS_AES_128_CBC_SHA1
|<3>| HSK[0x1a96b00]: Removing ciphersuite: SRP_SHA_DSS_AES_256_CBC_SHA1
|<3>| HSK[0x1a96b00]: Removing ciphersuite: SRP_SHA_DSS_3DES_EDE_CBC_SHA1
|<3>| HSK[0x1a96b00]: Keeping ciphersuite: RSA_AES_128_CBC_SHA1
|<3>| HSK[0x1a96b00]: Keeping ciphersuite: RSA_AES_256_CBC_SHA1
|<3>| HSK[0x1a96b00]: Keeping ciphersuite: RSA_3DES_EDE_CBC_SHA1
|<3>| HSK[0x1a96b00]: Keeping ciphersuite: RSA_ARCFOUR_SHA1
|<3>| HSK[0x1a96b00]: Keeping ciphersuite: RSA_ARCFOUR_MD5
|<3>| HSK[0x1a96b00]: Keeping ciphersuite: PSK_SHA_AES_128_CBC_SHA1
|<3>| HSK[0x1a96b00]: Keeping ciphersuite: PSK_SHA_AES_256_CBC_SHA1
|<3>| HSK[0x1a96b00]: Keeping ciphersuite: PSK_SHA_3DES_EDE_CBC_SHA1
|<3>| HSK[0x1a96b00]: Keeping ciphersuite: PSK_SHA_ARCFOUR_SHA1
|<3>| HSK[0x1a96b00]: Removing ciphersuite: SRP_SHA_AES_128_CBC_SHA1
|<3>| HSK[0x1a96b00]: Removing ciphersuite: SRP_SHA_AES_256_CBC_SHA1
|<3>| HSK[0x1a96b00]: Removing ciphersuite: SRP_SHA_3DES_EDE_CBC_SHA1
|<2>| EXT[0x1a96b00]: Sending extension CERT_TYPE
|<2>| EXT[0x1a96b00]: Sending extension SERVER_NAME
|<2>| SESSION TICKET: sent empty ticket
|<2>| EXT[0x1a96b00]: Sending extension SESSION_TICKET
|<3>| HSK[0x1a96b00]: CLIENT HELLO was send [114 bytes]
|<6>| BUF[HSK]: Peeked 0 bytes of Data
|<6>| BUF[HSK]: Emptied buffer
|<4>| REC[0x1a96b00]: Sending Packet[0] Handshake(22) with length: 114
|<2>| ASSERT: gnutls_cipher.c:204
|<7>| WRITE: Will write 119 bytes to 0x4.
|<7>| WRITE: wrote 119 bytes to 0x4. Left 0 bytes. Total 119 bytes.
|<7>| 0000 - 16 03 02 00 72 01 00 00 6e 03 02 4a 6a e4 35 c2 
|<7>| 0001 - 95 49 86 f0 57 29 ce 3d 94 2e 1c 08 e4 0b 6a e6 
|<7>| 0002 - 89 42 5f bc ed 4b bb 4e 74 b3 5e 00 00 28 00 33 
|<7>| 0003 - 00 39 00 16 00 32 00 38 00 13 00 66 00 90 00 91 
|<7>| 0004 - 00 8f 00 8e 00 2f 00 35 00 0a 00 05 00 04 00 8c 
|<7>| 0005 - 00 8d 00 8b 00 8a 01 00 00 1d 00 09 00 03 02 00 
|<7>| 0006 - 01 00 00 00 0e 00 0c 00 00 09 6c 6f 63 61 6c 68 
|<7>| 0007 - 6f 73 74 00 23 00 00 
|<4>| REC[0x1a96b00]: Sent Packet[1] Handshake(22) with length: 119
|<7>| READ: Got 5 bytes from 0x4
|<7>| READ: read 5 bytes from 0x4
|<7>| 0000 - 16 03 01 00 30 
|<7>| RB: Have 0 bytes into buffer. Adding 5 bytes.
|<7>| RB: Requested 5 bytes
|<4>| REC[0x1a96b00]: Expected Packet[0] Handshake(22) with length: 1
|<4>| REC[0x1a96b00]: Received Packet[0] Handshake(22) with length: 48
|<7>| READ: Got 48 bytes from 0x4
|<7>| READ: read 48 bytes from 0x4
|<7>| 0000 - 02 00 00 2c 03 01 4a 6a e4 35 ce dd ec bd f6 a0 
|<7>| 0001 - 67 1e c6 4f d1 93 e8 e4 9a 42 82 02 b6 b5 bf 69 
|<7>| 0002 - 13 94 7d e3 e9 d5 00 00 33 00 00 04 00 23 00 00 
|<7>| 0003 - 
|<7>| RB: Have 5 bytes into buffer. Adding 48 bytes.
|<7>| RB: Requested 53 bytes
|<2>| ASSERT: gnutls_cipher.c:204
|<4>| REC[0x1a96b00]: Decrypted Packet[0] Handshake(22) with length: 48
|<6>| BUF[HSK]: Inserted 48 bytes of Data(22)
|<6>| BUF[REC][HD]: Read 1 bytes of Data(22)
|<6>| BUF[REC][HD]: Read 3 bytes of Data(22)
|<3>| HSK[0x1a96b00]: SERVER HELLO was received [48 bytes]
|<6>| BUF[REC][HD]: Read 44 bytes of Data(22)
|<6>| BUF[HSK]: Peeked 0 bytes of Data
|<6>| BUF[HSK]: Emptied buffer
|<6>| BUF[HSK]: Inserted 4 bytes of Data
|<6>| BUF[HSK]: Inserted 44 bytes of Data
|<3>| HSK[0x1a96b00]: Server's version: 3.1
|<3>| HSK[0x1a96b00]: SessionID length: 0
|<3>| HSK[0x1a96b00]: SessionID: 
|<3>| HSK[0x1a96b00]: Selected cipher suite: DHE_RSA_AES_128_CBC_SHA1
|<2>| EXT[0x1a96b00]: Received extension 'SESSION_TICKET/35'
|<7>| READ: Got 5 bytes from 0x4
|<7>| READ: read 5 bytes from 0x4
|<7>| 0000 - 16 03 01 06 50 
|<7>| RB: Have 0 bytes into buffer. Adding 5 bytes.
|<7>| RB: Requested 5 bytes
|<4>| REC[0x1a96b00]: Expected Packet[1] Handshake(22) with length: 1
|<4>| REC[0x1a96b00]: Received Packet[1] Handshake(22) with length: 1616
|<7>| READ: Got 1616 bytes from 0x4
|<7>| READ: read 1616 bytes from 0x4
|<7>| 0000 - 0b 00 06 4c 00 06 49 00 03 53 30 82 03 4f 30 82 
|<7>| 0001 - 02 39 a0 03 02 01 02 02 04 4a 66 c1 6d 30 0b 06 
|<7>| 0002 - 09 2a 86 48 86 f7 0d 01 01 05 30 19 31 17 30 15 
|<7>| 0003 - 06 03 55 04 03 13 0e 47 6e 75 54 4c 53 20 74 65 
|<7>| 0004 - 73 74 20 43 41 30 1e 17 0d 30 39 30 37 32 32 30 
|<7>| 0005 - 37 33 36 31 33 5a 17 0d 31 30 30 37 32 32 30 37 
|<7>| 0006 - 33 36 31 33 5a 30 31 31 1b 30 19 06 03 55 04 0a 
|<7>| 0007 - 13 12 47 6e 75 54 4c 53 20 74 65 73 74 20 73 65 
|<7>| 0008 - 72 76 65 72 31 12 30 10 06 03 55 04 03 13 09 6c 
|<7>| 0009 - 6f 63 61 6c 68 6f 73 74 30 82 01 1f 30 0b 06 09 
|<7>| 000a - 2a 86 48 86 f7 0d 01 01 01 03 82 01 0e 00 30 82 
|<7>| 000b - 01 09 02 82 01 00 ac c1 73 73 fe 34 c0 50 d6 eb 
|<7>| 000c - c3 21 05 01 51 09 3b e4 36 77 3a e1 dd c9 0f 9d 
|<7>| 000d - cd 63 7e 25 53 66 71 76 7c 61 34 57 1f ca 6d a8 
|<7>| 000e - 2b b4 0d 7f 8f d7 fb 5f fd a4 60 8a fa 18 dc 96 
|<7>| 000f - 9f b3 7e 53 90 7b e4 55 9a 83 82 eb ee 7f ca e6 
|<7>| 0010 - b8 43 ba 6c 23 a2 13 be fb be 18 a6 c5 47 4a 9c 
|<7>| 0011 - b1 f9 1d bf dc 8b a9 85 4e 8f 21 d9 4a ef aa 40 
|<7>| 0012 - d7 08 32 80 b0 1a a3 0b 6d 0c ef 5d 25 ef d1 24 
|<7>| 0013 - 17 0c 79 02 e3 25 7d 68 59 95 27 4e 13 43 b1 e2 
|<7>| 0014 - 1c 78 38 03 f7 9a 1b 2e 1a 1a a4 4b 6e e3 e0 d4 
|<7>| 0015 - 82 86 47 7a 1c 9c f3 0a b4 16 32 63 6c aa 13 44 
|<7>| 0016 - 6c 70 8a c3 e4 e8 4f c4 f0 66 cc fa 83 ef 66 78 
|<7>| 0017 - e7 7d 52 12 2d 1d 9c 34 23 73 43 1f fb 00 72 d2 
|<7>| 0018 - ab 33 ea aa f8 c9 0c 58 a5 bb 5c f1 c7 3c 6c 4f 
|<7>| 0019 - 09 54 df 90 9a 4e 8d 96 a4 37 13 48 dd fa 60 91 
|<7>| 001a - c3 9c f7 f0 5e 47 8a 5d b3 e8 0b 5b 14 7b 01 a8 
|<7>| 001b - 88 68 57 e7 c6 cf 02 03 01 00 01 a3 81 8d 30 81 
|<7>| 001c - 8a 30 0c 06 03 55 1d 13 01 01 ff 04 02 30 00 30 
|<7>| 001d - 14 06 03 55 1d 11 04 0d 30 0b 82 09 6c 6f 63 61 
|<7>| 001e - 6c 68 6f 73 74 30 13 06 03 55 1d 25 04 0c 30 0a 
|<7>| 001f - 06 08 2b 06 01 05 05 07 03 01 30 0f 06 03 55 1d 
|<7>| 0020 - 0f 01 01 ff 04 05 03 03 07 a0 00 30 1d 06 03 55 
|<7>| 0021 - 1d 0e 04 16 04 14 64 01 db 99 68 e5 9b 78 31 01 
|<7>| 0022 - 14 f6 9e 22 cd a1 80 7d cb 52 30 1f 06 03 55 1d 
|<7>| 0023 - 23 04 18 30 16 80 14 16 09 c4 44 a2 e9 36 f3 50 
|<7>| 0024 - 9e 12 f9 b7 e9 d7 6f 48 12 38 1a 30 0b 06 09 2a 
|<7>| 0025 - 86 48 86 f7 0d 01 01 05 03 82 01 01 00 24 8e 27 
|<7>| 0026 - 0e e9 09 4c b8 41 e7 3e 75 17 8e ab b4 88 5c 1a 
|<7>| 0027 - cc d1 d1 ff ae fa 42 cd df 29 d5 fa e0 7f 28 5a 
|<7>| 0028 - 3a 24 c3 a8 f4 f4 aa ad d2 3d 6f 9a 34 be e5 1c 
|<7>| 0029 - 91 d2 ae 0c d9 f7 77 c7 f4 d9 aa 02 a1 5a 8f ff 
|<7>| 002a - 47 fa 14 7f d9 c7 1d 32 89 5f cd be d5 d5 5c 0d 
|<7>| 002b - 2f 8b 2d 7b 54 d1 41 5a 2d f8 35 0d e9 a3 6c c8 
|<7>| 002c - bc 6f db 7c 32 92 61 40 3c 11 d0 4e 99 43 d3 a5 
|<7>| 002d - 37 7e 7d 44 4e 06 98 26 9d f3 8c 85 25 79 d6 0a 
|<7>| 002e - 69 60 85 e5 e8 20 77 b4 46 81 9c 0d c7 ab 41 03 
|<7>| 002f - 9f bf 2b 16 39 d8 5f 86 d5 af a4 62 17 60 1a 18 
|<7>| 0030 - 93 77 8a 73 fb dd 54 d4 c5 b6 45 28 a4 66 95 07 
|<7>| 0031 - ef 45 4b 3e a0 8d bd ae fb fb e7 00 11 f1 ba 2d 
|<7>| 0032 - 36 cc 36 37 dc 2b 96 81 7d b5 a7 7f 25 e2 a9 67 
|<7>| 0033 - 22 eb 3d f8 7d 3f 4b ce 11 ac f4 15 47 ec 59 06 
|<7>| 0034 - a0 b6 44 76 bc c2 3d 76 cd 5c 5e f2 4d ce c8 ec 
|<7>| 0035 - b7 10 f1 8f ca 1c 35 19 a5 31 0e 04 74 00 02 f0 
|<7>| 0036 - 30 82 02 ec 30 82 01 d6 a0 03 02 01 02 02 04 4a 
|<7>| 0037 - 66 c1 35 30 0b 06 09 2a 86 48 86 f7 0d 01 01 05 
|<7>| 0038 - 30 19 31 17 30 15 06 03 55 04 03 13 0e 47 6e 75 
|<7>| 0039 - 54 4c 53 20 74 65 73 74 20 43 41 30 1e 17 0d 30 
|<7>| 003a - 39 30 37 32 32 30 37 33 35 31 37 5a 17 0d 31 30 
|<7>| 003b - 30 37 32 32 30 37 33 35 31 37 5a 30 19 31 17 30 
|<7>| 003c - 15 06 03 55 04 03 13 0e 47 6e 75 54 4c 53 20 74 
|<7>| 003d - 65 73 74 20 43 41 30 82 01 1f 30 0b 06 09 2a 86 
|<7>| 003e - 48 86 f7 0d 01 01 01 03 82 01 0e 00 30 82 01 09 
|<7>| 003f - 02 82 01 00 c4 ac eb 94 7c f2 88 b2 46 5a 34 b0 
|<7>| 0040 - 01 79 9d e8 af 82 94 27 5d 5d a5 5f 9e 48 fa 98 
|<7>| 0041 - 61 b1 3b 16 55 73 4e bd e4 72 bc 70 6a 1a 57 0a 
|<7>| 0042 - ca 89 55 be 6c 93 65 78 23 33 fe d7 59 94 9e 13 
|<7>| 0043 - bd ac fe 1b a4 99 54 88 8b 1f 4e 2b 66 53 d2 3a 
|<7>| 0044 - 24 d4 9e 99 a6 7e 86 6b 87 13 c3 f7 cc 0c 3b de 
|<7>| 0045 - c8 d7 bd c5 79 96 ba 52 a0 1c c4 dd 10 eb 26 f5 
|<7>| 0046 - d3 46 43 ec 65 c9 37 ad 22 3c 18 69 bd 16 e8 45 
|<7>| 0047 - ef 83 18 eb 3d 31 b6 2a ed cb 0b e7 e7 39 01 69 
|<7>| 0048 - c1 2e 5e 4a 6a cc ba b9 52 57 0f e2 99 8e e3 61 
|<7>| 0049 - b4 ce 60 41 19 b8 e9 e7 da c8 93 62 7d 04 eb a4 
|<7>| 004a - b0 b4 f3 d0 aa cc 1a bc df 9b 4c 78 b7 35 39 dd 
|<7>| 004b - ab b0 cb 14 5f 97 4c 7d 74 3b 84 04 85 a3 2a 93 
|<7>| 004c - 30 72 df e2 78 f8 5c bb 73 fa 1c b4 51 35 df 37 
|<7>| 004d - 16 f0 49 92 ab 4b 63 d7 9f 2f 7d 26 02 05 f5 6b 
|<7>| 004e - 9a d2 7e fd e8 21 24 22 f6 2b d4 d6 db fd 88 1c 
|<7>| 004f - 5c f6 88 d7 02 03 01 00 01 a3 43 30 41 30 0f 06 
|<7>| 0050 - 03 55 1d 13 01 01 ff 04 05 30 03 01 01 ff 30 0f 
|<7>| 0051 - 06 03 55 1d 0f 01 01 ff 04 05 03 03 07 04 00 30 
|<7>| 0052 - 1d 06 03 55 1d 0e 04 16 04 14 16 09 c4 44 a2 e9 
|<7>| 0053 - 36 f3 50 9e 12 f9 b7 e9 d7 6f 48 12 38 1a 30 0b 
|<7>| 0054 - 06 09 2a 86 48 86 f7 0d 01 01 05 03 82 01 01 00 
|<7>| 0055 - 37 d5 7f ee 80 46 79 79 65 91 c9 c9 f9 ce a6 c2 
|<7>| 0056 - f6 2c 3f c9 98 7f 50 8c a6 d0 f9 84 a0 e0 d8 5b 
|<7>| 0057 - ea 6c 0a 9b 96 06 ef 4e 93 94 f9 c5 f9 ad 47 30 
|<7>| 0058 - 89 7a 46 7b 22 b8 46 29 c9 18 75 af 3b 08 d6 e1 
|<7>| 0059 - 88 60 8b 03 89 49 80 51 b7 8b 62 e1 a9 4e af 6c 
|<7>| 005a - 02 dc 62 1f ea 5e e1 6b 12 6c 93 28 2c 85 e2 d0 
|<7>| 005b - 8d 80 b0 92 aa 75 f5 9b 3c 26 16 8d 0c cf fe d5 
|<7>| 005c - a6 51 c1 b9 f1 4c c4 07 08 2b 64 85 f0 2c 4f df 
|<7>| 005d - da 0e d1 dd 5d 5d 34 27 b8 8d 92 f5 fd a3 0c 0a 
|<7>| 005e - e0 23 3e fd ae 8b 00 ad 67 5c da 88 76 47 09 7a 
|<7>| 005f - 19 28 a2 a4 ca 2b 3f 79 6b e6 ad 8c db 02 39 29 
|<7>| 0060 - e4 eb 3c 53 78 51 17 7d 9e c8 ae 29 91 75 48 5c 
|<7>| 0061 - 0b 2a 99 9d ab bc 12 df 83 8a 08 1a 42 c8 02 b7 
|<7>| 0062 - 9c 35 75 e1 b0 bf 0a 76 0b 4c 9a 4a 7f 8f 87 8b 
|<7>| 0063 - 2d 02 7f e8 85 71 85 ef 58 b0 30 15 ca 78 18 83 
|<7>| 0064 - 7f 0f c3 1a d8 81 0c c4 1c fe f9 14 e8 3f d3 f8 
|<7>| 0065 - 
|<7>| RB: Have 5 bytes into buffer. Adding 1616 bytes.
|<7>| RB: Requested 1621 bytes
|<2>| ASSERT: gnutls_cipher.c:204
|<4>| REC[0x1a96b00]: Decrypted Packet[1] Handshake(22) with length: 1616
|<6>| BUF[HSK]: Inserted 1616 bytes of Data(22)
|<6>| BUF[REC][HD]: Read 1 bytes of Data(22)
|<6>| BUF[REC][HD]: Read 3 bytes of Data(22)
|<3>| HSK[0x1a96b00]: CERTIFICATE was received [1616 bytes]
|<6>| BUF[REC][HD]: Read 1612 bytes of Data(22)
|<6>| BUF[HSK]: Peeked 48 bytes of Data
|<6>| BUF[HSK]: Emptied buffer
|<6>| BUF[HSK]: Inserted 4 bytes of Data
|<6>| BUF[HSK]: Inserted 1612 bytes of Data
|<7>| READ: Got 5 bytes from 0x4
|<7>| READ: read 5 bytes from 0x4
|<7>| 0000 - 16 03 01 01 8d 
|<7>| RB: Have 0 bytes into buffer. Adding 5 bytes.
|<7>| RB: Requested 5 bytes
|<4>| REC[0x1a96b00]: Expected Packet[2] Handshake(22) with length: 1
|<4>| REC[0x1a96b00]: Received Packet[2] Handshake(22) with length: 397
|<7>| READ: Got 397 bytes from 0x4
|<7>| READ: read 397 bytes from 0x4
|<7>| 0000 - 0c 00 01 89 00 40 da 58 3c 16 d9 85 22 89 d0 e4 
|<7>| 0001 - af 75 6f 4c ca 92 dd 4b e5 33 b8 04 fb 0f ed 94 
|<7>| 0002 - ef 9c 8a 44 03 ed 57 46 50 d3 69 99 db 29 d7 76 
|<7>| 0003 - 27 6b a2 d3 d4 12 e2 18 f4 dd 1e 08 4c f6 d8 00 
|<7>| 0004 - 3e 7c 47 74 e8 33 00 01 02 00 40 18 f3 48 87 64 
|<7>| 0005 - 1f b9 be 72 bf 95 9a 36 fc 22 75 06 7a f9 09 94 
|<7>| 0006 - 36 43 bd 97 2f c6 78 61 d4 24 26 7e f5 1b 6e 46 
|<7>| 0007 - f4 e5 f9 6c 55 90 4b ae 73 fc 9b f6 bb 1d 89 30 
|<7>| 0008 - 92 65 73 79 e3 9f ee 69 62 16 b6 01 00 05 75 e7 
|<7>| 0009 - ac 7d d1 6b 60 ed cf 55 0e 7b b9 05 3e b1 78 85 
|<7>| 000a - 30 a4 fd d8 0d 35 d2 bc 3f 43 80 65 90 aa b2 bc 
|<7>| 000b - 8c 54 3c 2b 7a b5 42 3a 7b 59 c6 63 2d a3 56 be 
|<7>| 000c - 43 e3 e5 e3 0a bb 54 c7 48 7a 0c cb 09 95 07 2e 
|<7>| 000d - c7 8b 77 b7 d6 a4 93 3e 08 59 84 99 6e 91 df af 
|<7>| 000e - 78 4c 16 aa 2c e2 c0 b2 9f b4 31 e1 c5 b4 20 ca 
|<7>| 000f - ec 37 dd 45 92 03 ce bb 5f 64 0b a2 7e 5f 3a 68 
|<7>| 0010 - 93 7a ea 4a 83 99 ea 98 b1 ca c4 7f 9e 10 a8 82 
|<7>| 0011 - 64 9f 41 37 ea 07 9b 42 a1 f6 4b cc ef 8c b5 f5 
|<7>| 0012 - f1 53 e1 d5 ba e7 83 73 06 c0 5b e3 4d 08 8d 77 
|<7>| 0013 - df 1c f2 7d 45 73 98 ac 2f da 6f e2 f9 c7 02 28 
|<7>| 0014 - 5c bf 2b 84 27 97 b3 bf 36 13 50 06 ca 0c a7 6a 
|<7>| 0015 - 8f 02 cd 44 f2 80 00 76 4d a8 7f bd 01 1c c9 17 
|<7>| 0016 - 86 b5 0e 65 1d 2f 1b d0 bf d8 3a da f3 d2 c2 01 
|<7>| 0017 - 44 e0 c7 40 b5 0d 44 5f fc 84 96 69 c0 37 7c ed 
|<7>| 0018 - 1c a2 a3 1f be 53 5b e0 b9 4e e5 4b 15 
|<7>| RB: Have 5 bytes into buffer. Adding 397 bytes.
|<7>| RB: Requested 402 bytes
|<2>| ASSERT: gnutls_cipher.c:204
|<4>| REC[0x1a96b00]: Decrypted Packet[2] Handshake(22) with length: 397
|<6>| BUF[HSK]: Inserted 397 bytes of Data(22)
|<6>| BUF[REC][HD]: Read 1 bytes of Data(22)
|<6>| BUF[REC][HD]: Read 3 bytes of Data(22)
|<3>| HSK[0x1a96b00]: SERVER KEY EXCHANGE was received [397 bytes]
|<6>| BUF[REC][HD]: Read 393 bytes of Data(22)
|<6>| BUF[HSK]: Peeked 1616 bytes of Data
|<6>| BUF[HSK]: Emptied buffer
|<6>| BUF[HSK]: Inserted 4 bytes of Data
|<6>| BUF[HSK]: Inserted 393 bytes of Data
|<7>| READ: Got 5 bytes from 0x4
|<7>| READ: read 5 bytes from 0x4
|<7>| 0000 - 16 03 01 00 04 
|<7>| RB: Have 0 bytes into buffer. Adding 5 bytes.
|<7>| RB: Requested 5 bytes
|<4>| REC[0x1a96b00]: Expected Packet[3] Handshake(22) with length: 1
|<4>| REC[0x1a96b00]: Received Packet[3] Handshake(22) with length: 4
|<7>| READ: Got 4 bytes from 0x4
|<7>| READ: read 4 bytes from 0x4
|<7>| 0000 - 0e 00 00 00 
|<7>| RB: Have 5 bytes into buffer. Adding 4 bytes.
|<7>| RB: Requested 9 bytes
|<2>| ASSERT: gnutls_cipher.c:204
|<4>| REC[0x1a96b00]: Decrypted Packet[3] Handshake(22) with length: 4
|<6>| BUF[HSK]: Inserted 4 bytes of Data(22)
|<6>| BUF[REC][HD]: Read 1 bytes of Data(22)
|<6>| BUF[REC][HD]: Read 3 bytes of Data(22)
|<3>| HSK[0x1a96b00]: SERVER HELLO DONE was received [4 bytes]
|<2>| ASSERT: gnutls_handshake.c:1142
|<6>| BUF[HSK]: Peeked 397 bytes of Data
|<6>| BUF[HSK]: Emptied buffer
|<6>| BUF[HSK]: Inserted 4 bytes of Data
|<3>| HSK[0x1a96b00]: CLIENT KEY EXCHANGE was send [70 bytes]
|<6>| BUF[HSK]: Peeked 4 bytes of Data
|<6>| BUF[HSK]: Emptied buffer
|<4>| REC[0x1a96b00]: Sending Packet[1] Handshake(22) with length: 70
|<2>| ASSERT: gnutls_cipher.c:204
|<7>| WRITE: Will write 75 bytes to 0x4.
|<7>| WRITE: wrote 75 bytes to 0x4. Left 0 bytes. Total 75 bytes.
|<7>| 0000 - 16 03 01 00 46 10 00 00 42 00 40 20 70 14 4d e2 
|<7>| 0001 - 2d d7 5c c1 5e 42 96 8d 2d 06 20 e1 ee 14 45 f9 
|<7>| 0002 - 2a 4e af ce 4f e2 83 b6 78 a9 98 28 c6 c8 f8 69 
|<7>| 0003 - 5c 61 e6 5b 42 ef f7 88 02 2a 05 6a fe 31 18 c9 
|<7>| 0004 - 11 6c 3f 4b d8 6a be 3a 08 56 d8 
|<4>| REC[0x1a96b00]: Sent Packet[2] Handshake(22) with length: 75
|<3>| REC[0x1a96b00]: Sent ChangeCipherSpec
|<4>| REC[0x1a96b00]: Sending Packet[2] Change Cipher Spec(20) with length: 1
|<2>| ASSERT: gnutls_cipher.c:204
|<7>| WRITE: Will write 6 bytes to 0x4.
|<7>| WRITE: wrote 6 bytes to 0x4. Left 0 bytes. Total 6 bytes.
|<7>| 0000 - 14 03 01 00 01 01 
|<4>| REC[0x1a96b00]: Sent Packet[3] Change Cipher Spec(20) with length: 6
|<9>| INT: PREMASTER SECRET[64]: 
764cb7fd95e0de2a8510f91240469a51c7842356d6a84104cce82f4a78d3088ed1d2e2d148f4523ec206919515d279fb8ad711ff09ff0c4bab33c785ce07c3e8
|<9>| INT: CLIENT RANDOM[32]: 
4a6ae435c2954986f05729ce3d942e1c08e40b6ae689425fbced4bbb4e74b35e
|<9>| INT: SERVER RANDOM[32]: 
4a6ae435ceddecbdf6a0671ec64fd193e8e49a428202b6b5bf6913947de3e9d5
|<9>| INT: MASTER SECRET: 
15b372ae4c1fe00fbb4d5a5ede2394c2471f130785e3f545514b8cd693af6f51aea132943ed24f584cd290ec9fee2038
|<9>| INT: KEY BLOCK[104]: 
5cf5fe3b6fab490ecd086f71ab9d5557589cbd0877fa907ea72142fac9aa8d8f
|<9>| INT: CLIENT WRITE KEY [16]: bda6c568271f0bab75697949360af5c2
|<9>| INT: SERVER WRITE KEY [16]: 444db0becb3f291f462b72f0c4ce183c
|<3>| HSK[0x1a96b00]: Cipher Suite: DHE_RSA_AES_128_CBC_SHA1
|<3>| HSK[0x1a96b00]: Initializing internal [write] cipher sessions
|<6>| BUF[HSK]: Peeked 0 bytes of Data
|<6>| BUF[HSK]: Emptied buffer
|<3>| HSK[0x1a96b00]: FINISHED was send [16 bytes]
|<6>| BUF[HSK]: Peeked 0 bytes of Data
|<6>| BUF[HSK]: Emptied buffer
|<4>| REC[0x1a96b00]: Sending Packet[0] Handshake(22) with length: 16
|<7>| WRITE: Will write 261 bytes to 0x4.
|<7>| WRITE: wrote 261 bytes to 0x4. Left 0 bytes. Total 261 bytes.
|<7>| 0000 - 16 03 01 01 00 dd c2 19 ba 56 16 82 ea fb 42 ea 
|<7>| 0001 - b1 66 dc 09 8e 6b fe bd 91 6a 6b d2 53 ac 74 70 
|<7>| 0002 - 77 a3 5b 2a 55 d9 cc 43 0d c7 20 b2 e5 73 8c 56 
|<7>| 0003 - f2 a9 0e bb 8e c5 9f bb a3 bc c9 5d 1b 51 f6 9d 
|<7>| 0004 - d4 b4 88 88 1a 2a 31 51 5f 02 83 06 ea 81 08 89 
|<7>| 0005 - d4 fb bf 16 62 05 9b 82 2e 08 6a ec dd 61 8d 50 
|<7>| 0006 - 7a 76 86 51 de 49 42 20 7c 97 09 fe 3a 60 4f 7e 
|<7>| 0007 - af 29 6a 83 24 08 44 4b b7 37 b4 93 69 84 2c 8f 
|<7>| 0008 - 07 42 58 ff 4e 60 3c de 75 93 91 ec c2 8d 14 5e 
|<7>| 0009 - c9 e8 81 86 12 92 9c 77 07 95 6a 95 73 3f c8 71 
|<7>| 000a - 67 44 fe ea 70 3b 13 d7 0b dc f6 86 b3 18 50 87 
|<7>| 000b - a8 7d b5 37 a1 b4 d2 01 97 4c 19 9a 0e 81 ed 3a 
|<7>| 000c - 3a 64 22 95 08 20 39 2e 86 9a 05 ae 55 44 90 18 
|<7>| 000d - 95 d1 f2 92 90 f9 4b f9 f8 7c fe b6 ef af 72 31 
|<7>| 000e - 8a 25 fe 40 3f b3 03 1f 34 bf 40 62 ab f0 97 1e 
|<7>| 000f - b5 54 34 c1 42 af e1 84 2a 19 ce f9 35 7f a9 19 
|<7>| 0010 - e4 74 22 da 33 
|<4>| REC[0x1a96b00]: Sent Packet[1] Handshake(22) with length: 261
|<7>| READ: Got 5 bytes from 0x4
|<7>| READ: read 5 bytes from 0x4
|<7>| 0000 - 16 03 01 00 ba 
|<7>| RB: Have 0 bytes into buffer. Adding 5 bytes.
|<7>| RB: Requested 5 bytes
|<4>| REC[0x1a96b00]: Expected Packet[4] Handshake(22) with length: 1
|<4>| REC[0x1a96b00]: Received Packet[4] Handshake(22) with length: 186
|<7>| READ: Got 186 bytes from 0x4
|<7>| READ: read 186 bytes from 0x4
|<7>| 0000 - 04 00 00 b6 00 00 00 00 00 b0 cf ce 80 52 84 e4 
|<7>| 0001 - ae ef 46 5f f8 32 c6 88 11 34 e5 ba e4 20 1a 17 
|<7>| 0002 - a5 a3 37 70 c4 7c 7b f5 57 cf 29 6c 1b e6 f4 a5 
|<7>| 0003 - 60 48 fd 2a 13 20 ec 27 d9 b7 96 60 91 a2 a4 eb 
|<7>| 0004 - b6 79 bf 1f 4b 98 f8 dc ac f5 34 03 2a 54 65 21 
|<7>| 0005 - 9e 75 66 58 c0 e2 95 fc 9e 47 fc 68 38 cf 36 33 
|<7>| 0006 - 92 42 53 63 b6 6d 4c 13 3f 07 91 d8 a2 74 66 1d 
|<7>| 0007 - c0 d8 f9 60 5c ca 1b a7 50 46 d5 26 4d 5f 2b a2 
|<7>| 0008 - ff 26 fa 5a 47 5a 46 0f 4e a8 24 65 cf 37 87 10 
|<7>| 0009 - dd 04 b1 78 50 f6 18 df 0d e3 42 06 64 9b 02 6c 
|<7>| 000a - f8 45 12 4a 82 69 28 8e ac 0c 3e 2d e2 28 c0 7e 
|<7>| 000b - 55 73 3c 24 11 c3 48 75 0e 2b 
|<7>| RB: Have 5 bytes into buffer. Adding 186 bytes.
|<7>| RB: Requested 191 bytes
|<2>| ASSERT: gnutls_cipher.c:204
|<4>| REC[0x1a96b00]: Decrypted Packet[4] Handshake(22) with length: 186
|<6>| BUF[HSK]: Inserted 186 bytes of Data(22)
|<6>| BUF[REC][HD]: Read 1 bytes of Data(22)
|<6>| BUF[REC][HD]: Read 3 bytes of Data(22)
|<3>| HSK[0x1a96b00]: Unknown Handshake packet was received [186 bytes]
|<6>| BUF[REC][HD]: Read 182 bytes of Data(22)
|<6>| BUF[HSK]: Peeked 0 bytes of Data
|<6>| BUF[HSK]: Emptied buffer
|<6>| BUF[HSK]: Inserted 4 bytes of Data
|<6>| BUF[HSK]: Inserted 182 bytes of Data
|<2>| SESSION TICKET: received new ticket with length: 176
|<7>| READ: Got 5 bytes from 0x4
|<7>| READ: read 5 bytes from 0x4
|<7>| 0000 - 14 03 01 00 01 
|<7>| RB: Have 0 bytes into buffer. Adding 5 bytes.
|<7>| RB: Requested 5 bytes
|<4>| REC[0x1a96b00]: Expected Packet[5] Change Cipher Spec(20) with length: 1
|<4>| REC[0x1a96b00]: Received Packet[5] Change Cipher Spec(20) with length: 1
|<7>| READ: Got 1 bytes from 0x4
|<7>| READ: read 1 bytes from 0x4
|<7>| 0000 - 01 
|<7>| RB: Have 5 bytes into buffer. Adding 1 bytes.
|<7>| RB: Requested 6 bytes
|<2>| ASSERT: gnutls_cipher.c:204
|<4>| REC[0x1a96b00]: ChangeCipherSpec Packet was received
|<3>| HSK[0x1a96b00]: Cipher Suite: DHE_RSA_AES_128_CBC_SHA1
|<3>| HSK[0x1a96b00]: Initializing internal [read] cipher sessions
|<7>| READ: Got 5 bytes from 0x4
|<7>| READ: read 5 bytes from 0x4
|<7>| 0000 - 16 03 01 00 30 
|<7>| RB: Have 0 bytes into buffer. Adding 5 bytes.
|<7>| RB: Requested 5 bytes
|<4>| REC[0x1a96b00]: Expected Packet[0] Handshake(22) with length: 1
|<4>| REC[0x1a96b00]: Received Packet[0] Handshake(22) with length: 48
|<7>| READ: Got 48 bytes from 0x4
|<7>| READ: read 48 bytes from 0x4
|<7>| 0000 - f5 7b 66 ab 1c b0 30 ca 77 90 90 fe 80 8a 6a e1 
|<7>| 0001 - 04 b4 10 77 30 36 45 36 d6 d6 2b 90 0e f1 38 f2 
|<7>| 0002 - ac c8 bd 79 88 d8 f7 b5 45 16 70 be ea 46 d5 6c 
|<7>| 0003 - 
|<7>| RB: Have 5 bytes into buffer. Adding 48 bytes.
|<7>| RB: Requested 53 bytes
|<4>| REC[0x1a96b00]: Decrypted Packet[0] Handshake(22) with length: 16
|<6>| BUF[HSK]: Inserted 16 bytes of Data(22)
|<6>| BUF[REC][HD]: Read 1 bytes of Data(22)
|<6>| BUF[REC][HD]: Read 3 bytes of Data(22)
|<3>| HSK[0x1a96b00]: FINISHED was received [16 bytes]
|<6>| BUF[REC][HD]: Read 12 bytes of Data(22)
|<6>| BUF[HSK]: Peeked 186 bytes of Data
|<6>| BUF[HSK]: Emptied buffer
|<6>| BUF[HSK]: Inserted 4 bytes of Data
|<6>| BUF[HSK]: Inserted 12 bytes of Data
|<6>| BUF[HSK]: Cleared Data from buffer
|<2>| ASSERT: ext_server_name.c:262
|<2>| ASSERT: verify.c:281
|<2>| ASSERT: verify.c:474
Resolving 'localhost'...
Connecting to '127.0.0.1:10000'...
- Ephemeral Diffie-Hellman parameters
 - Using prime: 512 bits
 - Secret key: 511 bits
 - Peer's public key: 509 bits
- Certificate type: X.509
 - Got a certificate list of 2 certificates.
 - Certificate[0] info:
  - subject `O=GnuTLS test server,CN=localhost', issuer `CN=GnuTLS test CA', 
RSA key 2048 bits, signed using RSA-SHA, activated `2009-07-22 07:36:13 UTC', 
expires `2010-07-22 07:36:13 UTC', SHA-1 fingerprint 
`0d67ebedee2f3dc7b5ee2e28f2568a585c09244c'
 - Certificate[1] info:
  - subject `CN=GnuTLS test CA', issuer `CN=GnuTLS test CA', RSA key 2048 bits, 
signed using RSA-SHA, activated `2009-07-22 07:35:17 UTC', expires `2010-07-22 
07:35:17 UTC', SHA-1 fingerprint `d5dc1b91d981824f92199ec5b78ce25b471f27af'
- The hostname in the certificate matches 'localhost'.
- Peer's certificate issuer is unknown
- Peer's certificate is NOT trusted
- Version: TLS1.0
- Key Exchange: DHE-RSA
- Cipher: AES-128-CBC
- MAC: SHA1
- Compression: NULL
|<2>| ASSERT: ext_server_name.c:262
|<2>| ASSERT: verify.c:281
|<2>| ASSERT: verify.c:474
- Handshake was completed
- Ephemeral Diffie-Hellman parameters
 - Using prime: 512 bits
 - Secret key: 511 bits
 - Peer's public key: 509 bits
- Certificate type: X.509
 - Got a certificate list of 2 certificates.
 - Certificate[0] info:
  - subject `O=GnuTLS test server,CN=localhost', issuer `CN=GnuTLS test CA', 
RSA key 2048 bits, signed using RSA-SHA, activated `2009-07-22 07:36:13 UTC', 
expires `2010-07-22 07:36:13 UTC', SHA-1 fingerprint 
`0d67ebedee2f3dc7b5ee2e28f2568a585c09244c'
 - Certificate[1] info:
  - subject `CN=GnuTLS test CA', issuer `CN=GnuTLS test CA', RSA key 2048 bits, 
signed using RSA-SHA, activated `2009-07-22 07:35:17 UTC', expires `2010-07-22 
07:35:17 UTC', SHA-1 fingerprint `d5dc1b91d981824f92199ec5b78ce25b471f27af'
- The hostname in the certificate matches 'localhost'.
- Peer's certificate issuer is unknown
- Peer's certificate is NOT trusted
- Version: TLS1.0
- Key Exchange: DHE-RSA
- Cipher: AES-128-CBC
- MAC: SHA1
- Compression: NULL
|<4>| REC: Sending Alert[1|0] - Close notify
|<4>| REC[0x1a96b00]: Sending Packet[1] Alert(21) with length: 2
|<7>| WRITE: Will write 53 bytes to 0x4.
|<7>| WRITE: wrote 53 bytes to 0x4. Left 0 bytes. Total 53 bytes.
|<7>| 0000 - 15 03 01 00 30 2b 59 cd aa 6d 89 e0 bc 08 de cc 
|<7>| 0001 - 30 b1 a1 4f 7e 5b 62 1e fb 6c c8 24 84 70 34 fe 
|<7>| 0002 - 4a 86 98 15 bc 8c 2d f0 40 23 ed 82 11 65 e7 ff 
|<7>| 0003 - 96 e4 01 14 9f 
|<4>| REC[0x1a96b00]: Sent Packet[2] Alert(21) with length: 53
|<7>| READ: Got 0 bytes from 0x4
|<7>| READ: read 0 bytes from 0x4
|<7>| 0000 - 
|<2>| ASSERT: gnutls_buffers.c:599
|<2>| ASSERT: gnutls_record.c:905
|<3>| HSK[0x1a9e610]: Keeping ciphersuite: DHE_RSA_AES_128_CBC_SHA1
|<3>| HSK[0x1a9e610]: Keeping ciphersuite: DHE_RSA_AES_256_CBC_SHA1
|<3>| HSK[0x1a9e610]: Keeping ciphersuite: DHE_RSA_3DES_EDE_CBC_SHA1
|<3>| HSK[0x1a9e610]: Keeping ciphersuite: DHE_DSS_AES_128_CBC_SHA1
|<3>| HSK[0x1a9e610]: Keeping ciphersuite: DHE_DSS_AES_256_CBC_SHA1
|<3>| HSK[0x1a9e610]: Keeping ciphersuite: DHE_DSS_3DES_EDE_CBC_SHA1
|<3>| HSK[0x1a9e610]: Keeping ciphersuite: DHE_DSS_ARCFOUR_SHA1
|<3>| HSK[0x1a9e610]: Keeping ciphersuite: DHE_PSK_SHA_AES_128_CBC_SHA1
|<3>| HSK[0x1a9e610]: Keeping ciphersuite: DHE_PSK_SHA_AES_256_CBC_SHA1
|<3>| HSK[0x1a9e610]: Keeping ciphersuite: DHE_PSK_SHA_3DES_EDE_CBC_SHA1
|<3>| HSK[0x1a9e610]: Keeping ciphersuite: DHE_PSK_SHA_ARCFOUR_SHA1
|<3>| HSK[0x1a9e610]: Removing ciphersuite: SRP_SHA_RSA_AES_128_CBC_SHA1
|<3>| HSK[0x1a9e610]: Removing ciphersuite: SRP_SHA_RSA_AES_256_CBC_SHA1
|<3>| HSK[0x1a9e610]: Removing ciphersuite: SRP_SHA_RSA_3DES_EDE_CBC_SHA1
|<3>| HSK[0x1a9e610]: Removing ciphersuite: SRP_SHA_DSS_AES_128_CBC_SHA1
|<3>| HSK[0x1a9e610]: Removing ciphersuite: SRP_SHA_DSS_AES_256_CBC_SHA1
|<3>| HSK[0x1a9e610]: Removing ciphersuite: SRP_SHA_DSS_3DES_EDE_CBC_SHA1
|<3>| HSK[0x1a9e610]: Keeping ciphersuite: RSA_AES_128_CBC_SHA1
|<3>| HSK[0x1a9e610]: Keeping ciphersuite: RSA_AES_256_CBC_SHA1
|<3>| HSK[0x1a9e610]: Keeping ciphersuite: RSA_3DES_EDE_CBC_SHA1
|<3>| HSK[0x1a9e610]: Keeping ciphersuite: RSA_ARCFOUR_SHA1
|<3>| HSK[0x1a9e610]: Keeping ciphersuite: RSA_ARCFOUR_MD5
|<3>| HSK[0x1a9e610]: Keeping ciphersuite: PSK_SHA_AES_128_CBC_SHA1
|<3>| HSK[0x1a9e610]: Keeping ciphersuite: PSK_SHA_AES_256_CBC_SHA1
|<3>| HSK[0x1a9e610]: Keeping ciphersuite: PSK_SHA_3DES_EDE_CBC_SHA1
|<3>| HSK[0x1a9e610]: Keeping ciphersuite: PSK_SHA_ARCFOUR_SHA1
|<3>| HSK[0x1a9e610]: Removing ciphersuite: SRP_SHA_AES_128_CBC_SHA1
|<3>| HSK[0x1a9e610]: Removing ciphersuite: SRP_SHA_AES_256_CBC_SHA1
|<3>| HSK[0x1a9e610]: Removing ciphersuite: SRP_SHA_3DES_EDE_CBC_SHA1
|<2>| EXT[0x1a9e610]: Sending extension CERT_TYPE
|<2>| EXT[0x1a9e610]: Sending extension SERVER_NAME
|<2>| SESSION TICKET: sent ticket with length: 176
|<2>| EXT[0x1a9e610]: Sending extension SESSION_TICKET
|<3>| HSK[0x1a9e610]: CLIENT HELLO was send [290 bytes]
|<6>| BUF[HSK]: Peeked 0 bytes of Data
|<6>| BUF[HSK]: Emptied buffer
|<4>| REC[0x1a9e610]: Sending Packet[0] Handshake(22) with length: 290
|<2>| ASSERT: gnutls_cipher.c:204
|<7>| WRITE: Will write 295 bytes to 0x4.
|<7>| WRITE: wrote 295 bytes to 0x4. Left 0 bytes. Total 295 bytes.
|<7>| 0000 - 16 03 02 01 22 01 00 01 1e 03 02 4a 6a e4 35 bc 
|<7>| 0001 - c3 e5 04 85 96 6d c4 f5 6c 00 6b 5b 12 e0 db 2b 
|<7>| 0002 - 0a 6c 5b 02 dd 6f 7b f8 09 12 1d 00 00 28 00 33 
|<7>| 0003 - 00 39 00 16 00 32 00 38 00 13 00 66 00 90 00 91 
|<7>| 0004 - 00 8f 00 8e 00 2f 00 35 00 0a 00 05 00 04 00 8c 
|<7>| 0005 - 00 8d 00 8b 00 8a 01 00 00 cd 00 09 00 03 02 00 
|<7>| 0006 - 01 00 00 00 0e 00 0c 00 00 09 6c 6f 63 61 6c 68 
|<7>| 0007 - 6f 73 74 00 23 00 b0 cf ce 80 52 84 e4 ae ef 46 
|<7>| 0008 - 5f f8 32 c6 88 11 34 e5 ba e4 20 1a 17 a5 a3 37 
|<7>| 0009 - 70 c4 7c 7b f5 57 cf 29 6c 1b e6 f4 a5 60 48 fd 
|<7>| 000a - 2a 13 20 ec 27 d9 b7 96 60 91 a2 a4 eb b6 79 bf 
|<7>| 000b - 1f 4b 98 f8 dc ac f5 34 03 2a 54 65 21 9e 75 66 
|<7>| 000c - 58 c0 e2 95 fc 9e 47 fc 68 38 cf 36 33 92 42 53 
|<7>| 000d - 63 b6 6d 4c 13 3f 07 91 d8 a2 74 66 1d c0 d8 f9 
|<7>| 000e - 60 5c ca 1b a7 50 46 d5 26 4d 5f 2b a2 ff 26 fa 
|<7>| 000f - 5a 47 5a 46 0f 4e a8 24 65 cf 37 87 10 dd 04 b1 
|<7>| 0010 - 78 50 f6 18 df 0d e3 42 06 64 9b 02 6c f8 45 12 
|<7>| 0011 - 4a 82 69 28 8e ac 0c 3e 2d e2 28 c0 7e 55 73 3c 
|<7>| 0012 - 24 11 c3 48 75 0e 2b 
|<4>| REC[0x1a9e610]: Sent Packet[1] Handshake(22) with length: 295
|<7>| READ: Got 5 bytes from 0x4
|<7>| READ: read 5 bytes from 0x4
|<7>| 0000 - 16 03 01 00 2a 
|<7>| RB: Have 0 bytes into buffer. Adding 5 bytes.
|<7>| RB: Requested 5 bytes
|<4>| REC[0x1a9e610]: Expected Packet[0] Handshake(22) with length: 1
|<4>| REC[0x1a9e610]: Received Packet[0] Handshake(22) with length: 42
|<7>| READ: Got 42 bytes from 0x4
|<7>| READ: read 42 bytes from 0x4
|<7>| 0000 - 02 00 00 26 03 01 4a 6a e4 35 92 08 4d 6d 10 91 
|<7>| 0001 - ec 55 33 fd 3b 64 9e 29 ae 8c 00 8e 0f 5e 03 9d 
|<7>| 0002 - 3b 4c ee 56 50 99 00 00 33 00 
|<7>| RB: Have 5 bytes into buffer. Adding 42 bytes.
|<7>| RB: Requested 47 bytes
|<2>| ASSERT: gnutls_cipher.c:204
|<4>| REC[0x1a9e610]: Decrypted Packet[0] Handshake(22) with length: 42
|<6>| BUF[HSK]: Inserted 42 bytes of Data(22)
|<6>| BUF[REC][HD]: Read 1 bytes of Data(22)
|<6>| BUF[REC][HD]: Read 3 bytes of Data(22)
|<3>| HSK[0x1a9e610]: SERVER HELLO was received [42 bytes]
|<6>| BUF[REC][HD]: Read 38 bytes of Data(22)
|<6>| BUF[HSK]: Peeked 0 bytes of Data
|<6>| BUF[HSK]: Emptied buffer
|<6>| BUF[HSK]: Inserted 4 bytes of Data
|<6>| BUF[HSK]: Inserted 38 bytes of Data
|<3>| HSK[0x1a9e610]: Server's version: 3.1
|<3>| HSK[0x1a9e610]: SessionID length: 0
|<3>| HSK[0x1a9e610]: SessionID: 
|<3>| HSK[0x1a9e610]: Selected cipher suite: DHE_RSA_AES_128_CBC_SHA1
|<2>| ASSERT: gnutls_extensions.c:136
|<7>| READ: Got 5 bytes from 0x4
|<7>| READ: read 5 bytes from 0x4
|<7>| 0000 - 14 03 01 00 01 
|<7>| RB: Have 0 bytes into buffer. Adding 5 bytes.
|<7>| RB: Requested 5 bytes
|<4>| REC[0x1a9e610]: Expected Packet[1] Handshake(22) with length: 1
|<4>| REC[0x1a9e610]: Received Packet[1] Change Cipher Spec(20) with length: 1
|<7>| READ: Got 1 bytes from 0x4
|<7>| READ: read 1 bytes from 0x4
|<7>| 0000 - 01 
|<7>| RB: Have 5 bytes into buffer. Adding 1 bytes.
|<7>| RB: Requested 6 bytes
|<2>| ASSERT: gnutls_cipher.c:204
|<4>| REC[0x1a9e610]: Decrypted Packet[1] Change Cipher Spec(20) with length: 1
|<2>| ASSERT: gnutls_record.c:712
|<2>| ASSERT: gnutls_record.c:1048
|<2>| ASSERT: gnutls_buffers.c:1032
|<2>| ASSERT: gnutls_handshake.c:1064
|<2>| ASSERT: gnutls_kx.c:715
|<2>| ASSERT: gnutls_handshake.c:2399
|<6>| BUF[HSK]: Cleared Data from buffer
*** Fatal error: An unexpected TLS packet was received.
*** Handshake has failed
GNUTLS ERROR: An unexpected TLS packet was received.
- Disconnecting


- Connecting again- trying to resume previous session
Resolving 'localhost'...
Connecting to '127.0.0.1:10000'...
Regards,
-- 
Daiki Ueno

reply via email to

[Prev in Thread] Current Thread [Next in Thread]