mirror of
https://github.com/refraction-networking/utls.git
synced 2025-04-03 03:57:36 +03:00
Adds support for following TLS 1.3 extensions: - PSKKeyExchangeModes - SupportedVersions - KeyShare and uses them to implement newest Chrome and Firefox parrots. Tests for default Golang uTLS were regenerated because they previously used TLS-1.2 as max version.
119 lines
8.9 KiB
Text
119 lines
8.9 KiB
Text
>>> Flow 1 (client to server)
|
|
00000000 16 03 01 02 00 01 00 01 fc 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 24 13 01 |.............$..|
|
|
00000050 13 03 13 02 c0 2b c0 2f cc a9 cc a8 c0 2c c0 30 |.....+./.....,.0|
|
|
00000060 c0 0a c0 09 c0 13 c0 14 00 33 00 39 00 2f 00 35 |.........3.9./.5|
|
|
00000070 00 0a 01 00 01 8f 00 00 00 05 00 03 00 00 00 00 |................|
|
|
00000080 17 00 00 ff 01 00 01 00 00 0a 00 0e 00 0c 00 1d |................|
|
|
00000090 00 17 00 18 00 19 01 00 01 01 00 0b 00 02 01 00 |................|
|
|
000000a0 00 23 00 00 00 10 00 0e 00 0c 02 68 32 08 68 74 |.#.........h2.ht|
|
|
000000b0 74 70 2f 31 2e 31 00 05 00 05 01 00 00 00 00 00 |tp/1.1..........|
|
|
000000c0 33 00 6b 00 69 00 1d 00 20 2f e5 7d a3 47 cd 62 |3.k.i... /.}.G.b|
|
|
000000d0 43 15 28 da ac 5f bb 29 07 30 ff f6 84 af c4 cf |C.(.._.).0......|
|
|
000000e0 c2 ed 90 99 5f 58 cb 3b 74 00 17 00 41 04 1e 18 |...._X.;t...A...|
|
|
000000f0 37 ef 0d 19 51 88 35 75 71 b5 e5 54 5b 12 2e 8f |7...Q.5uq..T[...|
|
|
00000100 09 67 fd a7 24 20 3e b2 56 1c ce 97 28 5e f8 2b |.g..$ >.V...(^.+|
|
|
00000110 2d 4f 9e f1 07 9f 6c 4b 5b 83 56 e2 32 42 e9 58 |-O....lK[.V.2B.X|
|
|
00000120 b6 d7 49 a6 b5 68 1a 41 03 56 6b dc 5a 89 00 2b |..I..h.A.Vk.Z..+|
|
|
00000130 00 09 08 03 04 03 03 03 02 03 01 00 0d 00 18 00 |................|
|
|
00000140 16 04 03 05 03 06 03 08 04 08 05 08 06 04 01 05 |................|
|
|
00000150 01 06 01 02 03 02 01 00 2d 00 02 01 01 00 1c 00 |........-.......|
|
|
00000160 02 40 01 00 15 00 9e 00 00 00 00 00 00 00 00 00 |.@..............|
|
|
00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
|
|
00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
|
|
00000190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
|
|
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
|
|
000001b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
|
|
000001c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
|
|
000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
|
|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
|
|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
|
|
00000200 00 00 00 00 00 |.....|
|
|
>>> Flow 2 (server to client)
|
|
00000000 16 03 03 00 41 02 00 00 3d 03 03 56 ab 5d c0 ef |....A...=..V.]..|
|
|
00000010 31 20 e5 df 71 e7 8f 44 22 b8 eb c1 d6 60 a4 8e |1 ..q..D"....`..|
|
|
00000020 14 21 eb 9a 9d 7a 8f a6 a7 68 6a 00 c0 0a 00 00 |.!...z...hj.....|
|
|
00000030 15 ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 23 |...............#|
|
|
00000040 00 00 00 17 00 00 16 03 03 02 0e 0b 00 02 0a 00 |................|
|
|
00000050 02 07 00 02 04 30 82 02 00 30 82 01 62 02 09 00 |.....0...0..b...|
|
|
00000060 b8 bf 2d 47 a0 d2 eb f4 30 09 06 07 2a 86 48 ce |..-G....0...*.H.|
|
|
00000070 3d 04 01 30 45 31 0b 30 09 06 03 55 04 06 13 02 |=..0E1.0...U....|
|
|
00000080 41 55 31 13 30 11 06 03 55 04 08 13 0a 53 6f 6d |AU1.0...U....Som|
|
|
00000090 65 2d 53 74 61 74 65 31 21 30 1f 06 03 55 04 0a |e-State1!0...U..|
|
|
000000a0 13 18 49 6e 74 65 72 6e 65 74 20 57 69 64 67 69 |..Internet Widgi|
|
|
000000b0 74 73 20 50 74 79 20 4c 74 64 30 1e 17 0d 31 32 |ts Pty Ltd0...12|
|
|
000000c0 31 31 32 32 31 35 30 36 33 32 5a 17 0d 32 32 31 |1122150632Z..221|
|
|
000000d0 31 32 30 31 35 30 36 33 32 5a 30 45 31 0b 30 09 |120150632Z0E1.0.|
|
|
000000e0 06 03 55 04 06 13 02 41 55 31 13 30 11 06 03 55 |..U....AU1.0...U|
|
|
000000f0 04 08 13 0a 53 6f 6d 65 2d 53 74 61 74 65 31 21 |....Some-State1!|
|
|
00000100 30 1f 06 03 55 04 0a 13 18 49 6e 74 65 72 6e 65 |0...U....Interne|
|
|
00000110 74 20 57 69 64 67 69 74 73 20 50 74 79 20 4c 74 |t Widgits Pty Lt|
|
|
00000120 64 30 81 9b 30 10 06 07 2a 86 48 ce 3d 02 01 06 |d0..0...*.H.=...|
|
|
00000130 05 2b 81 04 00 23 03 81 86 00 04 00 c4 a1 ed be |.+...#..........|
|
|
00000140 98 f9 0b 48 73 36 7e c3 16 56 11 22 f2 3d 53 c3 |...Hs6~..V.".=S.|
|
|
00000150 3b 4d 21 3d cd 6b 75 e6 f6 b0 dc 9a df 26 c1 bc |;M!=.ku......&..|
|
|
00000160 b2 87 f0 72 32 7c b3 64 2f 1c 90 bc ea 68 23 10 |...r2|.d/....h#.|
|
|
00000170 7e fe e3 25 c0 48 3a 69 e0 28 6d d3 37 00 ef 04 |~..%.H:i.(m.7...|
|
|
00000180 62 dd 0d a0 9c 70 62 83 d8 81 d3 64 31 aa 9e 97 |b....pb....d1...|
|
|
00000190 31 bd 96 b0 68 c0 9b 23 de 76 64 3f 1a 5c 7f e9 |1...h..#.vd?.\..|
|
|
000001a0 12 0e 58 58 b6 5f 70 dd 9b d8 ea d5 d7 f5 d5 cc |..XX._p.........|
|
|
000001b0 b9 b6 9f 30 66 5b 66 9a 20 e2 27 e5 bf fe 3b 30 |...0f[f. .'...;0|
|
|
000001c0 09 06 07 2a 86 48 ce 3d 04 01 03 81 8c 00 30 81 |...*.H.=......0.|
|
|
000001d0 88 02 42 01 88 a2 4f eb e2 45 c5 48 7d 1b ac f5 |..B...O..E.H}...|
|
|
000001e0 ed 98 9d ae 47 70 c0 5e 1b b6 2f bd f1 b6 4d b7 |....Gp.^../...M.|
|
|
000001f0 61 40 d3 11 a2 ce ee 0b 7e 92 7e ff 76 9d c3 3b |a@......~.~.v..;|
|
|
00000200 7e a5 3f ce fa 10 e2 59 ec 47 2d 7c ac da 4e 97 |~.?....Y.G-|..N.|
|
|
00000210 0e 15 a0 6f d0 02 42 01 4d fc be 67 13 9c 2d 05 |...o..B.M..g..-.|
|
|
00000220 0e bd 3f a3 8c 25 c1 33 13 83 0d 94 06 bb d4 37 |..?..%.3.......7|
|
|
00000230 7a f6 ec 7a c9 86 2e dd d7 11 69 7f 85 7c 56 de |z..z......i..|V.|
|
|
00000240 fb 31 78 2b e4 c7 78 0d ae cb be 9e 4e 36 24 31 |.1x+..x.....N6$1|
|
|
00000250 7b 6a 0f 39 95 12 07 8f 2a 16 03 03 00 b7 0c 00 |{j.9....*.......|
|
|
00000260 00 b3 03 00 1d 20 61 f9 01 d0 ff f0 a6 f5 c0 9d |..... a.........|
|
|
00000270 43 bd 29 bb 1c 82 73 65 d5 dd 8e b9 df ed ee cd |C.)...se........|
|
|
00000280 4d 67 49 f0 05 6f 04 03 00 8b 30 81 88 02 42 00 |MgI..o....0...B.|
|
|
00000290 8a 28 93 2a 7d 8c 6c 24 30 2e 63 3b 36 20 ce 2a |.(.*}.l$0.c;6 .*|
|
|
000002a0 a7 6d 03 ce ea 63 0e e5 d0 eb cf b9 cc c4 d1 93 |.m...c..........|
|
|
000002b0 34 0c 19 8d 31 f9 25 0d 7e 57 84 6c ae e0 a2 71 |4...1.%.~W.l...q|
|
|
000002c0 8b 41 60 4f 57 e4 51 eb 73 58 e2 fc 6b 5f 5e 51 |.A`OW.Q.sX..k_^Q|
|
|
000002d0 bb 02 42 01 1a 1f 42 92 94 48 e0 0b 04 3e 08 90 |..B...B..H...>..|
|
|
000002e0 b8 9c 11 72 25 aa a8 ab 6c 53 ce 11 05 61 33 80 |...r%...lS...a3.|
|
|
000002f0 ba f0 c2 bf cb 8d 94 0c ca 2b 27 17 88 70 cd a5 |.........+'..p..|
|
|
00000300 c7 5a 10 98 07 a6 87 60 5b a8 16 4e 08 94 db f9 |.Z.....`[..N....|
|
|
00000310 68 1f e6 5b 4a 16 03 03 00 04 0e 00 00 00 |h..[J.........|
|
|
>>> Flow 3 (client to server)
|
|
00000000 16 03 03 00 25 10 00 00 21 20 2f e5 7d a3 47 cd |....%...! /.}.G.|
|
|
00000010 62 43 15 28 da ac 5f bb 29 07 30 ff f6 84 af c4 |bC.(.._.).0.....|
|
|
00000020 cf c2 ed 90 99 5f 58 cb 3b 74 14 03 03 00 01 01 |....._X.;t......|
|
|
00000030 16 03 03 00 40 00 00 00 00 00 00 00 00 00 00 00 |....@...........|
|
|
00000040 00 00 00 00 00 03 58 cd 2a 23 41 23 03 8f 32 2f |......X.*#A#..2/|
|
|
00000050 93 02 c4 f4 30 59 50 a9 d6 08 cf d6 33 3f af 10 |....0YP.....3?..|
|
|
00000060 c8 28 c1 85 c0 4a 96 a8 f9 fa 62 23 75 ec 64 33 |.(...J....b#u.d3|
|
|
00000070 72 1b 05 76 c1 |r..v.|
|
|
>>> Flow 4 (server to client)
|
|
00000000 16 03 03 00 aa 04 00 00 a6 00 00 1c 20 00 a0 be |............ ...|
|
|
00000010 8b 3a 4e c0 3f a8 c9 dd 1a 81 ee ed ee 4d ad 6e |.:N.?........M.n|
|
|
00000020 cf 26 48 74 aa dc 23 15 e7 5c b6 d5 e6 44 59 da |.&Ht..#..\...DY.|
|
|
00000030 18 d0 e7 86 3f fd 05 4e 2b 6d 68 59 94 6a 0f 0c |....?..N+mhY.j..|
|
|
00000040 8a be 2e fe e4 1d 84 f7 6a aa 6f 6c 74 7a 91 8c |........j.oltz..|
|
|
00000050 85 85 b2 8b f1 f6 5c d1 bb f9 63 27 9d f8 03 e2 |......\...c'....|
|
|
00000060 a3 5d 03 b9 95 c9 c9 69 2a a8 eb 70 34 d4 2a 22 |.].....i*..p4.*"|
|
|
00000070 cb 89 08 78 fb 68 d9 e7 a1 ce 6b 72 34 ee a9 b1 |...x.h....kr4...|
|
|
00000080 de e6 1b 5b b3 ed 0b 91 86 36 ed a6 bc 7f 78 26 |...[.....6....x&|
|
|
00000090 20 1c 02 84 57 a2 fa f3 e5 64 30 5e 10 a8 65 32 | ...W....d0^..e2|
|
|
000000a0 63 45 64 94 4d 8d f7 46 4b 04 39 4e 8e 99 94 14 |cEd.M..FK.9N....|
|
|
000000b0 03 03 00 01 01 16 03 03 00 40 da e7 9e cf bd 7d |.........@.....}|
|
|
000000c0 b3 3f b9 9f a2 25 2d 61 fe 6b ed b5 b8 05 fa 09 |.?...%-a.k......|
|
|
000000d0 8b c7 79 a2 4d 40 82 79 65 5b e9 57 2c 87 8c 83 |..y.M@.ye[.W,...|
|
|
000000e0 7c 79 87 c9 6a e3 bc 1c ab b2 af c0 d0 0c 80 1d ||y..j...........|
|
|
000000f0 4c 41 ce ae 84 68 c6 24 c6 94 |LA...h.$..|
|
|
>>> Flow 5 (client to server)
|
|
00000000 17 03 03 00 30 00 00 00 00 00 00 00 00 00 00 00 |....0...........|
|
|
00000010 00 00 00 00 00 2a ee ae 32 47 dd 81 3c 2c e1 d3 |.....*..2G..<,..|
|
|
00000020 6d 44 ea 30 64 be 77 08 f4 17 de 56 a7 c1 d9 37 |mD.0d.w....V...7|
|
|
00000030 17 6f 88 35 a3 15 03 03 00 30 00 00 00 00 00 00 |.o.5.....0......|
|
|
00000040 00 00 00 00 00 00 00 00 00 00 ac cf 1b 73 bf 8d |.............s..|
|
|
00000050 39 d4 3e c3 fc 37 48 98 e3 85 60 7d 18 22 11 de |9.>..7H...`}."..|
|
|
00000060 f4 85 c9 16 f1 41 90 e0 79 a8 |.....A..y.|
|