mirror of
https://github.com/refraction-networking/utls.git
synced 2025-04-03 20:17:36 +03:00
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>
93 lines
7 KiB
Text
93 lines
7 KiB
Text
>>> Flow 1 (client to server)
|
|
00000000 16 03 01 01 10 01 00 01 0c 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 91 33 74 00 00 00 05 00 05 01 00 00 00 |....3t..........|
|
|
00000090 00 00 0a 00 0a 00 08 00 1d 00 17 00 18 00 19 00 |................|
|
|
000000a0 0b 00 02 01 00 00 0d 00 18 00 16 08 04 08 05 08 |................|
|
|
000000b0 06 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................|
|
|
000000c0 03 ff 01 00 01 00 00 10 00 10 00 0e 06 70 72 6f |.............pro|
|
|
000000d0 74 6f 32 06 70 72 6f 74 6f 31 00 12 00 00 00 2b |to2.proto1.....+|
|
|
000000e0 00 09 08 03 04 03 03 03 02 03 01 00 33 00 26 00 |............3.&.|
|
|
000000f0 24 00 1d 00 20 2f e5 7d a3 47 cd 62 43 15 28 da |$... /.}.G.bC.(.|
|
|
00000100 ac 5f bb 29 07 30 ff f6 84 af c4 cf c2 ed 90 99 |._.).0..........|
|
|
00000110 5f 58 cb 3b 74 |_X.;t|
|
|
>>> Flow 2 (server to client)
|
|
00000000 16 03 03 00 7a 02 00 00 76 03 03 8b 65 4e 74 f0 |....z...v...eNt.|
|
|
00000010 c4 05 7a a1 58 a7 fd b0 55 9e d2 15 67 1f 19 f9 |..z.X...U...g...|
|
|
00000020 25 e1 3e 89 4f a6 79 90 95 5a 8c 20 00 00 00 00 |%.>.O.y..Z. ....|
|
|
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 a5 |..+.....3.$... .|
|
|
00000060 e3 ac d0 3c 26 f8 66 41 ac b5 47 6f 63 a0 8f 0a |...<&.fA..Goc...|
|
|
00000070 6f 79 62 23 15 01 d0 57 5d 66 9c 09 50 c5 45 14 |oyb#...W]f..P.E.|
|
|
00000080 03 03 00 01 01 17 03 03 00 24 7d dc b2 50 38 8e |.........$}..P8.|
|
|
00000090 15 52 73 25 90 d3 d3 f2 19 da 76 ae 64 42 29 eb |.Rs%......v.dB).|
|
|
000000a0 21 1b 7d b1 d9 04 94 ac 71 b9 b3 e1 d7 59 17 03 |!.}.....q....Y..|
|
|
000000b0 03 02 6d cb 4e 30 d0 df 41 b8 1a 76 1d e2 a2 14 |..m.N0..A..v....|
|
|
000000c0 24 ec e4 b8 e4 5b 98 49 ed 4e 48 98 3d a7 89 d4 |$....[.I.NH.=...|
|
|
000000d0 d1 35 2f d4 12 dc 0b c3 3f e7 0c df 11 20 41 fb |.5/.....?.... A.|
|
|
000000e0 5c 24 62 82 26 ad 28 25 59 c0 c0 81 41 9d 80 b7 |\$b.&.(%Y...A...|
|
|
000000f0 db cd 41 bb 27 66 ba 55 e6 2f 52 5d 71 d4 77 6a |..A.'f.U./R]q.wj|
|
|
00000100 5c 5d 72 34 e6 83 9d c6 24 d1 be 3b 99 90 9b 22 |\]r4....$..;..."|
|
|
00000110 7f d8 81 39 d4 7b a8 f9 d7 61 82 a1 72 f9 27 0b |...9.{...a..r.'.|
|
|
00000120 b8 6a 5c 72 bd 8f 84 34 c6 d0 c8 1a b9 27 d6 7b |.j\r...4.....'.{|
|
|
00000130 12 20 37 b7 64 85 19 7e b4 37 46 df 51 77 23 be |. 7.d..~.7F.Qw#.|
|
|
00000140 c4 7a e4 7e 37 3b 53 3e 3b 86 8f 22 31 28 4b 8f |.z.~7;S>;.."1(K.|
|
|
00000150 89 0d dc 8d 67 37 53 9d 38 f2 5f 99 2c f4 76 64 |....g7S.8._.,.vd|
|
|
00000160 87 e4 ce b7 4f d0 83 99 b2 55 8c 38 8c d0 89 d1 |....O....U.8....|
|
|
00000170 2f 91 e8 ae ec b1 a6 29 65 3a 8f af 69 e0 48 00 |/......)e:..i.H.|
|
|
00000180 db 3e 30 bd 7f 4b 82 56 cf f9 5b 5e 74 d7 d5 4b |.>0..K.V..[^t..K|
|
|
00000190 47 4f 22 17 53 fc e6 98 a4 5a 25 ca 7d ca 39 e9 |GO".S....Z%.}.9.|
|
|
000001a0 fe 11 f5 ca 91 e1 25 3c 6d f2 b3 d0 9f ee 88 d2 |......%<m.......|
|
|
000001b0 dd a5 9f 7c a8 33 59 20 62 fd 4e d6 98 4b ef af |...|.3Y b.N..K..|
|
|
000001c0 a6 fa 79 f5 26 90 fe 32 0a 6a e4 40 b9 e5 4d 1a |..y.&..2.j.@..M.|
|
|
000001d0 1f 02 49 4b 1b 6b 31 53 3d 0e 04 98 17 6e 1e 4a |..IK.k1S=....n.J|
|
|
000001e0 a3 8d ba 0e 8f 33 f6 23 41 5f f8 aa 1f 57 b1 7b |.....3.#A_...W.{|
|
|
000001f0 a2 fb c6 7f da b4 56 cf d3 5e 78 de 3c 15 c5 6c |......V..^x.<..l|
|
|
00000200 62 ef 46 c4 a2 c0 fd a6 86 91 fb f2 98 57 cc 82 |b.F..........W..|
|
|
00000210 7e e7 88 1b f4 65 eb df 2a 7c 7a 81 95 e8 3c 0d |~....e..*|z...<.|
|
|
00000220 c1 85 8f 55 49 c0 50 d0 c8 5f e7 32 7c 8c c2 ae |...UI.P.._.2|...|
|
|
00000230 8c af 3f 4c 4f 23 f6 80 0b c1 c3 1c a2 50 6b 37 |..?LO#.......Pk7|
|
|
00000240 38 53 59 66 9c 5a d3 6d 39 59 99 14 79 d5 17 e3 |8SYf.Z.m9Y..y...|
|
|
00000250 89 73 9e fe ed 43 2c 4a 2f 55 c7 c6 9e cf 82 64 |.s...C,J/U.....d|
|
|
00000260 f5 5e 90 88 67 05 7a 00 b1 88 87 9c b2 51 61 1c |.^..g.z......Qa.|
|
|
00000270 c2 8a ea 9f b1 07 0c 17 ed b6 6e cc 4d 14 04 91 |..........n.M...|
|
|
00000280 65 00 3b 8f ae d0 14 64 63 92 bd 3b 14 9c 1d 40 |e.;....dc..;...@|
|
|
00000290 67 01 b1 38 26 86 4d e6 f3 20 ed f5 63 17 fc d0 |g..8&.M.. ..c...|
|
|
000002a0 fb ad 5c 17 c8 d5 18 53 8b 89 70 13 2f 83 6a 3f |..\....S..p./.j?|
|
|
000002b0 4c 57 be 71 43 1d 9f bf eb 30 7e de 7f 17 78 f1 |LW.qC....0~...x.|
|
|
000002c0 af 69 13 9b f3 4a e6 69 4e 30 dc 99 af be 6f ee |.i...J.iN0....o.|
|
|
000002d0 1d d5 39 b4 19 29 ed 5c 58 bc 4a 08 7b 34 90 21 |..9..).\X.J.{4.!|
|
|
000002e0 a5 ae 74 4c 17 95 79 8b 9c ee 47 99 32 f9 7d f2 |..tL..y...G.2.}.|
|
|
000002f0 98 93 ec 12 52 7d 36 cc a7 ca a2 cd fc ce 12 0e |....R}6.........|
|
|
00000300 32 e7 28 69 ce d4 a7 19 56 9f 90 1a d0 af f1 ee |2.(i....V.......|
|
|
00000310 77 a4 29 45 cb 2c ff 1a 90 9d 98 73 65 2a 82 77 |w.)E.,.....se*.w|
|
|
00000320 17 03 03 00 99 76 fe 3b d7 a3 d2 ec a0 28 bd ed |.....v.;.....(..|
|
|
00000330 64 41 ac 1c d0 60 79 29 26 f9 ad a1 2d 79 b6 f0 |dA...`y)&...-y..|
|
|
00000340 cc de 8f c3 92 4a 1e 02 76 7a b4 86 d3 64 b3 a6 |.....J..vz...d..|
|
|
00000350 2d bb d9 92 1e 12 1d e4 96 64 3c 41 7f 11 28 51 |-........d<A..(Q|
|
|
00000360 69 83 64 45 fb a6 2c 34 97 e8 4b e8 48 92 b0 de |i.dE..,4..K.H...|
|
|
00000370 a0 37 8e fa d8 88 29 4c 8e e4 7e 1e d2 c1 b8 f2 |.7....)L..~.....|
|
|
00000380 d3 5c 2f 09 9d e2 0b 4d 64 25 52 dc 77 d2 a4 fc |.\/....Md%R.w...|
|
|
00000390 c3 de 83 3c 04 19 f0 d9 d6 40 bb f1 8b c7 40 b3 |...<.....@....@.|
|
|
000003a0 a9 62 99 4c 64 96 a4 67 a0 6b 7c 09 b3 10 97 e1 |.b.Ld..g.k|.....|
|
|
000003b0 b5 83 9e 7e b4 97 bd b7 f9 70 48 2b aa f6 17 03 |...~.....pH+....|
|
|
000003c0 03 00 35 a6 fc 3f d4 90 93 91 02 e8 0a a6 c1 6f |..5..?.........o|
|
|
000003d0 fa ee e2 6a 41 8d fd ac 53 ae 83 73 e1 d1 17 de |...jA...S..s....|
|
|
000003e0 36 5d db c6 06 98 f9 23 db d9 8a 35 c1 9b bc a5 |6].....#...5....|
|
|
000003f0 f8 a8 8f 70 e2 c8 4e 22 |...p..N"|
|
|
>>> Flow 3 (client to server)
|
|
00000000 14 03 03 00 01 01 17 03 03 00 35 f6 6b cb 4a 37 |..........5.k.J7|
|
|
00000010 3e e2 61 7e 5b ac c5 25 cc 54 a2 6d 4e 7c 37 19 |>.a~[..%.T.mN|7.|
|
|
00000020 ea 21 af df 7b dc 04 2d db 84 ad 06 04 bd 50 f5 |.!..{..-......P.|
|
|
00000030 05 9b 19 01 37 22 d2 6f 06 c2 63 dd 95 e6 ef 45 |....7".o..c....E|
|
|
00000040 17 03 03 00 17 6d 03 e7 38 f9 a4 3c a7 c2 ee 8d |.....m..8..<....|
|
|
00000050 07 49 bd e6 e4 be 3f a3 ec 64 6c 3a 17 03 03 00 |.I....?..dl:....|
|
|
00000060 13 cc a9 19 b1 03 56 99 c1 4c d0 f5 fd 3b e2 dd |......V..L...;..|
|
|
00000070 0e ef a0 20 |... |
|