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 7a 67 cd b2 60 |....A...=..zg..`|
|
|
00000010 17 d9 81 1f b1 87 89 d8 10 7f 2b df d6 b7 b0 8a |..........+.....|
|
|
00000020 33 c1 e8 0b df ab 71 db 37 e9 6f 00 c0 09 00 00 |3.....q.7.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 0e 7c 64 c3 85 21 f1 35 ee 90 |..... .|d..!.5..|
|
|
00000270 09 bd 9f d4 b9 64 da 0f aa 7e 16 37 ca 4a 60 50 |.....d...~.7.J`P|
|
|
00000280 29 d1 ad 84 06 56 04 03 00 8b 30 81 88 02 42 00 |)....V....0...B.|
|
|
00000290 93 c3 1a a4 22 f9 c9 24 1c 01 22 98 69 ff 44 0e |...."..$..".i.D.|
|
|
000002a0 ba 39 e2 6e b8 58 29 27 f5 04 b1 58 00 26 ce 42 |.9.n.X)'...X.&.B|
|
|
000002b0 39 d8 0b 66 9c 24 84 22 a1 49 75 a7 c1 28 9e c5 |9..f.$.".Iu..(..|
|
|
000002c0 35 18 ee 2b d9 31 b0 d6 c6 23 a2 6c 1a f7 fc 76 |5..+.1...#.l...v|
|
|
000002d0 3d 02 42 01 b9 9d ab d9 8a eb c4 18 d1 c2 88 14 |=.B.............|
|
|
000002e0 30 93 02 0b 72 c6 4e b0 01 e0 db 12 43 7f fe 40 |0...r.N.....C..@|
|
|
000002f0 88 d8 10 4a b3 9f d0 f8 c5 25 1d dc 68 20 3b c4 |...J.....%..h ;.|
|
|
00000300 f4 97 b4 39 2e 88 19 e8 09 52 6e da 81 20 2d 8c |...9.....Rn.. -.|
|
|
00000310 ec 39 6d 8b 9f 16 03 03 00 04 0e 00 00 00 |.9m...........|
|
|
>>> 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 c9 72 ac 3c b2 65 28 92 21 ef e3 |......r.<.e(.!..|
|
|
00000050 b1 54 8f 3c ea 4d 0d 43 af 61 c2 f8 2d f4 3e 0e |.T.<.M.C.a..-.>.|
|
|
00000060 fe 84 d7 b6 84 cd f4 54 54 a5 8e 17 69 96 33 14 |.......TT...i.3.|
|
|
00000070 4b d3 2d 20 cd |K.- .|
|
|
>>> Flow 4 (server to client)
|
|
00000000 16 03 03 00 aa 04 00 00 a6 00 00 1c 20 00 a0 75 |............ ..u|
|
|
00000010 71 ef aa 7e 56 85 e5 6f ac 64 35 87 e5 67 95 a3 |q..~V..o.d5..g..|
|
|
00000020 f9 7d cc de 66 e1 cf 7a ab 35 f0 d5 7c ac a8 36 |.}..f..z.5..|..6|
|
|
00000030 87 f6 aa d5 34 d0 e1 19 1a be ed d6 ab 77 27 3d |....4........w'=|
|
|
00000040 53 34 e8 1e be d0 0d a7 ff 40 1d 44 a8 f5 48 e8 |S4.......@.D..H.|
|
|
00000050 f5 67 3d ee 67 12 0f 29 84 86 f4 8f 40 bf 27 57 |.g=.g..)....@.'W|
|
|
00000060 15 51 ff 10 b0 8d 43 e6 54 a5 6f 0e 24 19 b1 c0 |.Q....C.T.o.$...|
|
|
00000070 a6 a2 03 74 0f 4d b1 f7 f2 85 7e 05 20 02 b7 64 |...t.M....~. ..d|
|
|
00000080 1d a0 09 26 aa 6c 8a b8 fb 26 9e 8d f6 e7 3e 4f |...&.l...&....>O|
|
|
00000090 1e c4 c0 69 76 2b 44 c8 4e 00 b0 11 a8 cc f8 20 |...iv+D.N...... |
|
|
000000a0 4d b9 93 fb 51 60 8e 8e c7 69 3d 75 84 bf 05 14 |M...Q`...i=u....|
|
|
000000b0 03 03 00 01 01 16 03 03 00 40 b4 28 a1 56 12 00 |.........@.(.V..|
|
|
000000c0 7a 8e 19 fb 15 62 fd c2 cb 34 cf 7a f0 6b 73 3c |z....b...4.z.ks<|
|
|
000000d0 bb 0d ea 25 f1 7c cc d1 1f 00 9a 62 1e ea c4 a7 |...%.|.....b....|
|
|
000000e0 c1 29 9d 69 42 4a 0c aa 36 e4 2b a7 7b 7e 12 83 |.).iBJ..6.+.{~..|
|
|
000000f0 d7 5d 2e 22 c3 06 ef fd b6 ec |.]."......|
|
|
>>> 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 df 8d bf 38 e1 8f 07 b2 ed b7 59 |........8......Y|
|
|
00000020 22 93 ed b3 8b 9c c0 79 ed d4 61 c6 b5 e8 b0 a5 |"......y..a.....|
|
|
00000030 c4 cf 98 0e c7 15 03 03 00 30 00 00 00 00 00 00 |.........0......|
|
|
00000040 00 00 00 00 00 00 00 00 00 00 25 8a 49 e6 01 83 |..........%.I...|
|
|
00000050 a9 89 9d 5f b0 51 81 c2 c9 bf 11 62 65 f5 03 8e |..._.Q.....be...|
|
|
00000060 4e 0e d5 82 6f 32 59 a2 74 d7 |N...o2Y.t.|
|