utls/testdata/Client-TLSv13-KeyUpdate
Filippo Valsorda b4c934319a crypto/tls: prevent the test server from sending session tickets
Since they are sent after the handshake in TLS 1.3, the client was not
actually consuming them, as it doesn't make any Read calls. They were
then sitting in the kernel receive buffer when the client would call
Close. The kernel would see that and send a RST, which would race the
closeNotify, causing errors.

Also, we get to trim 600 lines of useless test data.

Fixes #28852

Change-Id: I7517feab77dabab7504bfc111098ba09ea07ae5e
Reviewed-on: https://go-review.googlesource.com/c/151659
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2018-11-29 05:55:51 +00:00

102 lines
7.5 KiB
Text

>>> Flow 1 (client to server)
00000000 16 03 01 00 f8 01 00 00 f4 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 00 00 00 00 |........... ....|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 32 cc a8 |.............2..|
00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#|
00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5|
00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................|
00000080 01 00 00 79 00 05 00 05 01 00 00 00 00 00 0a 00 |...y............|
00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................|
000000a0 00 00 0d 00 18 00 16 08 04 08 05 08 06 04 01 04 |................|
000000b0 03 05 01 05 03 06 01 06 03 02 01 02 03 ff 01 00 |................|
000000c0 01 00 00 12 00 00 00 2b 00 09 08 03 04 03 03 03 |.......+........|
000000d0 02 03 01 00 33 00 26 00 24 00 1d 00 20 2f e5 7d |....3.&.$... /.}|
000000e0 a3 47 cd 62 43 15 28 da ac 5f bb 29 07 30 ff f6 |.G.bC.(.._.).0..|
000000f0 84 af c4 cf c2 ed 90 99 5f 58 cb 3b 74 |........_X.;t|
>>> Flow 2 (server to client)
00000000 16 03 03 00 7a 02 00 00 76 03 03 59 2c d4 a8 e3 |....z...v..Y,...|
00000010 ec 72 f1 2f 9b ff af 2f ab 13 fe 21 80 a5 c1 71 |.r./.../...!...q|
00000020 02 55 9b 06 67 0f 7b dd 27 32 66 20 00 00 00 00 |.U..g.{.'2f ....|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 00 00 00 00 00 00 00 00 00 00 00 13 01 00 00 |................|
00000050 2e 00 2b 00 02 03 04 00 33 00 24 00 1d 00 20 3e |..+.....3.$... >|
00000060 13 b1 51 26 01 be c0 e5 85 a7 18 aa b5 83 21 6e |..Q&..........!n|
00000070 85 48 1b ea 4c 99 13 ba b8 de 07 30 f4 9f 5b 14 |.H..L......0..[.|
00000080 03 03 00 01 01 17 03 03 00 17 9f 78 1e 98 cb 85 |...........x....|
00000090 0e 65 2b e5 20 c1 63 c1 b7 49 49 76 e3 90 0c c9 |.e+. .c..IIv....|
000000a0 b6 17 03 03 02 6d 8f 91 03 6b b7 0d 7d 79 4c 16 |.....m...k..}yL.|
000000b0 fc cb 62 11 62 12 2a 52 9a 19 7c b6 1c fc 31 d2 |..b.b.*R..|...1.|
000000c0 11 4d b4 e9 23 3c 58 3e 87 f1 9e e0 27 04 a2 fb |.M..#<X>....'...|
000000d0 21 9a 82 59 3b ea 6b 29 ec a8 0e 1c 58 99 46 9b |!..Y;.k)....X.F.|
000000e0 2b c2 90 10 5d bc df d1 a0 71 00 8f 9b 90 10 49 |+...]....q.....I|
000000f0 97 1d b5 d2 8f e2 a6 78 b1 2a e9 2d 8d 13 38 2f |.......x.*.-..8/|
00000100 db 56 bb cd 0f 08 69 f7 04 de 53 ec 3c 90 97 ca |.V....i...S.<...|
00000110 9f 63 d0 96 7f 3a 98 98 77 21 c8 ee 0f 5c 4e 97 |.c...:..w!...\N.|
00000120 3c 72 88 13 48 82 1b 70 b2 83 b4 95 03 81 05 ef |<r..H..p........|
00000130 81 40 69 36 29 44 75 0f 10 6c 8e a4 af 67 15 45 |.@i6)Du..l...g.E|
00000140 42 bc 35 3f a5 c1 a7 c2 0a e0 7f bc f2 b6 a3 53 |B.5?...........S|
00000150 b4 14 56 ed 45 5b e0 35 c6 93 3a f5 90 a7 4c 78 |..V.E[.5..:...Lx|
00000160 01 3d 6a 16 41 52 31 e7 a9 8c 29 5e e5 e4 6a 3a |.=j.AR1...)^..j:|
00000170 95 59 a0 d9 67 b5 62 ed 13 98 82 b8 9b e1 f3 cf |.Y..g.b.........|
00000180 1f 39 0e 58 d4 19 a1 59 b3 c9 d9 dc 7a 2c 78 da |.9.X...Y....z,x.|
00000190 f2 54 58 91 36 59 24 dc 90 78 53 2f d7 e5 74 10 |.TX.6Y$..xS/..t.|
000001a0 f3 ab f2 7e f8 8e 4d a9 15 b5 d8 65 85 0f e2 aa |...~..M....e....|
000001b0 40 ec b6 a6 3c d9 2e 11 17 72 6d 11 ab b5 65 8c |@...<....rm...e.|
000001c0 c1 62 8a 2e 0d b1 84 45 fa 23 b4 4e 39 9d 6b b7 |.b.....E.#.N9.k.|
000001d0 91 3c 29 87 59 2c 95 40 29 4c af 7f 67 4c e4 fb |.<).Y,.@)L..gL..|
000001e0 9b 91 5f 96 bc 0b 4a b0 8b 52 d5 92 91 42 83 85 |.._...J..R...B..|
000001f0 9a ec 81 56 ee 90 03 e7 d5 36 e9 ca e5 ed 07 4b |...V.....6.....K|
00000200 c8 ba c8 45 1b fc a8 95 b8 ff a0 9b 32 de 35 da |...E........2.5.|
00000210 af 6e 3a 0a 3a 94 6f 23 29 78 c1 21 07 7d 5e c2 |.n:.:.o#)x.!.}^.|
00000220 9f 32 6d 78 75 58 c6 81 e2 6a ee d3 ea 69 8a 31 |.2mxuX...j...i.1|
00000230 dc 86 9b ad b4 f6 29 0e 5f e3 aa e2 32 13 60 e5 |......)._...2.`.|
00000240 b8 5a 45 7b bc ad f1 ae 42 18 4c dd 10 aa 60 88 |.ZE{....B.L...`.|
00000250 b2 d5 e2 e6 cd 83 85 4d ba c4 a4 94 52 bd 70 8e |.......M....R.p.|
00000260 85 4e ef 57 f9 9f ae f0 40 50 6b 5c 3a d2 cb 7b |.N.W....@Pk\:..{|
00000270 53 c7 01 60 7c 0b 53 39 bf a8 a2 f7 ef 6c 99 a5 |S..`|.S9.....l..|
00000280 b5 23 3d d1 d5 a5 93 bc 40 41 10 29 4c a6 2d 91 |.#=.....@A.)L.-.|
00000290 5a 43 2c 7b fb ef 70 73 5f f0 13 9a 5d f2 f3 41 |ZC,{..ps_...]..A|
000002a0 7e 8b 09 f3 6f 5a c8 40 b7 18 b9 ff 4c 93 ee 8e |~...oZ.@....L...|
000002b0 f2 cb 6b 02 b8 d8 b7 d2 8d dd 2f 19 83 f7 7d bc |..k......./...}.|
000002c0 71 62 78 b4 43 29 62 76 a0 82 17 bc d8 d4 09 dd |qbx.C)bv........|
000002d0 8e 48 bf 4b dd 44 45 7a 1f 9c bd ae 0c 26 fc 71 |.H.K.DEz.....&.q|
000002e0 dc c7 49 ee 13 46 c8 dd f9 45 46 34 4c ac 02 33 |..I..F...EF4L..3|
000002f0 64 89 02 d7 93 dd 03 3e 3a 12 d7 c1 8e 18 55 33 |d......>:.....U3|
00000300 76 5f ce 26 f6 53 d0 23 3a e2 78 0f 0a fe 2f 89 |v_.&.S.#:.x.../.|
00000310 43 27 b3 17 03 03 00 99 61 da d2 f7 6d 84 f0 08 |C'......a...m...|
00000320 b0 89 f8 a4 1f b4 99 6a cf d1 08 d6 a7 03 fa f9 |.......j........|
00000330 db c2 8a 9a 74 62 0c 93 7d 7c 22 c0 2d 84 5d 96 |....tb..}|".-.].|
00000340 f8 66 05 6c c5 ab b6 5b 2d f5 10 27 c6 c3 81 13 |.f.l...[-..'....|
00000350 94 3c af 56 ca 37 ca a6 24 86 34 54 f2 60 e2 51 |.<.V.7..$.4T.`.Q|
00000360 67 5e dd 81 7f 87 81 84 15 cf b9 92 01 9c fc 90 |g^..............|
00000370 18 21 ad 6a 4a b8 4f fe 03 c8 83 08 fd 55 5a 4d |.!.jJ.O......UZM|
00000380 75 b7 e3 2d ff 9d 0a e5 61 b2 e9 82 bf 65 6a 05 |u..-....a....ej.|
00000390 d1 8d 36 82 07 8d a0 95 78 26 9e 3a c7 99 27 3f |..6.....x&.:..'?|
000003a0 54 0e a3 dd 9a 93 a6 6c 9b a3 14 46 bb cc f8 70 |T......l...F...p|
000003b0 f1 17 03 03 00 35 34 03 e6 68 dc f1 3e ae 38 69 |.....54..h..>.8i|
000003c0 87 ce 72 92 13 4a c0 4a 0d 22 28 3a 9f df 7d d5 |..r..J.J."(:..}.|
000003d0 de 5f 3c 0d 49 be b7 63 85 67 90 be 68 dc e7 88 |._<.I..c.g..h...|
000003e0 e3 58 90 43 99 0a db ee ad be 6d |.X.C......m|
>>> Flow 3 (client to server)
00000000 14 03 03 00 01 01 17 03 03 00 35 ea a5 10 9a 0a |..........5.....|
00000010 57 40 9c b7 f8 e6 01 28 9e 3f ae ce ec 73 7f 2e |W@.....(.?...s..|
00000020 84 8e a9 e3 cb 03 3b b3 1b 98 3c 09 5b 23 c2 10 |......;...<.[#..|
00000030 c1 18 47 74 a8 a5 0e 33 93 5f 83 e9 e6 aa ed f5 |..Gt...3._......|
00000040 17 03 03 00 17 80 72 fb 00 25 ff 83 4c df 43 66 |......r..%..L.Cf|
00000050 cd e5 64 2e 78 44 e4 b7 58 61 fe 01 |..d.xD..Xa..|
>>> Flow 4 (server to client)
00000000 17 03 03 00 16 54 f1 cd 5a 87 da 6a e7 a6 e5 00 |.....T..Z..j....|
00000010 60 f8 cd 6b af db 1b 85 3b 40 23 |`..k....;@#|
>>> Flow 5 (client to server)
00000000 17 03 03 00 16 b2 74 fa c8 c6 6e 4f 62 4f ea 02 |......t...nObO..|
00000010 4d 10 78 f1 b3 4a e2 e5 1d 8f 33 |M.x..J....3|
>>> Flow 6 (server to client)
00000000 17 03 03 00 1a ba bc 59 f7 ad b4 77 2f bc 3d 60 |.......Y...w/.=`|
00000010 5c bd 6c 6e 37 86 75 bd e1 41 b9 07 f6 87 47 |\.ln7.u..A....G|
>>> Flow 7 (client to server)
00000000 17 03 03 00 1d 7d 12 1b b2 a7 b7 ae 37 fb 2d 71 |.....}......7.-q|
00000010 98 ec c2 f0 7f 16 e9 b9 f9 49 05 e2 b2 c3 c6 ec |.........I......|
00000020 38 32 17 03 03 00 13 9f c4 f4 f7 e9 c9 5f e2 70 |82..........._.p|
00000030 b4 33 9f 35 f3 2a b1 cd 01 d5 |.3.5.*....|