mirror of
https://github.com/refraction-networking/utls.git
synced 2025-04-04 04:27: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.
112 lines
8.4 KiB
Text
112 lines
8.4 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 69 01 73 df df |....A...=..i.s..|
|
|
00000010 ca 82 81 fc 00 c1 65 89 eb c3 ad 09 64 65 a6 18 |......e.....de..|
|
|
00000020 bc c9 8b 3f 40 96 6f f8 11 b9 f5 00 cc a9 00 00 |...?@.o.........|
|
|
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 98 bd 05 94 bb 15 c8 d5 71 c0 |..... ........q.|
|
|
00000270 b7 c4 5e 21 be da 3b f8 6b 7f 4b 09 82 d3 e7 ef |..^!..;.k.K.....|
|
|
00000280 a8 5c 1e 01 b3 1c 04 03 00 8b 30 81 88 02 42 01 |.\........0...B.|
|
|
00000290 43 d2 ca 8c 43 05 55 55 ad 91 b7 77 43 36 78 4e |C...C.UU...wC6xN|
|
|
000002a0 86 67 fd 04 b1 79 0a 63 18 c2 cf 51 df 99 c4 97 |.g...y.c...Q....|
|
|
000002b0 ea c3 c4 43 84 c6 34 c3 9c 95 18 ad ba 28 c0 a2 |...C..4......(..|
|
|
000002c0 ad 8b 21 7f 7d d8 9e b5 ee 96 3d 3f 94 28 48 d3 |..!.}.....=?.(H.|
|
|
000002d0 7a 02 42 01 4f 02 38 6e 89 56 88 b1 64 02 88 17 |z.B.O.8n.V..d...|
|
|
000002e0 86 5b 0e a8 50 de 63 82 f3 26 53 1f 9c d0 75 1c |.[..P.c..&S...u.|
|
|
000002f0 63 2b d2 3a 29 00 f3 f6 96 97 66 3b 36 d2 0a e3 |c+.:).....f;6...|
|
|
00000300 81 d4 b4 6c c8 9c d0 74 ea 62 11 6d 86 7a 77 a2 |...l...t.b.m.zw.|
|
|
00000310 6e f6 9a ce 17 16 03 03 00 04 0e 00 00 00 |n.............|
|
|
>>> 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 20 ee cd ff 71 14 d8 37 16 93 22 9e |.... ...q..7..".|
|
|
00000040 8b e0 77 01 7d 70 a1 58 65 7e 17 2f e1 5a ee d5 |..w.}p.Xe~./.Z..|
|
|
00000050 d6 59 7a 5c ce |.Yz\.|
|
|
>>> Flow 4 (server to client)
|
|
00000000 16 03 03 00 aa 04 00 00 a6 00 00 1c 20 00 a0 05 |............ ...|
|
|
00000010 91 92 89 e6 c4 45 1a 7b ba 8c 0e 86 47 97 7c b6 |.....E.{....G.|.|
|
|
00000020 be 69 71 30 c1 0e 1e d0 5f 82 81 ab 7a 81 cd 54 |.iq0...._...z..T|
|
|
00000030 52 ae e8 c1 11 75 d9 e5 04 80 35 68 7d 6b 1c 13 |R....u....5h}k..|
|
|
00000040 cd 13 a1 07 6e af c5 c0 28 04 61 66 93 87 ed 7e |....n...(.af...~|
|
|
00000050 e9 66 29 f8 83 25 21 f9 37 3b c9 d8 97 c3 36 89 |.f)..%!.7;....6.|
|
|
00000060 ac 2e e7 a8 94 57 be 24 5b e3 fe 07 e9 e6 ec 3a |.....W.$[......:|
|
|
00000070 22 6d 5d 46 db 1e ae 85 d0 8e 4a 64 f9 42 22 8f |"m]F......Jd.B".|
|
|
00000080 20 05 32 fc d0 3e 20 6f e5 91 d4 fc 5f ed d8 c0 | .2..> o...._...|
|
|
00000090 62 3d 23 1e fc 48 da c7 22 90 45 15 af f7 2e 01 |b=#..H..".E.....|
|
|
000000a0 f9 f5 25 39 a4 f3 8f a1 36 ab b1 26 20 4c 07 14 |..%9....6..& L..|
|
|
000000b0 03 03 00 01 01 16 03 03 00 20 ef 51 97 6a 16 7d |......... .Q.j.}|
|
|
000000c0 f4 d6 f4 6d b6 96 5b 5a cd 1d 04 82 06 82 37 ec |...m..[Z......7.|
|
|
000000d0 0a e6 dc 06 17 4a 3b bb ae 72 |.....J;..r|
|
|
>>> Flow 5 (client to server)
|
|
00000000 17 03 03 00 16 00 28 34 fc ca fa e0 8c f3 42 4b |......(4......BK|
|
|
00000010 a2 e5 db 3a 66 c3 fe c6 d3 96 ca 15 03 03 00 12 |...:f...........|
|
|
00000020 ea d0 32 c1 b6 55 8b 10 93 38 b3 de 2e 63 3b 1c |..2..U...8...c;.|
|
|
00000030 e3 48 |.H|
|