utls/testdata/Server-TLSv13-HelloRetryRequest
Filippo Valsorda b838c1c320 crypto/tls: add SessionState and use it on the server side
This change by itself is useless, because the application has no way to
access or provide SessionStates to crypto/tls, but they will be provided
in following CLs.

For #60105

Change-Id: I8d5de79b1eda0a778420134cf6f346246a1bb296
Reviewed-on: https://go-review.googlesource.com/c/go/+/496818
Reviewed-by: Marten Seemann <martenseemann@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Filippo Valsorda <filippo@golang.org>
2023-05-24 23:56:32 +00:00

122 lines
9.1 KiB
Text

>>> Flow 1 (client to server)
00000000 16 03 01 00 c4 01 00 00 c0 03 03 5b 05 89 9b cf |...........[....|
00000010 54 f8 75 8d 11 c5 d6 04 16 62 34 91 ec cf c2 ce |T.u......b4.....|
00000020 d5 76 8b 08 92 5e 98 d9 84 7f d4 20 b6 c5 eb ac |.v...^..... ....|
00000030 d5 0d 0a dc e8 5a 00 83 22 6e cc e4 fd 87 bd ea |.....Z.."n......|
00000040 c3 cb 19 0d 33 f0 99 b0 0a 58 91 bb 00 04 13 03 |....3....X......|
00000050 00 ff 01 00 00 73 00 0b 00 04 03 00 01 02 00 0a |.....s..........|
00000060 00 06 00 04 00 1d 00 17 00 16 00 00 00 17 00 00 |................|
00000070 00 0d 00 1e 00 1c 04 03 05 03 06 03 08 07 08 08 |................|
00000080 08 09 08 0a 08 0b 08 04 08 05 08 06 04 01 05 01 |................|
00000090 06 01 00 2b 00 03 02 03 04 00 2d 00 02 01 01 00 |...+......-.....|
000000a0 33 00 26 00 24 00 1d 00 20 4a 14 6c 1a e9 34 5a |3.&.$... J.l..4Z|
000000b0 7b e5 86 f5 0b 49 ad 15 6d f0 7c 6f 85 4d af fd |{....I..m.|o.M..|
000000c0 98 aa 14 6b f2 fd 93 f3 3e |...k....>|
>>> Flow 2 (server to client)
00000000 16 03 03 00 58 02 00 00 54 03 03 cf 21 ad 74 e5 |....X...T...!.t.|
00000010 9a 61 11 be 1d 8c 02 1e 65 b8 91 c2 a2 11 16 7a |.a......e......z|
00000020 bb 8c 5e 07 9e 09 e2 c8 a8 33 9c 20 b6 c5 eb ac |..^......3. ....|
00000030 d5 0d 0a dc e8 5a 00 83 22 6e cc e4 fd 87 bd ea |.....Z.."n......|
00000040 c3 cb 19 0d 33 f0 99 b0 0a 58 91 bb 13 03 00 00 |....3....X......|
00000050 0c 00 2b 00 02 03 04 00 33 00 02 00 17 14 03 03 |..+.....3.......|
00000060 00 01 01 |...|
>>> Flow 3 (client to server)
00000000 14 03 03 00 01 01 16 03 03 00 e5 01 00 00 e1 03 |................|
00000010 03 5b 05 89 9b cf 54 f8 75 8d 11 c5 d6 04 16 62 |.[....T.u......b|
00000020 34 91 ec cf c2 ce d5 76 8b 08 92 5e 98 d9 84 7f |4......v...^....|
00000030 d4 20 b6 c5 eb ac d5 0d 0a dc e8 5a 00 83 22 6e |. .........Z.."n|
00000040 cc e4 fd 87 bd ea c3 cb 19 0d 33 f0 99 b0 0a 58 |..........3....X|
00000050 91 bb 00 04 13 03 00 ff 01 00 00 94 00 0b 00 04 |................|
00000060 03 00 01 02 00 0a 00 06 00 04 00 1d 00 17 00 16 |................|
00000070 00 00 00 17 00 00 00 0d 00 1e 00 1c 04 03 05 03 |................|
00000080 06 03 08 07 08 08 08 09 08 0a 08 0b 08 04 08 05 |................|
00000090 08 06 04 01 05 01 06 01 00 2b 00 03 02 03 04 00 |.........+......|
000000a0 2d 00 02 01 01 00 33 00 47 00 45 00 17 00 41 04 |-.....3.G.E...A.|
000000b0 4d c4 a6 00 dd a7 3a 26 86 56 a0 9e 2a f4 78 98 |M.....:&.V..*.x.|
000000c0 58 7b f6 5e 94 d9 56 9c 26 47 c5 55 09 12 93 aa |X{.^..V.&G.U....|
000000d0 af 64 dc ae 83 1c 12 f4 5b dc 60 fd a7 d0 bd b6 |.d......[.`.....|
000000e0 0c 54 ac 4e e5 79 91 d0 55 1e 2a 75 34 e0 74 67 |.T.N.y..U.*u4.tg|
>>> Flow 4 (server to client)
00000000 16 03 03 00 9b 02 00 00 97 03 03 00 00 00 00 00 |................|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 00 00 00 20 b6 c5 eb ac |........... ....|
00000030 d5 0d 0a dc e8 5a 00 83 22 6e cc e4 fd 87 bd ea |.....Z.."n......|
00000040 c3 cb 19 0d 33 f0 99 b0 0a 58 91 bb 13 03 00 00 |....3....X......|
00000050 4f 00 2b 00 02 03 04 00 33 00 45 00 17 00 41 04 |O.+.....3.E...A.|
00000060 1e 18 37 ef 0d 19 51 88 35 75 71 b5 e5 54 5b 12 |..7...Q.5uq..T[.|
00000070 2e 8f 09 67 fd a7 24 20 3e b2 56 1c ce 97 28 5e |...g..$ >.V...(^|
00000080 f8 2b 2d 4f 9e f1 07 9f 6c 4b 5b 83 56 e2 32 42 |.+-O....lK[.V.2B|
00000090 e9 58 b6 d7 49 a6 b5 68 1a 41 03 56 6b dc 5a 89 |.X..I..h.A.Vk.Z.|
000000a0 17 03 03 00 17 9b 52 89 a4 2c 9a 04 4e be e9 f0 |......R..,..N...|
000000b0 98 f7 fd 90 0c ab 67 21 bf 53 53 28 17 03 03 02 |......g!.SS(....|
000000c0 6d af d7 93 14 68 31 a0 97 e5 28 56 02 91 70 fe |m....h1...(V..p.|
000000d0 34 4a bf 70 6b 3c 3d 90 bb a5 25 6a 7c dc 04 83 |4J.pk<=...%j|...|
000000e0 07 a3 07 21 3c 07 d3 7a b2 e8 f0 42 a3 3e e9 60 |...!<..z...B.>.`|
000000f0 e8 a1 8a 56 8a 5d eb 49 13 41 fa a2 f4 f9 5e f7 |...V.].I.A....^.|
00000100 76 cb bc 53 d9 9e dd 80 84 14 af b8 3b 38 40 3b |v..S........;8@;|
00000110 0d b7 22 be e8 17 5b 1b 0d 83 da 77 73 40 3b ec |.."...[....ws@;.|
00000120 5e 4b ff 3b a9 8e b2 a7 a5 2d 0b 36 a6 7b 7b fa |^K.;.....-.6.{{.|
00000130 19 b3 0d 8d 95 f2 d9 b3 a9 e1 7c a7 c5 f3 1e 07 |..........|.....|
00000140 8b 69 f8 6f 25 7e 58 fd 87 3f f4 c9 41 56 6a 57 |.i.o%~X..?..AVjW|
00000150 65 c5 b7 6a b0 8a b4 d3 5a 35 0b 45 1f b5 2d 00 |e..j....Z5.E..-.|
00000160 0c f6 12 24 81 bf e0 a9 a6 70 2c 8a 9f 36 c0 8f |...$.....p,..6..|
00000170 d1 ad f9 3e 22 fb a8 0d 27 9d 9d d5 1b 59 7b 02 |...>"...'....Y{.|
00000180 f0 dd 47 cc cb cc 89 23 ef 84 dd 23 86 81 99 64 |..G....#...#...d|
00000190 0c 61 87 f1 39 d4 ce 0f 1d 3e d7 57 23 50 0d f1 |.a..9....>.W#P..|
000001a0 99 e7 b1 ac d2 73 e4 f0 3b 70 15 ac 13 39 79 40 |.....s..;p...9y@|
000001b0 ac 8a 10 25 95 bc b9 bc db 45 22 d1 98 32 d4 dc |...%.....E"..2..|
000001c0 b2 6a fe 7c 62 88 92 69 5d 2f f4 7c f2 06 7c 2e |.j.|b..i]/.|..|.|
000001d0 6c ac f6 13 04 b4 a2 73 31 b2 d8 5f 01 b5 a1 96 |l......s1.._....|
000001e0 67 d1 d3 44 6a e1 e4 d8 cb 60 70 9a 8e ef d9 4c |g..Dj....`p....L|
000001f0 8d d0 17 20 e1 ea 1f 67 71 38 35 07 a7 fb 0c 67 |... ...gq85....g|
00000200 60 69 ac 7e 44 73 09 c2 50 70 81 4e c6 07 44 e1 |`i.~Ds..Pp.N..D.|
00000210 12 75 57 59 13 e0 dd c8 6b b8 cd 3a 1e aa d0 4c |.uWY....k..:...L|
00000220 92 7b 14 64 71 ae 16 27 87 ab 3a a4 6d ae 6c b5 |.{.dq..'..:.m.l.|
00000230 de c4 5f 00 33 9e e1 31 36 bf b8 37 bb 50 a3 89 |.._.3..16..7.P..|
00000240 4a 34 e5 59 e5 98 3d 68 1b 3a 5d 44 8d e6 32 11 |J4.Y..=h.:]D..2.|
00000250 16 d1 21 a1 24 6e 48 d5 b7 52 96 a7 4b a4 11 73 |..!.$nH..R..K..s|
00000260 71 6d 2e b9 63 4b f5 7a 37 c5 ac 06 81 96 eb bf |qm..cK.z7.......|
00000270 8f f7 5a 94 13 95 4f f3 a4 2d 1f f8 3d 48 88 1d |..Z...O..-..=H..|
00000280 ff 2c 74 d8 42 e2 fe 17 9a 38 46 62 e4 9d e9 3a |.,t.B....8Fb...:|
00000290 7e f2 06 e9 d1 8f 08 0c 49 49 96 34 95 36 f6 07 |~.......II.4.6..|
000002a0 65 ae 87 62 fe 63 6c f7 af 43 74 2a 5b 14 ba 6e |e..b.cl..Ct*[..n|
000002b0 8b 4e 20 00 6b ff 5e ef bc ef a7 4d e3 d6 9c 3d |.N .k.^....M...=|
000002c0 d6 e0 68 dc 60 3c ab 6a 88 9f d5 bb 8e 07 09 a1 |..h.`<.j........|
000002d0 93 22 0a bb 8e 9f 8e 76 41 7e 4f 74 f4 56 6f 74 |.".....vA~Ot.Vot|
000002e0 03 55 93 af b1 28 d5 0d 12 6a 91 ba 2d 1c a7 4d |.U...(...j..-..M|
000002f0 48 86 8c b8 33 31 0d 4a 5c 9c c9 ba 7b 56 fb 06 |H...31.J\...{V..|
00000300 4e d5 a7 78 02 b9 d7 8d c2 6e cc f8 76 89 72 2a |N..x.....n..v.r*|
00000310 d6 de 5a 83 e4 48 ec 10 da a5 19 40 78 31 55 17 |..Z..H.....@x1U.|
00000320 71 3f aa dd 9e b3 4e 7b 67 7a 99 d5 90 55 17 03 |q?....N{gz...U..|
00000330 03 00 99 2a 16 e8 61 11 0c 2d c4 2c 38 19 6e 4e |...*..a..-.,8.nN|
00000340 30 39 60 39 6c 93 a9 53 1b 0e 36 29 5b af 0e cc |09`9l..S..6)[...|
00000350 71 94 e6 b3 9c 5d 5a 49 29 ef f0 2d 61 a2 8c 60 |q....]ZI)..-a..`|
00000360 e9 45 a1 3b 98 85 db 03 82 cc 90 ec 13 39 82 1b |.E.;.........9..|
00000370 69 d2 24 13 62 73 c6 ce 96 db 45 ce bb d3 0a 97 |i.$.bs....E.....|
00000380 3e ce 79 ae 7d 1c 42 7d 5a ec c8 fa fb 05 ed be |>.y.}.B}Z.......|
00000390 7d 4d bf bf ea 1d 2f fd 7f 8f c3 c1 56 6b 97 88 |}M..../.....Vk..|
000003a0 96 5e ac 8f 6d 42 4e 34 9d 93 75 be 98 a2 8d 03 |.^..mBN4..u.....|
000003b0 bc ae f5 f5 6c 9b 2f 95 c0 32 ea 0d ea 48 94 56 |....l./..2...H.V|
000003c0 43 12 d8 dd 22 e6 33 76 bf 64 4d ff 17 03 03 00 |C...".3v.dM.....|
000003d0 35 f6 5d be e5 bc 2d ea ce 4c 66 ab 48 c1 b1 cc |5.]...-..Lf.H...|
000003e0 58 da 44 14 05 7b 15 39 2e 7a 32 71 52 83 ba 10 |X.D..{.9.z2qR...|
000003f0 31 0f 79 d9 ee 7b 41 74 0a 54 e0 53 45 dc bc 6c |1.y..{At.T.SE..l|
00000400 0e e4 a1 cc e1 b0 17 03 03 00 83 f6 e9 97 44 19 |..............D.|
00000410 e9 2a 56 50 58 ea 44 02 c7 be c7 ca 73 2c 3b e2 |.*VPX.D.....s,;.|
00000420 73 ec 77 31 a0 a5 7b 1b ce 3e 6e 6b f0 d4 90 a8 |s.w1..{..>nk....|
00000430 3a bf bd 87 07 20 e7 70 8e f9 4e 32 42 e5 24 13 |:.... .p..N2B.$.|
00000440 55 b4 be ce 44 03 22 75 30 f1 cf 09 57 4c 38 83 |U...D."u0...WL8.|
00000450 71 d0 6b 1c df 0c f6 3b 33 e5 2f 15 62 d9 eb 8e |q.k....;3./.b...|
00000460 8b 56 b8 10 78 fd e1 d5 0d 8e 3a 41 ab 6d 2d 78 |.V..x.....:A.m-x|
00000470 cc 3e e3 0a 60 be 26 11 84 d7 0a bc 90 bc b6 6c |.>..`.&........l|
00000480 2c 97 b0 fb 62 7b ef 45 a4 c2 e0 44 f6 18 |,...b{.E...D..|
>>> Flow 5 (client to server)
00000000 17 03 03 00 35 82 de 35 44 9b 60 8f 80 28 61 28 |....5..5D.`..(a(|
00000010 25 5d 2a 3b 41 34 f5 cc 74 67 6b b6 37 a1 0b ef |%]*;A4..tgk.7...|
00000020 8e 55 bd aa 04 40 8b 87 a1 df fb 44 89 fe 48 6d |.U...@.....D..Hm|
00000030 06 b1 b6 4e ab 86 fe d0 ec 01 |...N......|
>>> Flow 6 (server to client)
00000000 17 03 03 00 1e 0f b0 23 a1 67 31 70 27 b9 f3 77 |.......#.g1p'..w|
00000010 05 e5 3d d8 a2 c9 c8 0a b6 66 a3 28 1e 40 c0 13 |..=......f.(.@..|
00000020 87 54 18 17 03 03 00 13 bd 9a 3a ee a3 b8 53 87 |.T........:...S.|
00000030 3f d9 6f 69 49 e8 48 f5 78 3f ee |?.oiI.H.x?.|