From c66e042136ecbe175142bd2e3f8986e2121714e5 Mon Sep 17 00:00:00 2001 From: Sergey Frolov Date: Wed, 28 Feb 2018 16:57:41 -0700 Subject: [PATCH] Add no-parrot and setClientRandom tests --- ...t-TLSv12-UTLS-AES128-GCM-SHA256-Android-22 | 52 +-- ...t-TLSv12-UTLS-AES128-GCM-SHA256-Android-23 | 54 +-- ...nt-TLSv12-UTLS-AES128-GCM-SHA256-Chrome-58 | 54 +-- ...ent-TLSv12-UTLS-AES128-GCM-SHA256-Golang-0 | 80 ++++ ...S-ECDHE-ECDSA-AES128-GCM-SHA256-Android-22 | 82 ++-- ...-AES128-GCM-SHA256-Chrome-58setclienthello | 0 ...S-ECDHE-ECDSA-AES128-GCM-SHA256-Firefox-55 | 78 ++-- ...TLS-ECDHE-ECDSA-AES128-GCM-SHA256-Golang-0 | 82 ++++ ...v12-UTLS-ECDHE-ECDSA-AES128-SHA-Android-22 | 88 ++-- ...v12-UTLS-ECDHE-ECDSA-AES128-SHA-Firefox-55 | 84 ++-- ...LSv12-UTLS-ECDHE-ECDSA-AES128-SHA-Golang-0 | 87 ++++ ...v12-UTLS-ECDHE-ECDSA-AES256-SHA-Android-22 | 88 ++-- ...v12-UTLS-ECDHE-ECDSA-AES256-SHA-Firefox-55 | 86 ++-- ...LSv12-UTLS-ECDHE-ECDSA-AES256-SHA-Golang-0 | 87 ++++ ...S-ECDHE-ECDSA-CHACHA20-POLY1305-Firefox-55 | 76 ++-- ...TLS-ECDHE-ECDSA-CHACHA20-POLY1305-Golang-0 | 77 ++++ ...TLS-ECDHE-RSA-AES128-GCM-SHA256-Android-22 | 80 ++-- ...TLS-ECDHE-RSA-AES128-GCM-SHA256-Android-23 | 80 ++-- ...UTLS-ECDHE-RSA-AES128-GCM-SHA256-Chrome-58 | 76 ++-- ...-AES128-GCM-SHA256-Chrome-58setclienthello | 98 +++++ ...TLS-ECDHE-RSA-AES128-GCM-SHA256-Firefox-55 | 76 ++-- ...-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Golang-0 | 86 ++++ ...LSv12-UTLS-ECDHE-RSA-AES128-SHA-Android-22 | 86 ++-- ...LSv12-UTLS-ECDHE-RSA-AES128-SHA-Android-23 | 86 ++-- ...TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Chrome-58 | 82 ++-- ...LSv12-UTLS-ECDHE-RSA-AES128-SHA-Firefox-55 | 82 ++-- ...-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Golang-0 | 91 ++++ ...LSv12-UTLS-ECDHE-RSA-AES256-SHA-Android-22 | 86 ++-- ...LSv12-UTLS-ECDHE-RSA-AES256-SHA-Android-23 | 86 ++-- ...TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Chrome-58 | 82 ++-- ...LSv12-UTLS-ECDHE-RSA-AES256-SHA-Firefox-55 | 82 ++-- ...-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Golang-0 | 91 ++++ ...UTLS-ECDHE-RSA-CHACHA20-POLY1305-Chrome-58 | 72 ++-- ...TLS-ECDHE-RSA-CHACHA20-POLY1305-Firefox-55 | 72 ++-- ...-UTLS-ECDHE-RSA-CHACHA20-POLY1305-Golang-0 | 81 ++++ ...ello-ECDHE-RSA-AES128-GCM-SHA256-Chrome-58 | 98 +++++ u_conn_test.go | 394 ++++++++++-------- 37 files changed, 2111 insertions(+), 1111 deletions(-) create mode 100644 testdata/Client-TLSv12-UTLS-AES128-GCM-SHA256-Golang-0 create mode 100644 testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-GCM-SHA256-Chrome-58setclienthello create mode 100644 testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-GCM-SHA256-Golang-0 create mode 100644 testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-SHA-Golang-0 create mode 100644 testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES256-SHA-Golang-0 create mode 100644 testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-CHACHA20-POLY1305-Golang-0 create mode 100644 testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Chrome-58setclienthello create mode 100644 testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Golang-0 create mode 100644 testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Golang-0 create mode 100644 testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Golang-0 create mode 100644 testdata/Client-TLSv12-UTLS-ECDHE-RSA-CHACHA20-POLY1305-Golang-0 create mode 100644 testdata/Client-TLSv12-UTLS-setclienthello-ECDHE-RSA-AES128-GCM-SHA256-Chrome-58 diff --git a/testdata/Client-TLSv12-UTLS-AES128-GCM-SHA256-Android-22 b/testdata/Client-TLSv12-UTLS-AES128-GCM-SHA256-Android-22 index b7f5f61..13f97fa 100644 --- a/testdata/Client-TLSv12-UTLS-AES128-GCM-SHA256-Android-22 +++ b/testdata/Client-TLSv12-UTLS-AES128-GCM-SHA256-Android-22 @@ -13,9 +13,9 @@ 000000b0 33 2e 31 00 0b 00 02 01 00 00 0a 00 08 00 06 00 |3.1.............| 000000c0 17 00 18 00 19 |.....| >>> Flow 2 (server to client) -00000000 16 03 03 00 35 02 00 00 31 03 03 35 23 c1 9f 4d |....5...1..5#..M| -00000010 36 df 6c ad 72 86 b1 df 2a f3 3a 82 af 11 b5 3e |6.l.r...*.:....>| -00000020 b5 bc 4d 6e 5b b0 04 ef 70 30 5b 00 00 9c 00 00 |..Mn[...p0[.....| +00000000 16 03 03 00 35 02 00 00 31 03 03 bb 35 55 52 fc |....5...1...5UR.| +00000010 b0 8e e0 9c ea 9b f1 24 33 dd c0 8c 0c 54 cd 41 |.......$3....T.A| +00000020 a8 d3 17 cb a6 20 b3 7d 77 a5 c0 00 00 9c 00 00 |..... .}w.......| 00000030 09 ff 01 00 01 00 00 23 00 00 16 03 03 02 59 0b |.......#......Y.| 00000040 00 02 55 00 02 52 00 02 4f 30 82 02 4b 30 82 01 |..U..R..O0..K0..| 00000050 b4 a0 03 02 01 02 02 09 00 e8 f0 9d 3f e2 5b ea |............?.[.| @@ -66,28 +66,28 @@ 00000060 c5 70 0f 08 83 48 e9 48 ef 6e 50 8b 05 7e e5 84 |.p...H.H.nP..~..| 00000070 25 fa 55 c7 ae 31 02 27 00 ef 3f 98 86 20 12 89 |%.U..1.'..?.. ..| 00000080 91 59 28 b4 f7 d7 af d2 69 61 35 14 03 03 00 01 |.Y(.....ia5.....| -00000090 01 16 03 03 00 28 00 00 00 00 00 00 00 00 b6 ad |.....(..........| -000000a0 2b 38 82 fd 17 ce 73 bd d2 d7 2e 05 28 c1 46 f0 |+8....s.....(.F.| -000000b0 a1 ab 3e 0b 82 27 d1 58 47 b2 72 fa 06 86 |..>..'.XG.r...| +00000090 01 16 03 03 00 28 00 00 00 00 00 00 00 00 28 11 |.....(........(.| +000000a0 3b 1d 65 2b f8 77 28 d8 0f 14 44 d0 ba 43 f3 ba |;.e+.w(...D..C..| +000000b0 d5 f0 fa 17 08 c2 2a fb 8e e1 36 a4 45 e6 |......*...6.E.| >>> Flow 4 (server to client) -00000000 16 03 03 00 aa 04 00 00 a6 00 00 1c 20 00 a0 04 |............ ...| -00000010 d6 32 cd 64 d2 66 30 2c ef 92 98 9b d3 c3 f3 79 |.2.d.f0,.......y| -00000020 15 90 e6 f9 33 76 25 ea 7a 8c 30 f9 4f 1c e0 db |....3v%.z.0.O...| -00000030 6f a9 1c 41 d5 32 14 da 27 e7 1f 8f a1 6b f8 7d |o..A.2..'....k.}| -00000040 91 49 51 5a 0f 5f 64 39 b1 14 dc e1 66 77 35 86 |.IQZ._d9....fw5.| -00000050 54 d7 39 29 b8 2d 84 6a 41 0b 5f 0f 71 47 ed d9 |T.9).-.jA._.qG..| -00000060 08 ab f6 b3 87 a7 63 4e c2 6d 87 4e dd 0b 55 c4 |......cN.m.N..U.| -00000070 8e 72 4a d5 53 00 39 80 af f8 e2 a0 26 74 7c 21 |.rJ.S.9.....&t|!| -00000080 5b 2f 3c b4 a4 4e 1a c0 21 a0 e1 31 c1 66 86 f2 |[/<..N..!..1.f..| -00000090 68 cf 04 f2 fe 98 78 5e 4e 76 82 1b e2 e1 d8 5a |h.....x^Nv.....Z| -000000a0 6e 68 a2 39 fc c0 3b c8 20 91 7d d5 1b 02 0b 14 |nh.9..;. .}.....| -000000b0 03 03 00 01 01 16 03 03 00 28 9d a4 38 f9 96 51 |.........(..8..Q| -000000c0 78 c1 dc 42 27 78 6d 87 93 3f e1 c9 59 1a 8a f1 |x..B'xm..?..Y...| -000000d0 cd 63 e0 67 8a 17 91 56 35 73 89 a4 ab fc a1 23 |.c.g...V5s.....#| -000000e0 1f ca |..| +00000000 16 03 03 00 aa 04 00 00 a6 00 00 1c 20 00 a0 03 |............ ...| +00000010 1b ee a7 ad 6a d0 09 43 f8 fb 46 29 d5 99 53 bc |....j..C..F)..S.| +00000020 a7 38 be 06 2c c4 25 ad 0d ba a9 6b 2f 29 0f 28 |.8..,.%....k/).(| +00000030 6b bf 4b e5 d8 60 bb 6c 74 af 13 2d 80 d2 54 52 |k.K..`.lt..-..TR| +00000040 11 ad fd 4a 95 1e ca a3 38 cb 50 c7 94 ae dd 35 |...J....8.P....5| +00000050 2b ff a9 51 14 80 b2 d8 6c 79 92 d9 3e 0c 12 db |+..Q....ly..>...| +00000060 dc cb c6 72 45 07 9b 57 9f 30 0e fd 1c 6d c5 68 |...rE..W.0...m.h| +00000070 95 d1 c1 e0 0f 28 c9 d5 c4 80 f5 15 d9 01 e5 3e |.....(.........>| +00000080 60 3d 54 15 eb 9c 1c 84 69 20 e4 01 c8 8b 3f d4 |`=T.....i ....?.| +00000090 31 00 c0 e3 f5 8f 55 78 19 96 ee 50 8f 45 96 8b |1.....Ux...P.E..| +000000a0 ee 66 05 0d 03 4f 85 40 60 cc b0 38 18 e1 d6 14 |.f...O.@`..8....| +000000b0 03 03 00 01 01 16 03 03 00 28 43 2a 70 4a 4a bd |.........(C*pJJ.| +000000c0 e0 85 a3 db 9f 4e c5 34 22 7b c0 f5 22 8a 7a 6b |.....N.4"{..".zk| +000000d0 df f7 9b 9d be 2d ab 24 ea df 9e 25 48 69 15 ad |.....-.$...%Hi..| +000000e0 19 95 |..| >>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 8e b8 bf |................| -00000010 24 c8 6c 22 c0 97 46 59 87 ea 63 b1 51 8f 8b 62 |$.l"..FY..c.Q..b| -00000020 3a 3b fa 15 03 03 00 1a 00 00 00 00 00 00 00 02 |:;..............| -00000030 56 9b 75 d9 71 7a e1 82 aa b9 11 25 6c 34 40 6a |V.u.qz.....%l4@j| -00000040 e1 33 |.3| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 ae fe 6d |...............m| +00000010 32 9d de 65 6b 94 67 50 09 9e 8d 2c 7d 3c 9b e8 |2..ek.gP...,}<..| +00000020 44 ad 53 15 03 03 00 1a 00 00 00 00 00 00 00 02 |D.S.............| +00000030 58 e8 7c 80 9a 72 19 f1 05 d4 98 c4 4e 07 a9 c7 |X.|..r......N...| +00000040 fe 6c |.l| diff --git a/testdata/Client-TLSv12-UTLS-AES128-GCM-SHA256-Android-23 b/testdata/Client-TLSv12-UTLS-AES128-GCM-SHA256-Android-23 index dc2109d..9e83e53 100644 --- a/testdata/Client-TLSv12-UTLS-AES128-GCM-SHA256-Android-23 +++ b/testdata/Client-TLSv12-UTLS-AES128-GCM-SHA256-Android-23 @@ -12,9 +12,9 @@ 000000a0 73 70 64 79 2f 38 2e 31 00 0b 00 02 01 00 00 0a |spdy/8.1........| 000000b0 00 06 00 04 00 17 00 18 |........| >>> Flow 2 (server to client) -00000000 16 03 03 00 39 02 00 00 35 03 03 c4 a8 b8 1e db |....9...5.......| -00000010 82 e3 b0 dc f2 aa 41 39 d2 15 e8 36 f4 ab da 3d |......A9...6...=| -00000020 83 82 35 45 72 c3 85 a3 70 45 cc 00 00 9c 00 00 |..5Er...pE......| +00000000 16 03 03 00 39 02 00 00 35 03 03 d9 d3 7e b9 75 |....9...5....~.u| +00000010 9b 9d ee 39 bc 4a 2e 77 63 c6 c9 5f 8a 8b 17 75 |...9.J.wc.._...u| +00000020 37 bf 42 4d 00 c2 84 15 16 50 47 00 00 9c 00 00 |7.BM.....PG.....| 00000030 0d ff 01 00 01 00 00 23 00 00 00 17 00 00 16 03 |.......#........| 00000040 03 02 59 0b 00 02 55 00 02 52 00 02 4f 30 82 02 |..Y...U..R..O0..| 00000050 4b 30 82 01 b4 a0 03 02 01 02 02 09 00 e8 f0 9d |K0..............| @@ -65,29 +65,29 @@ 00000060 c5 70 0f 08 83 48 e9 48 ef 6e 50 8b 05 7e e5 84 |.p...H.H.nP..~..| 00000070 25 fa 55 c7 ae 31 02 27 00 ef 3f 98 86 20 12 89 |%.U..1.'..?.. ..| 00000080 91 59 28 b4 f7 d7 af d2 69 61 35 14 03 03 00 01 |.Y(.....ia5.....| -00000090 01 16 03 03 00 28 00 00 00 00 00 00 00 00 ad 1e |.....(..........| -000000a0 23 89 4b 37 8c 75 40 84 f5 07 9c b7 7d c5 50 02 |#.K7.u@.....}.P.| -000000b0 4b 21 98 ce 75 ac 9a f0 ed 30 71 f5 97 3e |K!..u....0q..>| +00000090 01 16 03 03 00 28 00 00 00 00 00 00 00 00 de 16 |.....(..........| +000000a0 7d af 23 0e b2 12 a3 45 4e bf df 67 fa 75 2b 76 |}.#....EN..g.u+v| +000000b0 9a a1 c0 2b 12 a7 0f 55 27 cc d2 b3 b7 c3 |...+...U'.....| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 2e |............ ...| -00000010 80 0f da 95 5a 94 e9 90 41 9b a7 e9 c2 98 22 49 |....Z...A....."I| -00000020 2c 40 04 ed df 21 da 33 b9 c0 f3 d4 34 65 b3 36 |,@...!.3....4e.6| -00000030 b1 7f 5e 77 01 28 bc e3 fb c4 af 17 af 61 3a 79 |..^w.(.......a:y| -00000040 c8 24 53 5e 23 9b be dd da f3 9f 14 86 18 e4 19 |.$S^#...........| -00000050 17 6c 67 e7 37 5b 26 76 5c 5b f2 97 19 86 51 88 |.lg.7[&v\[....Q.| -00000060 2e ab ec f1 89 4b b1 7f 05 a8 08 86 25 31 7b bd |.....K......%1{.| -00000070 40 85 d6 02 25 d8 74 cc 06 9b d8 ef f4 b3 02 1c |@...%.t.........| -00000080 d5 15 e7 cb 08 8f 1f db 96 c5 dc 9f 15 50 e2 e0 |.............P..| -00000090 dc 13 13 fc 5d 38 9b e6 4a 77 aa 55 f6 b5 f1 19 |....]8..Jw.U....| -000000a0 84 fd 4e a2 2f d9 3d 03 11 ac 0b 81 bd 77 95 a9 |..N./.=......w..| -000000b0 5f 20 b5 e8 03 87 55 4f c2 a1 61 c5 f3 96 fb 14 |_ ....UO..a.....| -000000c0 03 03 00 01 01 16 03 03 00 28 b7 42 8f 9e 56 5e |.........(.B..V^| -000000d0 23 e9 f5 8e 85 85 8a f4 d7 21 ba 36 ba 58 20 96 |#........!.6.X .| -000000e0 89 de a6 cc d9 a9 e1 ef 73 6b 32 3a f9 39 da fd |........sk2:.9..| -000000f0 a6 4a |.J| +00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 a9 |............ ...| +00000010 6a 44 3c 2e 54 6b f6 9f 2a ee 56 35 4d d2 f4 d3 |jD<.Tk..*.V5M...| +00000020 2a cc db b6 9b 0f 0a db a1 34 1b 41 3c 0b f5 f9 |*........4.A<...| +00000030 c1 55 9b 51 8c fe b6 dc 7c 9a 70 f2 53 6b f6 fb |.U.Q....|.p.Sk..| +00000040 99 71 df d7 3c 68 55 37 31 b0 04 ff 3b 97 26 e6 |.q...Gu .| +000000c0 03 03 00 01 01 16 03 03 00 28 36 04 d6 29 4d c7 |.........(6..)M.| +000000d0 08 23 9b a0 f2 e4 17 c5 b9 ce b1 c4 80 8e d7 a2 |.#..............| +000000e0 61 bb 4b 18 ef 7e f2 fa 9b 61 41 5d 74 80 3c 6a |a.K..~...aA]t.>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 0b fd 58 |...............X| -00000010 02 02 b9 99 9d b4 0e 5f 72 ff 35 b9 a2 1e 76 6e |......._r.5...vn| -00000020 3e 37 98 15 03 03 00 1a 00 00 00 00 00 00 00 02 |>7..............| -00000030 21 14 66 ab c6 c3 26 d5 f8 8f 8b 02 2d 42 73 8a |!.f...&.....-Bs.| -00000040 47 c5 |G.| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 e4 a0 c1 |................| +00000010 90 b2 33 ba d1 e6 c5 0c b3 04 80 40 e5 d5 a2 01 |..3........@....| +00000020 5d 3b 9d 15 03 03 00 1a 00 00 00 00 00 00 00 02 |];..............| +00000030 23 5b 88 2e a1 91 9f d6 90 19 a8 4f 5b 97 62 0f |#[.........O[.b.| +00000040 cb 5e |.^| diff --git a/testdata/Client-TLSv12-UTLS-AES128-GCM-SHA256-Chrome-58 b/testdata/Client-TLSv12-UTLS-AES128-GCM-SHA256-Chrome-58 index bc0b71e..a58a4b9 100644 --- a/testdata/Client-TLSv12-UTLS-AES128-GCM-SHA256-Chrome-58 +++ b/testdata/Client-TLSv12-UTLS-AES128-GCM-SHA256-Chrome-58 @@ -12,9 +12,9 @@ 000000a0 50 00 00 00 0b 00 02 01 00 00 0a 00 0a 00 08 0a |P...............| 000000b0 0a 00 1d 00 17 00 18 1a 1a 00 01 00 |............| >>> Flow 2 (server to client) -00000000 16 03 03 00 39 02 00 00 35 03 03 95 43 2b 8b 53 |....9...5...C+.S| -00000010 15 af c5 d4 9a 0d c7 66 40 c8 ab 6c a2 ae 2e 2f |.......f@..l.../| -00000020 22 c5 4e 76 a3 ab a3 08 b1 37 68 00 00 9c 00 00 |".Nv.....7h.....| +00000000 16 03 03 00 39 02 00 00 35 03 03 56 3e e8 d2 37 |....9...5..V>..7| +00000010 c4 53 92 15 53 48 83 24 f6 b3 89 ee 85 04 c6 3d |.S..SH.$.......=| +00000020 f4 b6 77 18 89 40 9f 07 97 01 a0 00 00 9c 00 00 |..w..@..........| 00000030 0d ff 01 00 01 00 00 23 00 00 00 17 00 00 16 03 |.......#........| 00000040 03 02 59 0b 00 02 55 00 02 52 00 02 4f 30 82 02 |..Y...U..R..O0..| 00000050 4b 30 82 01 b4 a0 03 02 01 02 02 09 00 e8 f0 9d |K0..............| @@ -65,29 +65,29 @@ 00000060 c5 70 0f 08 83 48 e9 48 ef 6e 50 8b 05 7e e5 84 |.p...H.H.nP..~..| 00000070 25 fa 55 c7 ae 31 02 27 00 ef 3f 98 86 20 12 89 |%.U..1.'..?.. ..| 00000080 91 59 28 b4 f7 d7 af d2 69 61 35 14 03 03 00 01 |.Y(.....ia5.....| -00000090 01 16 03 03 00 28 00 00 00 00 00 00 00 00 83 1a |.....(..........| -000000a0 c3 68 05 cc 24 43 64 d3 3f ca 96 7b 9c 8f 59 0c |.h..$Cd.?..{..Y.| -000000b0 35 38 f0 d3 e8 60 da 01 13 c1 69 bb 22 d9 |58...`....i.".| +00000090 01 16 03 03 00 28 00 00 00 00 00 00 00 00 05 d4 |.....(..........| +000000a0 5b bd 16 c0 cc d9 ba 9a a1 14 b7 ec ef 87 06 5b |[..............[| +000000b0 46 2d 28 29 58 1d 8e 9e ca c7 b3 92 34 e2 |F-()X.......4.| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 55 |............ ..U| -00000010 24 cf 68 af 8f 89 d9 fd b2 49 bf 46 75 38 08 a9 |$.h......I.Fu8..| -00000020 55 41 2c d2 56 94 0c ec ff ae 3f 06 91 52 cd ca |UA,.V.....?..R..| -00000030 34 86 6a 3e e7 ed 05 fc 6f eb 59 32 43 cc 6e 14 |4.j>....o.Y2C.n.| -00000040 e3 03 23 14 a3 1b cb 36 f9 b6 09 10 78 16 11 9c |..#....6....x...| -00000050 41 9b 60 8f cf fc 24 9f e8 39 7f 30 6b c6 aa 52 |A.`...$..9.0k..R| -00000060 19 e0 64 34 f4 ac e6 51 22 75 fd 80 bf 63 80 15 |..d4...Q"u...c..| -00000070 62 e6 f2 f4 25 6a d0 db 3b 11 60 bc 36 1e a4 ff |b...%j..;.`.6...| -00000080 4f 7d 72 5a af 50 40 94 70 8d 99 f0 8e e9 61 93 |O}rZ.P@.p.....a.| -00000090 fa 67 d3 ad 46 7e 9f 8f 85 76 06 12 05 46 d7 7f |.g..F~...v...F..| -000000a0 e2 71 bb fe 40 79 1a a5 6b 71 8d 72 04 ab 42 c9 |.q..@y..kq.r..B.| -000000b0 cd 52 a7 3b 65 f6 26 4a 9e 3c 7c 6a 2b 06 42 14 |.R.;e.&J.<|j+.B.| -000000c0 03 03 00 01 01 16 03 03 00 28 2b 11 f2 39 89 ac |.........(+..9..| -000000d0 7e 31 0c 67 d9 26 f5 4d a0 f4 11 32 62 4e 0f 51 |~1.g.&.M...2bN.Q| -000000e0 c0 bd c8 a2 c2 ad 1c 65 e3 3b 2e cf 4d dd be c1 |.......e.;..M...| -000000f0 86 63 |.c| +00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 a5 |............ ...| +00000010 15 2a d1 ca 9d b7 c5 9f 0e f0 31 2f 4d ba a4 8a |.*........1/M...| +00000020 74 ca 26 3e 9b bc 32 d1 46 6a 8f 6a a8 dc 9f 35 |t.&>..2.Fj.j...5| +00000030 14 97 b4 67 6b 07 63 f2 53 2a 66 02 7f 23 84 c0 |...gk.c.S*f..#..| +00000040 e9 42 29 97 79 a0 c6 3e 3f 92 57 67 01 88 cf b3 |.B).y..>?.Wg....| +00000050 35 ed b4 29 b9 da d2 f3 50 bc af cf 94 61 ad f8 |5..)....P....a..| +00000060 84 05 67 38 3c 62 0e 49 de d4 ad 59 9f 41 1e a9 |..g8>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 35 73 29 |.............5s)| -00000010 67 cf 17 5f 2d 61 ff 1d 4e 66 38 20 e0 71 e6 91 |g.._-a..Nf8 .q..| -00000020 a7 f2 a6 15 03 03 00 1a 00 00 00 00 00 00 00 02 |................| -00000030 cf 6a dc ab 14 14 e0 07 01 b5 28 f9 c9 d8 69 03 |.j........(...i.| -00000040 e3 57 |.W| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 0f 1b 9f |................| +00000010 46 35 89 91 24 6b 97 2f eb 8c ff 58 f2 3a ee fe |F5..$k./...X.:..| +00000020 21 ca 8e 15 03 03 00 1a 00 00 00 00 00 00 00 02 |!...............| +00000030 36 f0 77 18 89 9f bf fa cd a0 14 b1 6e 24 7d 97 |6.w.........n$}.| +00000040 a5 ec |..| diff --git a/testdata/Client-TLSv12-UTLS-AES128-GCM-SHA256-Golang-0 b/testdata/Client-TLSv12-UTLS-AES128-GCM-SHA256-Golang-0 new file mode 100644 index 0000000..a4bd825 --- /dev/null +++ b/testdata/Client-TLSv12-UTLS-AES128-GCM-SHA256-Golang-0 @@ -0,0 +1,80 @@ +>>> Flow 1 (client to server) +00000000 16 03 01 00 91 01 00 00 8d 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 00 00 2c cc a8 |.............,..| +00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| +00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| +00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| +00000090 01 00 00 12 00 00 |......| +>>> Flow 2 (server to client) +00000000 16 03 03 00 51 02 00 00 4d 03 03 13 c0 56 5e 7b |....Q...M....V^{| +00000010 6b d2 3a 83 6d 46 ae f5 10 e2 ea f3 85 d8 de cd |k.:.mF..........| +00000020 34 0b 59 1a 1d 80 34 29 95 90 83 20 1e c5 3c f7 |4.Y...4)... ..<.| +00000030 34 4e 28 8a 7d d7 db 6c 23 34 db d1 9b 45 04 d9 |4N(.}..l#4...E..| +00000040 7b 8f 6e af 07 9a c2 82 9f 30 40 27 00 9c 00 00 |{.n......0@'....| +00000050 05 ff 01 00 01 00 16 03 03 02 59 0b 00 02 55 00 |..........Y...U.| +00000060 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 |.R..O0..K0......| +00000070 01 02 02 09 00 e8 f0 9d 3f e2 5b ea a6 30 0d 06 |........?.[..0..| +00000080 09 2a 86 48 86 f7 0d 01 01 0b 05 00 30 1f 31 0b |.*.H........0.1.| +00000090 30 09 06 03 55 04 0a 13 02 47 6f 31 10 30 0e 06 |0...U....Go1.0..| +000000a0 03 55 04 03 13 07 47 6f 20 52 6f 6f 74 30 1e 17 |.U....Go Root0..| +000000b0 0d 31 36 30 31 30 31 30 30 30 30 30 30 5a 17 0d |.160101000000Z..| +000000c0 32 35 30 31 30 31 30 30 30 30 30 30 5a 30 1a 31 |250101000000Z0.1| +000000d0 0b 30 09 06 03 55 04 0a 13 02 47 6f 31 0b 30 09 |.0...U....Go1.0.| +000000e0 06 03 55 04 03 13 02 47 6f 30 81 9f 30 0d 06 09 |..U....Go0..0...| +000000f0 2a 86 48 86 f7 0d 01 01 01 05 00 03 81 8d 00 30 |*.H............0| +00000100 81 89 02 81 81 00 db 46 7d 93 2e 12 27 06 48 bc |.......F}...'.H.| +00000110 06 28 21 ab 7e c4 b6 a2 5d fe 1e 52 45 88 7a 36 |.(!.~...]..RE.z6| +00000120 47 a5 08 0d 92 42 5b c2 81 c0 be 97 79 98 40 fb |G....B[.....y.@.| +00000130 4f 6d 14 fd 2b 13 8b c2 a5 2e 67 d8 d4 09 9e d6 |Om..+.....g.....| +00000140 22 38 b7 4a 0b 74 73 2b c2 34 f1 d1 93 e5 96 d9 |"8.J.ts+.4......| +00000150 74 7b f3 58 9f 6c 61 3c c0 b0 41 d4 d9 2b 2b 24 |t{.X.la<..A..++$| +00000160 23 77 5b 1c 3b bd 75 5d ce 20 54 cf a1 63 87 1d |#w[.;.u]. T..c..| +00000170 1e 24 c4 f3 1d 1a 50 8b aa b6 14 43 ed 97 a7 75 |.$....P....C...u| +00000180 62 f4 14 c8 52 d7 02 03 01 00 01 a3 81 93 30 81 |b...R.........0.| +00000190 90 30 0e 06 03 55 1d 0f 01 01 ff 04 04 03 02 05 |.0...U..........| +000001a0 a0 30 1d 06 03 55 1d 25 04 16 30 14 06 08 2b 06 |.0...U.%..0...+.| +000001b0 01 05 05 07 03 01 06 08 2b 06 01 05 05 07 03 02 |........+.......| +000001c0 30 0c 06 03 55 1d 13 01 01 ff 04 02 30 00 30 19 |0...U.......0.0.| +000001d0 06 03 55 1d 0e 04 12 04 10 9f 91 16 1f 43 43 3e |..U..........CC>| +000001e0 49 a6 de 6d b6 80 d7 9f 60 30 1b 06 03 55 1d 23 |I..m....`0...U.#| +000001f0 04 14 30 12 80 10 48 13 49 4d 13 7e 16 31 bb a3 |..0...H.IM.~.1..| +00000200 01 d5 ac ab 6e 7b 30 19 06 03 55 1d 11 04 12 30 |....n{0...U....0| +00000210 10 82 0e 65 78 61 6d 70 6c 65 2e 67 6f 6c 61 6e |...example.golan| +00000220 67 30 0d 06 09 2a 86 48 86 f7 0d 01 01 0b 05 00 |g0...*.H........| +00000230 03 81 81 00 9d 30 cc 40 2b 5b 50 a0 61 cb ba e5 |.....0.@+[P.a...| +00000240 53 58 e1 ed 83 28 a9 58 1a a9 38 a4 95 a1 ac 31 |SX...(.X..8....1| +00000250 5a 1a 84 66 3d 43 d3 2d d9 0b f2 97 df d3 20 64 |Z..f=C.-...... d| +00000260 38 92 24 3a 00 bc cf 9c 7d b7 40 20 01 5f aa d3 |8.$:....}.@ ._..| +00000270 16 61 09 a2 76 fd 13 c3 cc e1 0c 5c ee b1 87 82 |.a..v......\....| +00000280 f1 6c 04 ed 73 bb b3 43 77 8d 0c 1c f1 0f a1 d8 |.l..s..Cw.......| +00000290 40 83 61 c9 4c 72 2b 9d ae db 46 06 06 4d f4 c1 |@.a.Lr+...F..M..| +000002a0 b3 3e c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 |.>...B...=.`.\!.| +000002b0 3b e9 fa e7 16 03 03 00 04 0e 00 00 00 |;............| +>>> Flow 3 (client to server) +00000000 16 03 03 00 86 10 00 00 82 00 80 b9 65 8d bf a7 |............e...| +00000010 c8 4b 79 ce 6f cb 8b 13 1c ac b9 7d 66 5e e9 ba |.Ky.o......}f^..| +00000020 1d 71 4e a9 e9 34 ae f6 64 65 90 3b d8 16 52 a2 |.qN..4..de.;..R.| +00000030 6f f4 cb 8a 13 74 a2 ee b7 27 69 b4 41 c0 90 68 |o....t...'i.A..h| +00000040 bc 02 69 e1 c6 48 4f 39 36 30 25 ca 4c 17 ce 83 |..i..HO960%.L...| +00000050 9e 08 56 e3 05 49 93 9e 2e c4 fb e6 c8 01 f1 0f |..V..I..........| +00000060 c5 70 0f 08 83 48 e9 48 ef 6e 50 8b 05 7e e5 84 |.p...H.H.nP..~..| +00000070 25 fa 55 c7 ae 31 02 27 00 ef 3f 98 86 20 12 89 |%.U..1.'..?.. ..| +00000080 91 59 28 b4 f7 d7 af d2 69 61 35 14 03 03 00 01 |.Y(.....ia5.....| +00000090 01 16 03 03 00 28 00 00 00 00 00 00 00 00 11 f8 |.....(..........| +000000a0 30 b4 6c 50 fe 91 52 2e 9a 0e f2 b8 93 6e ca 09 |0.lP..R......n..| +000000b0 70 f1 68 94 7f f6 6c 31 dd d8 3f 9e a8 50 |p.h...l1..?..P| +>>> Flow 4 (server to client) +00000000 14 03 03 00 01 01 16 03 03 00 28 f7 24 39 8c 0d |..........(.$9..| +00000010 c7 e5 7f 45 b5 c5 62 45 97 7a f8 7b cb 88 b5 c0 |...E..bE.z.{....| +00000020 92 3b 7e 7d 9d a5 59 34 f7 74 4e a5 80 70 19 59 |.;~}..Y4.tN..p.Y| +00000030 ee 62 74 |.bt| +>>> Flow 5 (client to server) +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 3f b7 b0 |.............?..| +00000010 ef cb cc aa 8c 9a 19 68 32 bd 0e a2 b6 65 ee c7 |.......h2....e..| +00000020 44 4c 45 15 03 03 00 1a 00 00 00 00 00 00 00 02 |DLE.............| +00000030 19 b5 61 23 31 a5 40 c8 c0 61 d6 65 5a 61 c5 31 |..a#1.@..a.eZa.1| +00000040 2a 9e |*.| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-GCM-SHA256-Android-22 b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-GCM-SHA256-Android-22 index 8c13a0f..7d1a8c3 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-GCM-SHA256-Android-22 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-GCM-SHA256-Android-22 @@ -13,9 +13,9 @@ 000000b0 33 2e 31 00 0b 00 02 01 00 00 0a 00 08 00 06 00 |3.1.............| 000000c0 17 00 18 00 19 |.....| >>> Flow 2 (server to client) -00000000 16 03 03 00 3d 02 00 00 39 03 03 a9 fa 5c 84 4b |....=...9....\.K| -00000010 d3 c2 58 3c a6 90 d0 60 7f 37 16 1b 7b 72 f5 cc |..X<...`.7..{r..| -00000020 08 8c 93 f5 cf 8d 33 68 56 1c 44 00 c0 2b 00 00 |......3hV.D..+..| +00000000 16 03 03 00 3d 02 00 00 39 03 03 b0 1e 5e bd ce |....=...9....^..| +00000010 10 96 ab 9f a5 ce ed 7f 1a 00 d2 5b 22 98 4d 0e |...........[".M.| +00000020 f3 4f 2b 39 e6 a3 83 fb fd e1 cc 00 c0 2b 00 00 |.O+9.........+..| 00000030 11 ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 23 |...............#| 00000040 00 00 16 03 03 02 0e 0b 00 02 0a 00 02 07 00 02 |................| 00000050 04 30 82 02 00 30 82 01 62 02 09 00 b8 bf 2d 47 |.0...0..b.....-G| @@ -50,49 +50,49 @@ 00000220 8c 25 c1 33 13 83 0d 94 06 bb d4 37 7a f6 ec 7a |.%.3.......7z..z| 00000230 c9 86 2e dd d7 11 69 7f 85 7c 56 de fb 31 78 2b |......i..|V..1x+| 00000240 e4 c7 78 0d ae cb be 9e 4e 36 24 31 7b 6a 0f 39 |..x.....N6$1{j.9| -00000250 95 12 07 8f 2a 16 03 03 00 d8 0c 00 00 d4 03 00 |....*...........| -00000260 17 41 04 f3 6b 22 88 b6 27 30 52 70 79 f5 2d 55 |.A..k"..'0Rpy.-U| -00000270 3f 60 68 7d dc fc b5 08 09 83 31 64 00 76 73 c5 |?`h}......1d.vs.| -00000280 01 c0 87 10 be 1e a0 57 74 40 f2 76 a7 36 03 85 |.......Wt@.v.6..| -00000290 20 a7 43 b6 bc be e5 58 7d da 34 b8 af 18 64 87 | .C....X}.4...d.| -000002a0 2c c6 ea 06 03 00 8b 30 81 88 02 42 01 ee 67 68 |,......0...B..gh| -000002b0 fc 09 1c 6d 61 27 0f 98 6e 2a 14 cc a6 90 28 13 |...ma'..n*....(.| -000002c0 79 cf cd ec f4 3c d3 f4 74 00 ca 50 9f 19 ec 30 |y....<..t..P...0| -000002d0 02 23 31 b1 af 36 cc 51 5e 59 9f 6e 02 00 84 9e |.#1..6.Q^Y.n....| -000002e0 ab 80 01 e2 b7 27 74 21 1a 8f 32 1e 1d 90 02 42 |.....'t!..2....B| -000002f0 00 8a ca 38 79 2c 11 08 36 7b af 94 24 7a 10 1b |...8y,..6{..$z..| -00000300 f0 4b 51 e1 c6 a9 7b 7c c8 ac 40 04 5b a6 0c 85 |.KQ...{|..@.[...| -00000310 a9 bd 1b 16 f4 1a e1 97 a0 77 a9 ee b1 ae e8 93 |.........w......| -00000320 22 05 54 6f d4 ac 32 1c 28 63 89 7a 9f 5c 4e 72 |".To..2.(c.z.\Nr| -00000330 bb cb 16 03 03 00 04 0e 00 00 00 |...........| +00000250 95 12 07 8f 2a 16 03 03 00 d7 0c 00 00 d3 03 00 |....*...........| +00000260 17 41 04 16 29 96 45 49 ab 23 ff 8b 86 0e e6 86 |.A..).EI.#......| +00000270 b7 2d d7 f4 a9 f0 84 ed dc 71 1a 09 1f 2f 41 ce |.-.......q.../A.| +00000280 e8 2c 99 17 94 5d bd 17 01 a4 1e 02 a7 26 9b b4 |.,...].......&..| +00000290 59 b3 1c 52 53 48 49 24 ef 7e eb 2a ec fb 2a 23 |Y..RSHI$.~.*..*#| +000002a0 01 1d 46 06 03 00 8a 30 81 87 02 42 00 ab 64 a2 |..F....0...B..d.| +000002b0 ab 9d f5 af 4d d2 07 db 9e bc d1 8f 87 f8 4b 19 |....M.........K.| +000002c0 0a 34 8d b2 26 55 da 79 14 93 e9 fa 14 49 46 a0 |.4..&U.y.....IF.| +000002d0 ef 1c 96 44 01 52 27 d3 e6 c0 5b 6a 99 0f 62 65 |...D.R'...[j..be| +000002e0 f7 84 93 86 db 5c 40 52 09 1a 99 e3 18 82 02 41 |.....\@R.......A| +000002f0 36 84 c0 e3 e3 b1 d7 54 51 bd 47 42 4e 11 e1 a1 |6......TQ.GBN...| +00000300 8b 44 56 f9 79 72 06 51 fd 61 87 c0 1c 0d dc 9e |.DV.yr.Q.a......| +00000310 09 fb f4 b0 79 5d f4 a9 e8 c0 19 32 e6 fc 9a b1 |....y].....2....| +00000320 98 82 0a e2 e6 4e da 7a 7f 7f a9 4b 22 e1 d1 09 |.....N.z...K"...| +00000330 93 16 03 03 00 04 0e 00 00 00 |..........| >>> Flow 3 (client to server) 00000000 16 03 03 00 46 10 00 00 42 41 04 1e 18 37 ef 0d |....F...BA...7..| 00000010 19 51 88 35 75 71 b5 e5 54 5b 12 2e 8f 09 67 fd |.Q.5uq..T[....g.| 00000020 a7 24 20 3e b2 56 1c ce 97 28 5e f8 2b 2d 4f 9e |.$ >.V...(^.+-O.| 00000030 f1 07 9f 6c 4b 5b 83 56 e2 32 42 e9 58 b6 d7 49 |...lK[.V.2B.X..I| 00000040 a6 b5 68 1a 41 03 56 6b dc 5a 89 14 03 03 00 01 |..h.A.Vk.Z......| -00000050 01 16 03 03 00 28 00 00 00 00 00 00 00 00 f2 27 |.....(.........'| -00000060 06 ab 76 c7 d1 61 8a 5c 12 41 5f 73 c1 61 14 f2 |..v..a.\.A_s.a..| -00000070 42 7e fc da 6a 15 9d 17 aa c0 8a f6 9a a3 |B~..j.........| +00000050 01 16 03 03 00 28 00 00 00 00 00 00 00 00 e4 64 |.....(.........d| +00000060 0c c2 69 e8 b4 b2 50 69 7a f0 79 98 40 f6 4e 17 |..i...Piz.y.@.N.| +00000070 28 62 97 3e da 3e 9b 4d f1 bc 65 de 20 e4 |(b.>.>.M..e. .| >>> Flow 4 (server to client) -00000000 16 03 03 00 aa 04 00 00 a6 00 00 1c 20 00 a0 8a |............ ...| -00000010 a2 23 f3 7e 30 fe e2 18 ee 68 77 0d c8 d6 15 7d |.#.~0....hw....}| -00000020 f6 cf 72 6a b0 87 0b d6 dd a9 ce 36 cd 8c d6 ae |..rj.......6....| -00000030 97 91 0b 3f 95 a5 e3 39 07 21 d7 14 d1 3e 56 5a |...?...9.!...>VZ| -00000040 8f a3 6e 7c cf 82 0e e9 cd e3 69 ef 02 7f 74 b5 |..n|......i...t.| -00000050 d9 7b 1b 01 0d c3 71 20 47 3d 6c 92 85 68 e9 1e |.{....q G=l..h..| -00000060 83 35 58 86 31 db 9b 64 6f f5 f0 cf 22 75 87 23 |.5X.1..do..."u.#| -00000070 85 96 b3 10 39 b5 22 76 ac 2b e0 7b 68 bd a9 52 |....9."v.+.{h..R| -00000080 06 88 e7 96 61 83 b0 a1 21 15 1c 3c a6 2e a1 23 |....a...!..<...#| -00000090 86 f8 2f 58 45 8b 6d 6b ea 03 d8 bc a3 9c cb bc |../XE.mk........| -000000a0 8c 69 f3 a3 2e 62 dd fc 82 8d dc 16 57 72 50 14 |.i...b......WrP.| -000000b0 03 03 00 01 01 16 03 03 00 28 0d 75 da f9 94 1d |.........(.u....| -000000c0 6c a5 8a ca 1c 2a 80 35 f4 82 05 c6 d7 64 5f 02 |l....*.5.....d_.| -000000d0 5c 65 67 f2 47 a4 48 88 2e 5a 35 cf 4f 05 36 dd |\eg.G.H..Z5.O.6.| -000000e0 64 78 |dx| +00000000 16 03 03 00 aa 04 00 00 a6 00 00 1c 20 00 a0 29 |............ ..)| +00000010 eb 67 10 8d 6a 56 56 fc 88 c3 fb 79 de 58 20 1b |.g..jVV....y.X .| +00000020 6a df bc 3b de 7e b2 ac 6e 05 27 ec 5e 26 a4 5a |j..;.~..n.'.^&.Z| +00000030 49 3c 70 98 ad 81 ad f9 b2 d0 d3 cb 84 44 22 d2 |I*._5.h....| +00000080 52 ba a5 c5 21 50 f0 a9 17 f9 96 b5 7a 97 11 fa |R...!P......z...| +00000090 a5 f6 99 55 c0 45 f0 6a 50 0d 8c 9f ac 71 ff d0 |...U.E.jP....q..| +000000a0 ad c9 80 6f 54 dd 8a d9 1f 91 95 5d 76 ff 49 14 |...oT......]v.I.| +000000b0 03 03 00 01 01 16 03 03 00 28 af 3c b6 6c 3f 6e |.........(.<.l?n| +000000c0 2e 58 30 4e e8 3a 11 7e c1 c0 03 96 81 2f 10 29 |.X0N.:.~...../.)| +000000d0 a0 1f 17 16 44 ee c1 a3 12 b6 a9 b5 0b 5f 40 a7 |....D........_@.| +000000e0 96 fe |..| >>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 e1 8a 27 |...............'| -00000010 ff 59 af 9b cb 36 55 55 58 bb 88 f5 a2 c5 35 dd |.Y...6UUX.....5.| -00000020 fd 41 a8 15 03 03 00 1a 00 00 00 00 00 00 00 02 |.A..............| -00000030 1a 12 41 d4 c1 00 48 98 b4 3f 85 7e 3e 8a 3b ed |..A...H..?.~>.;.| -00000040 b6 7a |.z| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 16 49 09 |..............I.| +00000010 3f eb dc 1d f2 2f d3 ac b8 4f a8 01 ae 4c 5a 2b |?..../...O...LZ+| +00000020 0b 53 84 15 03 03 00 1a 00 00 00 00 00 00 00 02 |.S..............| +00000030 d3 c7 42 26 d2 a2 f0 77 aa 5f 5d 05 d1 de f8 f6 |..B&...w._].....| +00000040 f3 26 |.&| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-GCM-SHA256-Chrome-58setclienthello b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-GCM-SHA256-Chrome-58setclienthello new file mode 100644 index 0000000..e69de29 diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-GCM-SHA256-Firefox-55 b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-GCM-SHA256-Firefox-55 index ddb34e7..3027528 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-GCM-SHA256-Firefox-55 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-GCM-SHA256-Firefox-55 @@ -12,9 +12,9 @@ 000000a0 03 08 04 08 05 08 06 04 01 05 01 06 01 02 03 02 |................| 000000b0 01 |.| >>> Flow 2 (server to client) -00000000 16 03 03 00 41 02 00 00 3d 03 03 31 bb cf 1a 1c |....A...=..1....| -00000010 63 5d cc 06 5d b4 40 a5 f9 66 ee 6e 3a 0a 95 92 |c]..].@..f.n:...| -00000020 88 66 4e 81 33 7b cf 0a 29 c5 36 00 c0 2b 00 00 |.fN.3{..).6..+..| +00000000 16 03 03 00 41 02 00 00 3d 03 03 61 1f 97 17 77 |....A...=..a...w| +00000010 55 02 ee dc 63 84 03 a3 7e cd 60 7a 96 fd 86 d1 |U...c...~.`z....| +00000020 9d ee 7c ea 22 da 19 b8 60 ce c7 00 c0 2b 00 00 |..|."...`....+..| 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...| @@ -50,45 +50,45 @@ 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 b6 0c 00 |{j.9....*.......| -00000260 00 b2 03 00 1d 20 a1 67 d9 1d fb b6 51 45 8a fc |..... .g....QE..| -00000270 b3 75 f2 3c 91 b5 b2 e2 c7 3f 32 71 ca 83 80 57 |.u.<.....?2q...W| -00000280 11 e0 42 a3 60 7d 04 03 00 8a 30 81 87 02 41 56 |..B.`}....0...AV| -00000290 74 92 29 31 37 3f d9 56 f6 50 7b 1e d0 ec c8 3c |t.)17?.V.P{....<| -000002a0 fb a4 84 46 2f 8b e0 4b a0 81 39 52 13 76 e6 f0 |...F/..K..9R.v..| -000002b0 94 4f 80 7a c6 7d 57 ea 7f fe dd 59 9a 1c 2f 1d |.O.z.}W....Y../.| -000002c0 39 44 f2 09 a3 c3 9e d0 53 e9 55 11 13 5c 99 7c |9D......S.U..\.|| -000002d0 02 42 00 92 0a eb 9c 4c f3 30 ef 88 e1 b6 9e 2c |.B.....L.0.....,| -000002e0 ff 60 a7 50 e0 06 5c 19 2c ff ef 62 b4 f7 94 e4 |.`.P..\.,..b....| -000002f0 fd b1 db 6f 13 c7 42 f2 5c f2 e2 cf 2e e6 81 20 |...o..B.\...... | -00000300 3d aa 8d 87 bd 21 4f b5 01 a6 48 fd c8 1e 1a 22 |=....!O...H...."| -00000310 0d 6a 90 fd 16 03 03 00 04 0e 00 00 00 |.j...........| +00000260 00 b2 03 00 1d 20 12 89 00 88 67 b3 12 37 cf b5 |..... ....g..7..| +00000270 c5 26 da 3d 73 37 b9 e4 1a 3a e2 4a c1 cd e2 09 |.&.=s7...:.J....| +00000280 27 a5 cd df 51 07 04 03 00 8a 30 81 87 02 41 6c |'...Q.....0...Al| +00000290 4e 32 d9 e6 a9 04 03 5c 74 7b 92 a8 2e 2b 0b da |N2.....\t{...+..| +000002a0 c1 bb fe 72 62 cc 56 5c 01 88 fc a7 59 d0 07 af |...rb.V\....Y...| +000002b0 a3 36 fc aa da 5a 1e 75 e1 88 78 22 0e ed fc 5a |.6...Z.u..x"...Z| +000002c0 42 5c 94 f3 3b 07 09 eb f2 9c 31 00 50 9a 52 4a |B\..;.....1.P.RJ| +000002d0 02 42 01 5b dc 11 e2 fd fb fd 72 97 0a ed 89 67 |.B.[......r....g| +000002e0 6f 66 1c fa 5b 5e 7b 4e 05 67 84 dd 06 b6 af e7 |of..[^{N.g......| +000002f0 35 b8 89 6e 46 4f 37 91 82 45 c1 86 7b 57 2f 4d |5..nFO7..E..{W/M| +00000300 44 fa 5b d4 85 3a 85 d2 10 e1 d3 6d 5d c3 69 ad |D.[..:.....m].i.| +00000310 9c ba d7 fa 16 03 03 00 04 0e 00 00 00 |.............| >>> 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 28 00 00 00 00 00 00 00 00 38 c4 3e |....(........8.>| -00000040 cf 58 8b 71 39 1a 2d ee 68 2f 32 80 59 f1 64 dc |.X.q9.-.h/2.Y.d.| -00000050 56 38 2e 6c b3 f5 13 81 91 b9 27 f2 fb |V8.l......'..| +00000030 16 03 03 00 28 00 00 00 00 00 00 00 00 a6 db f6 |....(...........| +00000040 2c ed 79 2b 7c 0c 09 2b fb 41 ec 29 69 96 93 05 |,.y+|..+.A.)i...| +00000050 4e 30 45 01 6e 50 a9 f6 9a e8 f1 be fd |N0E.nP.......| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 99 |............ ...| -00000010 c6 71 33 b7 c8 d7 73 81 52 e8 af c2 6a d8 ca 78 |.q3...s.R...j..x| -00000020 af 79 29 4b 94 f1 45 8a fd c5 a8 37 9e 33 4e ec |.y)K..E....7.3N.| -00000030 56 99 be 1a fc fd cd 24 88 b7 33 aa f5 f6 3a 81 |V......$..3...:.| -00000040 05 f3 4e 11 2b 6b 56 18 aa 89 aa 13 0a f8 2c ef |..N.+kV.......,.| -00000050 77 57 4c 45 7b 6e bb 8c 77 39 f6 1b 7f 00 60 a4 |wWLE{n..w9....`.| -00000060 f5 e8 d1 54 f8 0b 7d 09 82 12 a7 31 1b b8 54 bb |...T..}....1..T.| -00000070 53 92 b6 64 a2 5c 18 14 d9 28 8d 2a 5b 2b 73 7e |S..d.\...(.*[+s~| -00000080 94 df ac 4f c0 88 f0 63 70 b8 aa 12 02 7e 82 fe |...O...cp....~..| -00000090 f1 9c e0 9b 59 66 e3 5e 16 70 e5 b1 f0 e9 55 07 |....Yf.^.p....U.| -000000a0 18 8f da dc db a4 9b 6b 3e ae 56 61 53 22 fd 4d |.......k>.VaS".M| -000000b0 89 da 85 b4 3f fe f5 59 0b 84 75 a6 13 18 1f 14 |....?..Y..u.....| -000000c0 03 03 00 01 01 16 03 03 00 28 93 47 2c ae b3 bf |.........(.G,...| -000000d0 6c 40 cf 5a 6f 7d 6f ca 45 ff 1b 70 fd 1b 32 35 |l@.Zo}o.E..p..25| -000000e0 98 de 81 f1 b4 13 41 50 40 45 ce 09 57 8d 3c 84 |......AP@E..W.<.| -000000f0 c0 ed |..| +00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 3d |............ ..=| +00000010 27 a0 ed 2f ad eb 98 f4 0a 5e 7e 0e 0e 58 85 b5 |'../.....^~..X..| +00000020 d2 20 d2 5a 97 65 38 c4 12 49 0f 52 46 b5 2c 81 |. .Z.e8..I.RF.,.| +00000030 b1 aa e2 e5 18 74 a9 60 25 c4 c5 6b 5e 62 44 47 |.....t.`%..k^bDG| +00000040 52 52 34 53 0a 18 96 81 d3 4a 5c ce 6e 78 2a 77 |RR4S.....J\.nx*w| +00000050 28 c7 99 e7 c3 fe 58 e3 cc 51 f1 24 be 84 7d a9 |(.....X..Q.$..}.| +00000060 4d 55 da a0 e5 7b 30 04 51 f0 8f b2 e8 3e ed 64 |MU...{0.Q....>.d| +00000070 cc 59 81 a6 74 38 90 40 b0 be 52 75 9c 90 fa dc |.Y..t8.@..Ru....| +00000080 a6 94 39 d9 5f 4d 26 0a 09 d9 1d 1e 04 21 3c 8b |..9._M&......!<.| +00000090 a8 4c c4 ba 74 75 d2 63 43 f2 bc 9c 46 23 13 7e |.L..tu.cC...F#.~| +000000a0 63 b6 47 70 1f 2d c0 16 56 44 1e 31 d0 cb ba f9 |c.Gp.-..VD.1....| +000000b0 4e 75 b4 c0 f6 f6 14 8f d0 a7 3d 2a 73 76 86 14 |Nu........=*sv..| +000000c0 03 03 00 01 01 16 03 03 00 28 27 92 fa 48 6a 48 |.........('..HjH| +000000d0 28 c8 bd 0a 27 b6 e9 ad e5 57 c6 2b e7 89 0f d3 |(...'....W.+....| +000000e0 8e b4 43 41 11 8a 84 7c e8 3c e1 16 58 32 ac e0 |..CA...|.<..X2..| +000000f0 4c d5 |L.| >>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 b1 06 52 |...............R| -00000010 85 bd ce b5 29 56 68 57 72 8a cf a1 43 c6 de 27 |....)VhWr...C..'| -00000020 c5 7c 58 15 03 03 00 1a 00 00 00 00 00 00 00 02 |.|X.............| -00000030 4f 67 49 d5 79 6f 7f c6 78 d9 a5 3f 5d 33 8e 51 |OgI.yo..x..?]3.Q| -00000040 ab f1 |..| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 8f be 47 |...............G| +00000010 9c a9 9a d5 3c 18 2f 8b af 5e 39 e4 6d 71 df 13 |....<./..^9.mq..| +00000020 33 0d 8e 15 03 03 00 1a 00 00 00 00 00 00 00 02 |3...............| +00000030 fd cd be 73 76 cb da 22 29 e0 fa f8 ff 8c 95 91 |...sv..").......| +00000040 89 e3 |..| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-GCM-SHA256-Golang-0 b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-GCM-SHA256-Golang-0 new file mode 100644 index 0000000..250f6ed --- /dev/null +++ b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-GCM-SHA256-Golang-0 @@ -0,0 +1,82 @@ +>>> Flow 1 (client to server) +00000000 16 03 01 00 91 01 00 00 8d 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 00 00 2c cc a8 |.............,..| +00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| +00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| +00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| +00000090 01 00 00 12 00 00 |......| +>>> Flow 2 (server to client) +00000000 16 03 03 00 59 02 00 00 55 03 03 6b 1c db bf 45 |....Y...U..k...E| +00000010 b8 70 49 9f a8 91 b0 ff 61 01 be 24 a5 89 b8 0c |.pI.....a..$....| +00000020 cf 40 25 41 d2 6c 66 9f cd 5a fe 20 a3 18 6e 83 |.@%A.lf..Z. ..n.| +00000030 42 74 cc b4 2a 60 c2 07 92 52 3b ae ec 4c 82 fd |Bt..*`...R;..L..| +00000040 49 e7 77 42 89 2c 5d 19 79 da 04 23 c0 2b 00 00 |I.wB.,].y..#.+..| +00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| +00000060 03 02 0e 0b 00 02 0a 00 02 07 00 02 04 30 82 02 |.............0..| +00000070 00 30 82 01 62 02 09 00 b8 bf 2d 47 a0 d2 eb f4 |.0..b.....-G....| +00000080 30 09 06 07 2a 86 48 ce 3d 04 01 30 45 31 0b 30 |0...*.H.=..0E1.0| +00000090 09 06 03 55 04 06 13 02 41 55 31 13 30 11 06 03 |...U....AU1.0...| +000000a0 55 04 08 13 0a 53 6f 6d 65 2d 53 74 61 74 65 31 |U....Some-State1| +000000b0 21 30 1f 06 03 55 04 0a 13 18 49 6e 74 65 72 6e |!0...U....Intern| +000000c0 65 74 20 57 69 64 67 69 74 73 20 50 74 79 20 4c |et Widgits Pty L| +000000d0 74 64 30 1e 17 0d 31 32 31 31 32 32 31 35 30 36 |td0...1211221506| +000000e0 33 32 5a 17 0d 32 32 31 31 32 30 31 35 30 36 33 |32Z..22112015063| +000000f0 32 5a 30 45 31 0b 30 09 06 03 55 04 06 13 02 41 |2Z0E1.0...U....A| +00000100 55 31 13 30 11 06 03 55 04 08 13 0a 53 6f 6d 65 |U1.0...U....Some| +00000110 2d 53 74 61 74 65 31 21 30 1f 06 03 55 04 0a 13 |-State1!0...U...| +00000120 18 49 6e 74 65 72 6e 65 74 20 57 69 64 67 69 74 |.Internet Widgit| +00000130 73 20 50 74 79 20 4c 74 64 30 81 9b 30 10 06 07 |s Pty Ltd0..0...| +00000140 2a 86 48 ce 3d 02 01 06 05 2b 81 04 00 23 03 81 |*.H.=....+...#..| +00000150 86 00 04 00 c4 a1 ed be 98 f9 0b 48 73 36 7e c3 |...........Hs6~.| +00000160 16 56 11 22 f2 3d 53 c3 3b 4d 21 3d cd 6b 75 e6 |.V.".=S.;M!=.ku.| +00000170 f6 b0 dc 9a df 26 c1 bc b2 87 f0 72 32 7c b3 64 |.....&.....r2|.d| +00000180 2f 1c 90 bc ea 68 23 10 7e fe e3 25 c0 48 3a 69 |/....h#.~..%.H:i| +00000190 e0 28 6d d3 37 00 ef 04 62 dd 0d a0 9c 70 62 83 |.(m.7...b....pb.| +000001a0 d8 81 d3 64 31 aa 9e 97 31 bd 96 b0 68 c0 9b 23 |...d1...1...h..#| +000001b0 de 76 64 3f 1a 5c 7f e9 12 0e 58 58 b6 5f 70 dd |.vd?.\....XX._p.| +000001c0 9b d8 ea d5 d7 f5 d5 cc b9 b6 9f 30 66 5b 66 9a |...........0f[f.| +000001d0 20 e2 27 e5 bf fe 3b 30 09 06 07 2a 86 48 ce 3d | .'...;0...*.H.=| +000001e0 04 01 03 81 8c 00 30 81 88 02 42 01 88 a2 4f eb |......0...B...O.| +000001f0 e2 45 c5 48 7d 1b ac f5 ed 98 9d ae 47 70 c0 5e |.E.H}.......Gp.^| +00000200 1b b6 2f bd f1 b6 4d b7 61 40 d3 11 a2 ce ee 0b |../...M.a@......| +00000210 7e 92 7e ff 76 9d c3 3b 7e a5 3f ce fa 10 e2 59 |~.~.v..;~.?....Y| +00000220 ec 47 2d 7c ac da 4e 97 0e 15 a0 6f d0 02 42 01 |.G-|..N....o..B.| +00000230 4d fc be 67 13 9c 2d 05 0e bd 3f a3 8c 25 c1 33 |M..g..-...?..%.3| +00000240 13 83 0d 94 06 bb d4 37 7a f6 ec 7a c9 86 2e dd |.......7z..z....| +00000250 d7 11 69 7f 85 7c 56 de fb 31 78 2b e4 c7 78 0d |..i..|V..1x+..x.| +00000260 ae cb be 9e 4e 36 24 31 7b 6a 0f 39 95 12 07 8f |....N6$1{j.9....| +00000270 2a 16 03 03 00 b6 0c 00 00 b2 03 00 1d 20 21 04 |*............ !.| +00000280 5a 58 27 ba 9c c8 1a 62 74 59 c3 1a c8 2b 95 6c |ZX'....btY...+.l| +00000290 c8 d0 ec 72 0a 52 61 b2 1b 71 be 0f af 51 04 03 |...r.Ra..q...Q..| +000002a0 00 8a 30 81 87 02 42 01 36 04 d8 59 cb 2a 7e 16 |..0...B.6..Y.*~.| +000002b0 6e 25 63 ce f1 7f 8e 79 12 c1 1e 3f 3b 46 65 e8 |n%c....y...?;Fe.| +000002c0 b9 ec 2e a7 cd ea ad 1c 60 7c a8 1e e2 3a 32 cd |........`|...:2.| +000002d0 92 c3 c2 f2 50 e4 76 f2 31 5a c1 52 75 53 87 41 |....P.v.1Z.RuS.A| +000002e0 d3 dd 09 c4 a5 a4 c7 c8 b8 02 41 4c 85 7a 75 c9 |..........AL.zu.| +000002f0 ca 9a bc ee 6a 6e 83 bc df dd 61 cd 88 f7 2e fa |....jn....a.....| +00000300 39 e4 81 65 ff 8b 57 4e 2b 98 4f 0b d7 d9 d0 83 |9..e..WN+.O.....| +00000310 d1 fe c5 cc 09 c8 ac 44 fe 9c ea 6c d8 0a 83 87 |.......D...l....| +00000320 c4 00 17 e5 bc 50 53 b6 18 1a 1c cc 16 03 03 00 |.....PS.........| +00000330 04 0e 00 00 00 |.....| +>>> 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 28 00 00 00 00 00 00 00 00 c4 87 90 |....(...........| +00000040 4f e6 49 da 5f 32 1b 67 26 26 30 fd 22 d6 5d 4f |O.I._2.g&&0.".]O| +00000050 cf b6 d5 79 3b 2b 65 c0 d1 41 17 98 cb |...y;+e..A...| +>>> Flow 4 (server to client) +00000000 14 03 03 00 01 01 16 03 03 00 28 6d da ea 36 1f |..........(m..6.| +00000010 3b c8 f6 3f 5d 68 ce b9 72 26 ec 98 dd bb 79 ee |;..?]h..r&....y.| +00000020 42 65 68 b7 27 3a c8 d8 32 15 42 0c b9 25 34 e0 |Beh.':..2.B..%4.| +00000030 dc e0 62 |..b| +>>> Flow 5 (client to server) +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 c2 9e 62 |...............b| +00000010 bd 21 2f f2 aa 0d 06 34 8f 3b 10 2f b7 21 b6 25 |.!/....4.;./.!.%| +00000020 d0 28 54 15 03 03 00 1a 00 00 00 00 00 00 00 02 |.(T.............| +00000030 1c c0 66 43 5e 06 7c 5a 7a 26 1f 2e 4d a6 10 02 |..fC^.|Zz&..M...| +00000040 48 22 |H"| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-SHA-Android-22 b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-SHA-Android-22 index bdb3ded..0519595 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-SHA-Android-22 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-SHA-Android-22 @@ -13,9 +13,9 @@ 000000b0 33 2e 31 00 0b 00 02 01 00 00 0a 00 08 00 06 00 |3.1.............| 000000c0 17 00 18 00 19 |.....| >>> Flow 2 (server to client) -00000000 16 03 03 00 3d 02 00 00 39 03 03 92 1e a8 ac df |....=...9.......| -00000010 49 eb d9 74 ce 3d 5e 4b 32 bb d3 e0 e6 a5 83 82 |I..t.=^K2.......| -00000020 b4 35 5f d0 fe e5 e7 e2 e5 60 04 00 c0 09 00 00 |.5_......`......| +00000000 16 03 03 00 3d 02 00 00 39 03 03 aa 0b 66 4f 8b |....=...9....fO.| +00000010 9e bd f6 a1 4b 39 37 4c b0 35 0a f7 c6 16 c7 9d |....K97L.5......| +00000020 f3 cd fd 52 01 30 20 b1 53 78 45 00 c0 09 00 00 |...R.0 .SxE.....| 00000030 11 ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 23 |...............#| 00000040 00 00 16 03 03 02 0e 0b 00 02 0a 00 02 07 00 02 |................| 00000050 04 30 82 02 00 30 82 01 62 02 09 00 b8 bf 2d 47 |.0...0..b.....-G| @@ -50,21 +50,21 @@ 00000220 8c 25 c1 33 13 83 0d 94 06 bb d4 37 7a f6 ec 7a |.%.3.......7z..z| 00000230 c9 86 2e dd d7 11 69 7f 85 7c 56 de fb 31 78 2b |......i..|V..1x+| 00000240 e4 c7 78 0d ae cb be 9e 4e 36 24 31 7b 6a 0f 39 |..x.....N6$1{j.9| -00000250 95 12 07 8f 2a 16 03 03 00 d7 0c 00 00 d3 03 00 |....*...........| -00000260 17 41 04 39 e9 bc 71 37 da 23 db 4c e6 2b 6f 27 |.A.9..q7.#.L.+o'| -00000270 82 95 4f 5b fe de fd 2d ab 2b 3d 5e d0 cf 05 11 |..O[...-.+=^....| -00000280 9d 0b 0c ec a2 bd de 01 09 28 dd a9 b8 6b 4a ac |.........(...kJ.| -00000290 a7 35 77 4d 75 6c 78 b8 47 04 f6 b3 af 14 a5 aa |.5wMulx.G.......| -000002a0 08 c7 40 06 03 00 8a 30 81 87 02 42 01 c7 d5 dd |..@....0...B....| -000002b0 4e e5 86 e4 4b 5d 0d 23 08 cf 53 b4 a4 15 fc 2d |N...K].#..S....-| -000002c0 4e 26 71 20 60 d8 c1 63 21 40 60 41 de ec 2a fd |N&q `..c!@`A..*.| -000002d0 ca 41 f6 47 68 dc ad 95 df 1a ec f4 21 a7 60 c9 |.A.Gh.......!.`.| -000002e0 be 2a 58 c8 70 d4 a0 b0 83 da 79 80 39 14 02 41 |.*X.p.....y.9..A| -000002f0 29 79 b3 97 38 d9 62 91 26 da e3 b7 6f 76 c5 13 |)y..8.b.&...ov..| -00000300 ca 87 2b 14 24 16 e2 80 d4 dc 00 30 64 44 23 40 |..+.$......0dD#@| -00000310 32 43 64 db ff 20 d1 11 aa 9a 23 a0 e1 14 ea 48 |2Cd.. ....#....H| -00000320 d5 66 a5 ac 3f fa 80 0b 48 64 eb 84 c9 40 d7 ad |.f..?...Hd...@..| -00000330 4c 16 03 03 00 04 0e 00 00 00 |L.........| +00000250 95 12 07 8f 2a 16 03 03 00 d8 0c 00 00 d4 03 00 |....*...........| +00000260 17 41 04 01 59 82 cd 13 71 72 9f 6c b3 8d eb c3 |.A..Y...qr.l....| +00000270 23 25 98 2f eb bc b8 1e d9 6f 84 56 b2 d5 aa f3 |#%./.....o.V....| +00000280 bc 12 66 8b 75 26 55 f8 df e1 ec 3b f3 76 43 ac |..f.u&U....;.vC.| +00000290 a3 8b 0e f0 2d 7f 16 46 37 04 a6 d2 23 50 49 95 |....-..F7...#PI.| +000002a0 fa fd 2a 06 03 00 8b 30 81 88 02 42 01 cd 8a 56 |..*....0...B...V| +000002b0 87 a9 ec a3 c3 c6 df 5b 82 8e ff 3c cd f5 33 01 |.......[...<..3.| +000002c0 0e 94 13 8b 45 9b ff 78 f5 c2 e0 d0 f8 17 fb d1 |....E..x........| +000002d0 cb a7 7f a4 37 2d 21 f4 1d e8 8f 19 99 8e 3a a7 |....7-!.......:.| +000002e0 a2 44 d5 38 59 e2 cc b4 81 b3 c6 4d e8 ba 02 42 |.D.8Y......M...B| +000002f0 00 90 a8 7f 12 f8 6a 9b 4b da 7c a7 c6 e4 4e 9d |......j.K.|...N.| +00000300 22 86 6a 0d 8d 9c e4 2d e5 6b 35 99 99 b7 28 99 |".j....-.k5...(.| +00000310 c4 0e 22 34 a5 18 cc 05 27 f9 64 ff 3a c8 bd 07 |.."4....'.d.:...| +00000320 d8 c0 ba 13 a1 0d e0 a1 53 e5 d8 52 e3 e3 b6 89 |........S..R....| +00000330 b2 bf 16 03 03 00 04 0e 00 00 00 |...........| >>> Flow 3 (client to server) 00000000 16 03 03 00 46 10 00 00 42 41 04 1e 18 37 ef 0d |....F...BA...7..| 00000010 19 51 88 35 75 71 b5 e5 54 5b 12 2e 8f 09 67 fd |.Q.5uq..T[....g.| @@ -72,32 +72,32 @@ 00000030 f1 07 9f 6c 4b 5b 83 56 e2 32 42 e9 58 b6 d7 49 |...lK[.V.2B.X..I| 00000040 a6 b5 68 1a 41 03 56 6b dc 5a 89 14 03 03 00 01 |..h.A.Vk.Z......| 00000050 01 16 03 03 00 40 00 00 00 00 00 00 00 00 00 00 |.....@..........| -00000060 00 00 00 00 00 00 e5 96 68 8a c4 30 be 44 8e 20 |........h..0.D. | -00000070 89 c7 59 3a a7 c5 86 e5 36 34 84 9c d8 19 ea 22 |..Y:....64....."| -00000080 ab f0 6c d3 c4 c0 b0 e9 a3 3d 1c 73 98 52 24 5e |..l......=.s.R$^| -00000090 86 ad 44 29 76 69 |..D)vi| +00000060 00 00 00 00 00 00 79 8e 76 fa be 2a 7a 0d 3c 91 |......y.v..*z.<.| +00000070 87 67 bf 54 09 0f 86 fa b4 ea 70 71 2c 4f f4 f5 |.g.T......pq,O..| +00000080 dd 71 44 22 a8 c2 30 db a7 d3 79 2d a5 28 b0 d8 |.qD"..0...y-.(..| +00000090 02 f5 6b dd d8 75 |..k..u| >>> Flow 4 (server to client) -00000000 16 03 03 00 aa 04 00 00 a6 00 00 1c 20 00 a0 73 |............ ..s| -00000010 da d6 7b 01 b6 c2 d3 bc dc e5 3a 5d 2c 87 15 d6 |..{.......:],...| -00000020 f7 5e 7a 86 2c 3d 26 a4 21 98 ab f3 06 d8 b5 1a |.^z.,=&.!.......| -00000030 6a ff 9a 09 f8 b6 50 60 06 d4 b6 da f7 36 5c f5 |j.....P`.....6\.| -00000040 e0 cd 7e 16 fb a2 81 27 f7 f2 83 75 9c 0a 21 7a |..~....'...u..!z| -00000050 6c fa 06 15 b2 f1 93 2e ed fe 4c 42 f9 75 1f a8 |l.........LB.u..| -00000060 37 ba c2 17 fb 97 88 71 67 71 6f 1d 16 a3 ce 34 |7......qgqo....4| -00000070 86 3d 9d a4 72 ea c8 81 d6 7c 26 14 0c ed df 14 |.=..r....|&.....| -00000080 dc 08 84 1f bb 96 51 0b d8 96 ae 94 9f 9b 4a fc |......Q.......J.| -00000090 6a 78 8e 4d 05 93 c8 54 1e e8 49 9e 76 07 47 b2 |jx.M...T..I.v.G.| -000000a0 35 43 89 1d bf 8d 49 e8 2a 46 b6 01 b3 f8 cc 14 |5C....I.*F......| -000000b0 03 03 00 01 01 16 03 03 00 40 d1 28 86 31 8a 3f |.........@.(.1.?| -000000c0 52 d7 eb fd bf 9c f5 e6 13 4e d6 b4 f4 0e 00 20 |R........N..... | -000000d0 3b 81 e0 34 9e 06 86 14 82 7c ff ca d5 00 f5 9b |;..4.....|......| -000000e0 2f 60 72 43 4a 1b c6 fa 36 3f 5f d2 52 68 3e 40 |/`rCJ...6?_.Rh>@| -000000f0 ad 41 7b 7e da a3 1c 76 5f 31 |.A{~...v_1| +00000000 16 03 03 00 aa 04 00 00 a6 00 00 1c 20 00 a0 59 |............ ..Y| +00000010 cd 36 fc 38 70 4d ba 43 b8 7d 88 a5 98 54 bd 08 |.6.8pM.C.}...T..| +00000020 07 59 fd f0 81 e3 53 cc 6b de f5 5a 8f 08 b1 81 |.Y....S.k..Z....| +00000030 c3 e4 bb e8 19 c4 17 53 02 4e 35 69 37 a5 9c 4f |.......S.N5i7..O| +00000040 d0 0c 78 28 70 2a c8 62 3d 31 b9 3f da fa 85 b8 |..x(p*.b=1.?....| +00000050 25 f6 86 3d ed da 06 68 3c fa ad 6a 14 62 5a 74 |%..=...h<..j.bZt| +00000060 7a e6 4f 71 e1 86 b6 4c 89 51 1c 93 2d 79 17 4e |z.Oq...L.Q..-y.N| +00000070 b0 4f 39 f9 d2 18 c9 d9 5f 1a d4 41 a3 6c 46 a6 |.O9....._..A.lF.| +00000080 6c 88 74 a4 55 e3 09 3a 74 e2 44 c7 cf 79 41 f4 |l.t.U..:t.D..yA.| +00000090 14 c5 ef 62 53 16 ac 21 f9 2d 2d e3 7a 6b 68 2f |...bS..!.--.zkh/| +000000a0 16 b6 1f 81 78 92 de 84 db fa 81 e4 2c bc 5b 14 |....x.......,.[.| +000000b0 03 03 00 01 01 16 03 03 00 40 66 37 12 6f 82 17 |.........@f7.o..| +000000c0 38 f7 4b 29 f3 fe b1 9a c0 3d f2 13 ef 58 bd 19 |8.K).....=...X..| +000000d0 bc 8f 5f fd ea f6 dc cd 49 25 52 f8 28 8a cb 10 |.._.....I%R.(...| +000000e0 05 af 4d d0 cd c8 08 b4 42 ac a1 7f 79 cf 0e 10 |..M.....B...y...| +000000f0 77 cf cc ed 30 ae 4b df e2 65 |w...0.K..e| >>> 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 1b e4 59 d5 df 24 af ab 53 a3 36 |.......Y..$..S.6| -00000020 bc 55 8c df 2d ff f3 2e cb 01 d2 98 a8 f8 f3 2d |.U..-..........-| -00000030 09 71 6c b3 5b 15 03 03 00 30 00 00 00 00 00 00 |.ql.[....0......| -00000040 00 00 00 00 00 00 00 00 00 00 80 25 d0 5e 8f 09 |...........%.^..| -00000050 54 b3 f7 2b e5 d7 8c 5e 92 7c 16 73 4d 34 4c f0 |T..+...^.|.sM4L.| -00000060 b9 57 ab 27 e1 d8 b4 95 9d 4c |.W.'.....L| +00000010 00 00 00 00 00 f0 05 70 3c ca 23 4c c5 76 e1 c4 |.......p<.#L.v..| +00000020 0a 1f 34 6a 4c f1 bd 43 99 86 0e 74 65 11 47 49 |..4jL..C...te.GI| +00000030 db 5f f0 ea 30 15 03 03 00 30 00 00 00 00 00 00 |._..0....0......| +00000040 00 00 00 00 00 00 00 00 00 00 7d 0a 3b 9f 5f ec |..........}.;._.| +00000050 d8 60 36 65 e3 cf 91 99 22 c3 31 45 a9 a8 ad e4 |.`6e....".1E....| +00000060 71 96 1e 9f 2f 93 41 2f 02 67 |q.../.A/.g| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-SHA-Firefox-55 b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-SHA-Firefox-55 index 0163f00..225fdb7 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-SHA-Firefox-55 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-SHA-Firefox-55 @@ -12,9 +12,9 @@ 000000a0 03 08 04 08 05 08 06 04 01 05 01 06 01 02 03 02 |................| 000000b0 01 |.| >>> Flow 2 (server to client) -00000000 16 03 03 00 41 02 00 00 3d 03 03 e8 06 60 df 30 |....A...=....`.0| -00000010 e9 67 19 ee bb 81 d8 c0 bd 18 78 69 89 5b 2f 5f |.g........xi.[/_| -00000020 e9 d5 b2 50 89 9a 94 24 e2 7c 15 00 c0 09 00 00 |...P...$.|......| +00000000 16 03 03 00 41 02 00 00 3d 03 03 40 5e 7d a2 2f |....A...=..@^}./| +00000010 56 d3 ec a1 e4 13 27 9b 3c df b6 7f 35 52 6c af |V.....'.<...5Rl.| +00000020 bd 0a 45 54 7f b3 ee 2b 3b 6f 7a 00 c0 09 00 00 |..ET...+;oz.....| 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...| @@ -50,50 +50,50 @@ 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 f7 fe 78 52 b8 40 68 f6 e8 b1 |..... ..xR.@h...| -00000270 25 78 35 70 4d 80 39 40 7d d4 75 b1 92 62 b3 b9 |%x5pM.9@}.u..b..| -00000280 c6 12 e0 4d d6 70 04 03 00 8b 30 81 88 02 42 00 |...M.p....0...B.| -00000290 cc 57 2c 00 97 6c 7b e0 a6 44 41 42 2c 5b 6d e6 |.W,..l{..DAB,[m.| -000002a0 70 fd b1 95 8c cb 0b f5 7d 81 04 cb e9 1e 57 5e |p.......}.....W^| -000002b0 21 6c ec 00 50 11 d5 6e 57 72 7f ac 05 ab d6 d2 |!l..P..nWr......| -000002c0 40 34 68 12 3e 3a bf 16 b4 b2 6d 9f 2f ad 01 18 |@4h.>:....m./...| -000002d0 ff 02 42 01 4c eb 30 f3 b5 61 18 a2 88 66 46 f2 |..B.L.0..a...fF.| -000002e0 85 83 97 fb a1 9d 54 b8 6f 7a 53 00 a4 05 d4 8e |......T.ozS.....| -000002f0 dd e9 bd 05 6f 9f 01 0d 86 10 85 2e 53 2c 65 d5 |....o.......S,e.| -00000300 69 66 79 fa 56 34 7e bc 29 ed b1 8b 90 c6 30 da |ify.V4~.).....0.| -00000310 3c eb 9d 90 57 16 03 03 00 04 0e 00 00 00 |<...W.........| +00000260 00 b3 03 00 1d 20 35 25 1b 03 1a 59 58 e2 df c0 |..... 5%...YX...| +00000270 ec b9 c2 6c 50 cc 51 46 9b b9 13 fa 8b 43 94 a4 |...lP.QF.....C..| +00000280 33 c2 d6 67 df 1f 04 03 00 8b 30 81 88 02 42 01 |3..g......0...B.| +00000290 d7 87 aa fd d2 10 0b 28 40 a2 48 33 28 78 e7 da |.......(@.H3(x..| +000002a0 6c 75 7a 7a 56 65 0a f6 a8 32 26 f5 82 62 d9 9c |luzzVe...2&..b..| +000002b0 32 b5 3e 0e 73 7b 82 ed 1b 5f a4 b2 61 3f 45 ad |2.>.s{..._..a?E.| +000002c0 0a a7 39 01 22 f3 54 68 6f 3b 3b c9 94 95 53 64 |..9.".Tho;;...Sd| +000002d0 1b 02 42 01 8b 56 2e 69 ce ff 49 98 ea 52 61 54 |..B..V.i..I..RaT| +000002e0 2c 47 46 c8 8b 9e 8d 13 5a 79 88 fd ab be bd ee |,GF.....Zy......| +000002f0 60 c6 51 d5 f8 15 1c 9f 73 1d e6 56 0d b7 10 07 |`.Q.....s..V....| +00000300 4d 53 23 6a c2 b8 bb d4 8f 13 3d 16 ab 5c 0e 40 |MS#j......=..\.@| +00000310 a7 a2 48 3d d7 16 03 03 00 04 0e 00 00 00 |..H=..........| >>> 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 32 ef 76 f2 21 83 0f 37 69 41 0e |.....2.v.!..7iA.| -00000050 af 2f ea e1 b8 23 3f d8 73 76 34 27 06 30 27 4e |./...#?.sv4'.0'N| -00000060 d6 6f 48 ce bb 62 e7 db 7e 02 05 52 6a f3 d7 48 |.oH..b..~..Rj..H| -00000070 d4 bf d6 7b 33 |...{3| +00000040 00 00 00 00 00 42 93 12 d9 39 bd 29 30 1a 86 98 |.....B...9.)0...| +00000050 25 74 39 a5 9d 70 68 b0 ca 32 63 5c df e0 f9 d0 |%t9..ph..2c\....| +00000060 b3 60 34 2a df 95 6c a8 cb 33 3f 26 cd 76 c9 ba |.`4*..l..3?&.v..| +00000070 c6 5e 27 c3 a0 |.^'..| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 9c |............ ...| -00000010 da 4e f4 6c d2 25 15 1e 48 6c 16 39 56 57 9a 48 |.N.l.%..Hl.9VW.H| -00000020 a9 d2 0d be 30 21 ca 8a ff 64 80 51 9a 85 5a e5 |....0!...d.Q..Z.| -00000030 5b 9a 6a a6 75 61 50 fe 63 74 64 40 c2 38 1d 96 |[.j.uaP.ctd@.8..| -00000040 7f 53 7c df 1b 7b f8 4b 7e f8 ac a0 fd 34 6d 92 |.S|..{.K~....4m.| -00000050 66 71 46 5f 78 bb b3 06 7b 5c 00 76 36 90 63 41 |fqF_x...{\.v6.cA| -00000060 29 af b6 5f ae ae af d8 43 39 e5 e2 60 30 2e 46 |).._....C9..`0.F| -00000070 b3 b7 e1 a5 a2 16 63 89 df 76 ba 02 ae d4 6d c2 |......c..v....m.| -00000080 40 49 91 a0 f4 b4 ef 75 0d 21 df 5a 77 5e b7 e3 |@I.....u.!.Zw^..| -00000090 72 e5 76 61 eb 26 cf 47 c9 e4 89 49 38 a8 f8 5b |r.va.&.G...I8..[| -000000a0 c7 b0 f0 fc ea e4 ff 2f 73 28 e8 42 0b d9 cf eb |......./s(.B....| -000000b0 ab 8b 43 cb 05 91 46 ae 67 30 f9 2d 1b 64 b5 14 |..C...F.g0.-.d..| -000000c0 03 03 00 01 01 16 03 03 00 40 3d 9a b4 94 11 7f |.........@=.....| -000000d0 39 61 95 81 73 cc 7b 11 f6 85 f9 e4 79 c3 77 d2 |9a..s.{.....y.w.| -000000e0 7b 42 27 d3 b5 f9 8c 1c 56 6a 57 97 96 70 33 37 |{B'.....VjW..p37| -000000f0 bb e5 ca 31 42 48 3a 1a 17 96 bc 7d f7 1d 9e 3d |...1BH:....}...=| -00000100 aa 69 38 05 00 e2 57 8a 65 85 |.i8...W.e.| +00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 81 |............ ...| +00000010 3f 1a 58 27 7c b4 f9 b8 99 27 80 0e c7 cc e1 e2 |?.X'|....'......| +00000020 1b 50 9b 53 30 f3 64 76 a9 19 37 6c e5 e9 cd 46 |.P.S0.dv..7l...F| +00000030 8a 12 a0 59 e9 29 95 26 01 8b 06 08 63 98 17 ca |...Y.).&....c...| +00000040 2a c2 85 1b 3f b1 bf d7 31 91 12 6f 33 1e 6f e0 |*...?...1..o3.o.| +00000050 76 72 72 33 09 65 e1 9d 89 b4 e3 19 3b 68 05 cc |vrr3.e......;h..| +00000060 ea 45 d1 ba ba 99 1a 9d f0 a1 8e 97 bc 64 2e 1e |.E...........d..| +00000070 35 01 50 31 7f 48 de f8 5f 13 d5 5b bf 80 a5 13 |5.P1.H.._..[....| +00000080 c3 b8 d3 dd 3c 55 30 2c b5 2c da 5f b1 b2 14 6d |....>> 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 1e ec c0 90 82 e9 29 52 35 98 a9 |...........)R5..| -00000020 24 94 e7 73 36 73 ff fc 2f 1e 24 28 3d 73 96 f8 |$..s6s../.$(=s..| -00000030 7d 12 d4 96 0c 15 03 03 00 30 00 00 00 00 00 00 |}........0......| -00000040 00 00 00 00 00 00 00 00 00 00 34 c4 d1 63 68 fc |..........4..ch.| -00000050 da b1 82 9f fa 61 3d b2 a8 fc 7d 06 36 95 86 b7 |.....a=...}.6...| -00000060 2a 86 e1 f5 83 18 05 3f 9b 1c |*......?..| +00000010 00 00 00 00 00 88 9e 89 6e 41 59 52 36 06 78 cf |........nAYR6.x.| +00000020 28 5d cb c6 f8 5b 78 68 85 90 18 6d 2c 58 88 d2 |(]...[xh...m,X..| +00000030 2a 8e 9b 6a e5 15 03 03 00 30 00 00 00 00 00 00 |*..j.....0......| +00000040 00 00 00 00 00 00 00 00 00 00 e0 4f cc 03 9f 46 |...........O...F| +00000050 21 8a d9 73 17 0a 33 6d bb 3f 43 e5 fa 84 a1 80 |!..s..3m.?C.....| +00000060 d1 68 2b 1e e9 ac 06 e3 6d d1 |.h+.....m.| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-SHA-Golang-0 b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-SHA-Golang-0 new file mode 100644 index 0000000..c1d726b --- /dev/null +++ b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-SHA-Golang-0 @@ -0,0 +1,87 @@ +>>> Flow 1 (client to server) +00000000 16 03 01 00 91 01 00 00 8d 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 00 00 2c cc a8 |.............,..| +00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| +00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| +00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| +00000090 01 00 00 12 00 00 |......| +>>> Flow 2 (server to client) +00000000 16 03 03 00 59 02 00 00 55 03 03 fe df 8a 55 4a |....Y...U.....UJ| +00000010 2e 00 71 40 be d3 e1 30 79 f4 68 a9 60 ce 1a 15 |..q@...0y.h.`...| +00000020 41 e2 aa 3a 4f 85 74 08 62 55 9c 20 7f 4f d8 a9 |A..:O.t.bU. .O..| +00000030 0c f9 b0 05 e9 08 65 dc 4c bd fc cb 3b 7d 08 f3 |......e.L...;}..| +00000040 0f 75 c7 5b 72 d9 19 88 96 1e 84 ff c0 09 00 00 |.u.[r...........| +00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| +00000060 03 02 0e 0b 00 02 0a 00 02 07 00 02 04 30 82 02 |.............0..| +00000070 00 30 82 01 62 02 09 00 b8 bf 2d 47 a0 d2 eb f4 |.0..b.....-G....| +00000080 30 09 06 07 2a 86 48 ce 3d 04 01 30 45 31 0b 30 |0...*.H.=..0E1.0| +00000090 09 06 03 55 04 06 13 02 41 55 31 13 30 11 06 03 |...U....AU1.0...| +000000a0 55 04 08 13 0a 53 6f 6d 65 2d 53 74 61 74 65 31 |U....Some-State1| +000000b0 21 30 1f 06 03 55 04 0a 13 18 49 6e 74 65 72 6e |!0...U....Intern| +000000c0 65 74 20 57 69 64 67 69 74 73 20 50 74 79 20 4c |et Widgits Pty L| +000000d0 74 64 30 1e 17 0d 31 32 31 31 32 32 31 35 30 36 |td0...1211221506| +000000e0 33 32 5a 17 0d 32 32 31 31 32 30 31 35 30 36 33 |32Z..22112015063| +000000f0 32 5a 30 45 31 0b 30 09 06 03 55 04 06 13 02 41 |2Z0E1.0...U....A| +00000100 55 31 13 30 11 06 03 55 04 08 13 0a 53 6f 6d 65 |U1.0...U....Some| +00000110 2d 53 74 61 74 65 31 21 30 1f 06 03 55 04 0a 13 |-State1!0...U...| +00000120 18 49 6e 74 65 72 6e 65 74 20 57 69 64 67 69 74 |.Internet Widgit| +00000130 73 20 50 74 79 20 4c 74 64 30 81 9b 30 10 06 07 |s Pty Ltd0..0...| +00000140 2a 86 48 ce 3d 02 01 06 05 2b 81 04 00 23 03 81 |*.H.=....+...#..| +00000150 86 00 04 00 c4 a1 ed be 98 f9 0b 48 73 36 7e c3 |...........Hs6~.| +00000160 16 56 11 22 f2 3d 53 c3 3b 4d 21 3d cd 6b 75 e6 |.V.".=S.;M!=.ku.| +00000170 f6 b0 dc 9a df 26 c1 bc b2 87 f0 72 32 7c b3 64 |.....&.....r2|.d| +00000180 2f 1c 90 bc ea 68 23 10 7e fe e3 25 c0 48 3a 69 |/....h#.~..%.H:i| +00000190 e0 28 6d d3 37 00 ef 04 62 dd 0d a0 9c 70 62 83 |.(m.7...b....pb.| +000001a0 d8 81 d3 64 31 aa 9e 97 31 bd 96 b0 68 c0 9b 23 |...d1...1...h..#| +000001b0 de 76 64 3f 1a 5c 7f e9 12 0e 58 58 b6 5f 70 dd |.vd?.\....XX._p.| +000001c0 9b d8 ea d5 d7 f5 d5 cc b9 b6 9f 30 66 5b 66 9a |...........0f[f.| +000001d0 20 e2 27 e5 bf fe 3b 30 09 06 07 2a 86 48 ce 3d | .'...;0...*.H.=| +000001e0 04 01 03 81 8c 00 30 81 88 02 42 01 88 a2 4f eb |......0...B...O.| +000001f0 e2 45 c5 48 7d 1b ac f5 ed 98 9d ae 47 70 c0 5e |.E.H}.......Gp.^| +00000200 1b b6 2f bd f1 b6 4d b7 61 40 d3 11 a2 ce ee 0b |../...M.a@......| +00000210 7e 92 7e ff 76 9d c3 3b 7e a5 3f ce fa 10 e2 59 |~.~.v..;~.?....Y| +00000220 ec 47 2d 7c ac da 4e 97 0e 15 a0 6f d0 02 42 01 |.G-|..N....o..B.| +00000230 4d fc be 67 13 9c 2d 05 0e bd 3f a3 8c 25 c1 33 |M..g..-...?..%.3| +00000240 13 83 0d 94 06 bb d4 37 7a f6 ec 7a c9 86 2e dd |.......7z..z....| +00000250 d7 11 69 7f 85 7c 56 de fb 31 78 2b e4 c7 78 0d |..i..|V..1x+..x.| +00000260 ae cb be 9e 4e 36 24 31 7b 6a 0f 39 95 12 07 8f |....N6$1{j.9....| +00000270 2a 16 03 03 00 b7 0c 00 00 b3 03 00 1d 20 1e 4f |*............ .O| +00000280 3c de a3 4b f4 a4 ab a5 cd 51 4a fc b2 36 d2 4b |<..K.....QJ..6.K| +00000290 b4 c3 a2 6d cf 16 88 e4 28 7e 91 2d 17 42 04 03 |...m....(~.-.B..| +000002a0 00 8b 30 81 88 02 42 01 d1 96 f8 80 a6 53 82 c6 |..0...B......S..| +000002b0 c1 db 90 77 75 7b 85 cc e1 f9 a7 4b f1 32 68 15 |...wu{.....K.2h.| +000002c0 63 9d bd b1 1b f2 9c fc 67 3c e3 2c 6c a5 d5 b4 |c.......g<.,l...| +000002d0 a0 df b7 34 65 a4 e4 08 e4 42 e5 95 56 d0 27 53 |...4e....B..V.'S| +000002e0 02 61 e3 a9 aa d0 25 b4 f9 02 42 00 99 fa 8f 2b |.a....%...B....+| +000002f0 fc 5d 3e fa 23 94 2d a2 b4 c8 cb 59 f4 87 54 c8 |.]>.#.-....Y..T.| +00000300 be 2e 3b 38 13 15 b3 09 6c 99 b9 d1 81 7a a9 b5 |..;8....l....z..| +00000310 a9 e5 56 75 00 78 2a 0e b8 e5 eb 47 4b 26 04 c5 |..Vu.x*....GK&..| +00000320 e4 39 5d eb 06 75 e0 9e 1e 2e 09 42 e1 16 03 03 |.9]..u.....B....| +00000330 00 04 0e 00 00 00 |......| +>>> 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 36 5d 90 bd cc e4 ff 83 ff 7f 1a |.....6].........| +00000050 9b bb ee cb 82 e3 5b 30 f2 35 7c f0 86 c1 c6 49 |......[0.5|....I| +00000060 b0 ab cf e5 05 d0 4c c9 34 a8 74 47 92 08 7c 56 |......L.4.tG..|V| +00000070 d3 ac ae 81 b9 |.....| +>>> Flow 4 (server to client) +00000000 14 03 03 00 01 01 16 03 03 00 40 dc f0 c9 f2 08 |..........@.....| +00000010 98 4e d6 21 7c 42 32 8e bb c1 54 92 b4 cc 4a 43 |.N.!|B2...T...JC| +00000020 36 b0 bb b8 0c 88 d4 06 3d 10 43 29 ab cb bd da |6.......=.C)....| +00000030 5a 8d ff 79 b4 66 6a c9 ff eb d8 df bb 3b 05 22 |Z..y.fj......;."| +00000040 27 35 f7 65 8f 43 ff 51 e8 c0 93 |'5.e.C.Q...| +>>> 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 08 56 21 5b 98 1e d2 a0 b3 91 dd |......V![.......| +00000020 b6 40 c7 ec 60 db a5 ce 3d 5e 09 16 37 74 b6 92 |.@..`...=^..7t..| +00000030 6e 08 ce 7e fa 15 03 03 00 30 00 00 00 00 00 00 |n..~.....0......| +00000040 00 00 00 00 00 00 00 00 00 00 79 8f 5a 05 e4 95 |..........y.Z...| +00000050 33 c7 bb aa eb e6 23 8f f0 48 99 8e 88 ba 91 4d |3.....#..H.....M| +00000060 20 5f 74 2c 62 d4 02 67 de 13 | _t,b..g..| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES256-SHA-Android-22 b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES256-SHA-Android-22 index 67378eb..49bfb2a 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES256-SHA-Android-22 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES256-SHA-Android-22 @@ -13,9 +13,9 @@ 000000b0 33 2e 31 00 0b 00 02 01 00 00 0a 00 08 00 06 00 |3.1.............| 000000c0 17 00 18 00 19 |.....| >>> Flow 2 (server to client) -00000000 16 03 03 00 3d 02 00 00 39 03 03 aa 17 ba 1d 7f |....=...9.......| -00000010 f1 db 85 a5 3a 3c 9e c8 7e 33 cc df e5 d8 fd b6 |....:<..~3......| -00000020 b2 6b 2d fb dc ae 7f 4b 61 3d e4 00 c0 0a 00 00 |.k-....Ka=......| +00000000 16 03 03 00 3d 02 00 00 39 03 03 c4 89 b5 89 c4 |....=...9.......| +00000010 de f2 9f 81 33 5e d7 f1 11 7a b9 ed c7 20 90 44 |....3^...z... .D| +00000020 11 67 22 a6 23 3a d2 f2 5c c3 5b 00 c0 0a 00 00 |.g".#:..\.[.....| 00000030 11 ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 23 |...............#| 00000040 00 00 16 03 03 02 0e 0b 00 02 0a 00 02 07 00 02 |................| 00000050 04 30 82 02 00 30 82 01 62 02 09 00 b8 bf 2d 47 |.0...0..b.....-G| @@ -50,21 +50,21 @@ 00000220 8c 25 c1 33 13 83 0d 94 06 bb d4 37 7a f6 ec 7a |.%.3.......7z..z| 00000230 c9 86 2e dd d7 11 69 7f 85 7c 56 de fb 31 78 2b |......i..|V..1x+| 00000240 e4 c7 78 0d ae cb be 9e 4e 36 24 31 7b 6a 0f 39 |..x.....N6$1{j.9| -00000250 95 12 07 8f 2a 16 03 03 00 d8 0c 00 00 d4 03 00 |....*...........| -00000260 17 41 04 e9 a9 17 9f a1 29 ad 6d f0 e8 16 4b 78 |.A......).m...Kx| -00000270 22 5f 67 f4 74 e6 5c 1e eb 05 cf 3d db 4d 87 0e |"_g.t.\....=.M..| -00000280 22 ca bf 66 f8 c6 a4 5c 80 85 6b 00 9a eb 3c 0c |"..f...\..k...<.| -00000290 e1 4b 3a 0b 57 96 57 0c ad a6 a4 44 dd cb 45 7a |.K:.W.W....D..Ez| -000002a0 59 e9 f3 06 03 00 8b 30 81 88 02 42 01 44 39 03 |Y......0...B.D9.| -000002b0 ad dd 2a 08 28 ad c0 e1 bd d6 b8 77 f6 7d 0f 0b |..*.(......w.}..| -000002c0 7a f0 b4 8f a5 1e c7 89 de ea 67 38 70 9e 50 bd |z.........g8p.P.| -000002d0 fa 4a d8 29 ec 7f 72 86 b9 be 7b c4 f9 a7 dc 0b |.J.)..r...{.....| -000002e0 86 80 97 30 b5 72 ce e4 f1 a9 d0 75 bf 45 02 42 |...0.r.....u.E.B| -000002f0 00 e0 f1 e8 fa 52 14 1b 53 84 ba 5b 57 a1 9d 32 |.....R..S..[W..2| -00000300 4c fa 2b db 6a 1e 84 d7 4a 41 b5 f9 61 86 d4 53 |L.+.j...JA..a..S| -00000310 46 69 36 03 e7 a7 83 37 e0 4f 51 df c2 dd 36 c1 |Fi6....7.OQ...6.| -00000320 47 4c 5b ae af 42 a6 02 1e 76 fe 80 cb e0 af fc |GL[..B...v......| -00000330 70 c3 16 03 03 00 04 0e 00 00 00 |p..........| +00000250 95 12 07 8f 2a 16 03 03 00 d7 0c 00 00 d3 03 00 |....*...........| +00000260 17 41 04 cd 0b 6a 41 b5 7d 65 42 24 33 d9 db a2 |.A...jA.}eB$3...| +00000270 ec 68 ed 47 9a e9 62 05 4a 6a 85 0f 6f d1 39 dc |.h.G..b.Jj..o.9.| +00000280 3e 3f e0 da b2 6e a8 c4 34 9e cb b2 68 b3 8c db |>?...n..4...h...| +00000290 02 89 d2 89 50 20 52 56 2e 54 7e 97 8c 94 2a a1 |....P RV.T~...*.| +000002a0 1c 3e c9 06 03 00 8a 30 81 87 02 41 36 30 8b 69 |.>.....0...A60.i| +000002b0 86 35 64 8e 10 a1 be 2b 87 79 4b 31 8a 5c eb f0 |.5d....+.yK1.\..| +000002c0 c8 8c 76 06 41 a7 05 47 b5 ed dc 2b 69 cc 74 4c |..v.A..G...+i.tL| +000002d0 90 fc 9e 5d c8 2f e3 ec 42 67 0c 2a a0 5d f7 9e |...]./..Bg.*.]..| +000002e0 09 40 9d 4e 64 31 0a 0b 95 e9 ef b1 99 02 42 01 |.@.Nd1........B.| +000002f0 56 7f 2c 24 46 7e 07 3d 71 a9 c4 3d 70 01 8d fd |V.,$F~.=q..=p...| +00000300 6e 4e 54 57 b9 a6 8f 60 f7 69 6c f2 49 67 f0 55 |nNTW...`.il.Ig.U| +00000310 e0 8b f1 f6 a9 66 d3 dc c9 e7 3e f4 70 0f 43 82 |.....f....>.p.C.| +00000320 ef e0 25 5e fa b7 62 90 43 69 c6 16 6d 95 23 a0 |..%^..b.Ci..m.#.| +00000330 a8 16 03 03 00 04 0e 00 00 00 |..........| >>> Flow 3 (client to server) 00000000 16 03 03 00 46 10 00 00 42 41 04 1e 18 37 ef 0d |....F...BA...7..| 00000010 19 51 88 35 75 71 b5 e5 54 5b 12 2e 8f 09 67 fd |.Q.5uq..T[....g.| @@ -72,32 +72,32 @@ 00000030 f1 07 9f 6c 4b 5b 83 56 e2 32 42 e9 58 b6 d7 49 |...lK[.V.2B.X..I| 00000040 a6 b5 68 1a 41 03 56 6b dc 5a 89 14 03 03 00 01 |..h.A.Vk.Z......| 00000050 01 16 03 03 00 40 00 00 00 00 00 00 00 00 00 00 |.....@..........| -00000060 00 00 00 00 00 00 e2 7c 22 d6 0e e8 51 11 24 a5 |.......|"...Q.$.| -00000070 87 92 e4 4f 26 ad 68 a1 71 bb 78 46 7e 22 cb 7c |...O&.h.q.xF~".|| -00000080 cd 65 a7 08 73 ba b5 6d 73 16 a9 2b ea 22 cd 58 |.e..s..ms..+.".X| -00000090 0a c5 ca 94 1b 45 |.....E| +00000060 00 00 00 00 00 00 81 ae 16 25 5b 42 e4 52 af 05 |.........%[B.R..| +00000070 1b dc 42 9f 9f e6 a7 5b e6 e8 65 ba 36 1a be 42 |..B....[..e.6..B| +00000080 8a 4a bc 26 66 b2 ab 89 a4 df 03 f6 cc d0 d8 08 |.J.&f...........| +00000090 44 3d 72 de ca 04 |D=r...| >>> Flow 4 (server to client) -00000000 16 03 03 00 aa 04 00 00 a6 00 00 1c 20 00 a0 d6 |............ ...| -00000010 1e fe c9 8a 88 71 81 a3 b4 0f 72 d7 ff df ca d4 |.....q....r.....| -00000020 12 72 f6 fd 36 d6 46 d8 50 45 0f a2 ad e1 38 83 |.r..6.F.PE....8.| -00000030 11 e4 75 ee 0a 54 3c 11 b1 f4 2c de 1f df 79 8a |..u..T<...,...y.| -00000040 35 fa 96 08 44 19 56 7d b2 ba 4b ad 99 fa fc 1f |5...D.V}..K.....| -00000050 55 6d 02 8b 1b 46 e8 d4 d4 31 3c c7 02 14 b6 fa |Um...F...1<.....| -00000060 cf 76 3d 67 39 c4 57 34 1f bc 2b 43 2d 1c 3a 53 |.v=g9.W4..+C-.:S| -00000070 23 8e 73 cd 5c 57 bb 67 c3 d9 4d cb 77 1a 1d 03 |#.s.\W.g..M.w...| -00000080 cc 1c 13 f6 fd e3 d7 2c 4b 85 52 91 10 4b 5e 98 |.......,K.R..K^.| -00000090 71 98 76 eb f2 90 71 a1 06 dd 08 8e 3e c1 85 6b |q.v...q.....>..k| -000000a0 22 06 83 d8 de 3d 8e 35 bc db 8f 55 42 4f 77 14 |"....=.5...UBOw.| -000000b0 03 03 00 01 01 16 03 03 00 40 43 10 97 00 03 30 |.........@C....0| -000000c0 82 7a fc fb 62 18 d5 d0 69 12 03 0a 92 71 98 5d |.z..b...i....q.]| -000000d0 c9 5f 59 f5 4f d9 85 3f bc ef b3 79 ed 4f 98 e1 |._Y.O..?...y.O..| -000000e0 aa 98 c0 22 61 bc a2 38 71 82 c4 02 b8 39 38 c7 |..."a..8q....98.| -000000f0 66 71 47 4f a7 2f 22 55 eb d7 |fqGO./"U..| +00000000 16 03 03 00 aa 04 00 00 a6 00 00 1c 20 00 a0 de |............ ...| +00000010 00 66 6a 87 24 56 86 e8 e6 d0 4c 4e 0f 5a 75 cb |.fj.$V....LN.Zu.| +00000020 db 4e f9 73 6d f2 6e 5e 7d 90 76 93 14 ce ed 1f |.N.sm.n^}.v.....| +00000030 79 20 a2 dd 4b 23 55 7f 40 43 97 71 c8 be 5a 6b |y ..K#U.@C.q..Zk| +00000040 ed f6 f4 fb 95 e4 1e 07 9e 68 c1 0c fa b0 0f a0 |.........h......| +00000050 fa 71 e8 e2 33 d8 b9 7e f1 6f 0e 3f 5b 24 72 fb |.q..3..~.o.?[$r.| +00000060 50 eb 43 e4 73 82 fe 2d 58 1d 88 ba 40 62 69 c8 |P.C.s..-X...@bi.| +00000070 7a 82 6e ca 45 48 a5 17 37 ce a0 0f a6 a4 6c e4 |z.n.EH..7.....l.| +00000080 38 e7 41 3f e8 3d 7a 54 18 5f be 9d 85 85 4c 81 |8.A?.=zT._....L.| +00000090 db 9f db d9 24 7b 50 ee 0f 21 9f a3 2c 3c f5 fb |....${P..!..,<..| +000000a0 44 cc b5 00 73 12 80 e1 c5 7d 98 b6 7a d8 53 14 |D...s....}..z.S.| +000000b0 03 03 00 01 01 16 03 03 00 40 fc 1a 3e da 0d dd |.........@..>...| +000000c0 f8 77 6a b9 55 e4 50 0e 9e 26 2e e1 15 b5 a8 06 |.wj.U.P..&......| +000000d0 4d 70 dc 0e 69 36 1f d6 56 28 13 33 ae 64 9a 3d |Mp..i6..V(.3.d.=| +000000e0 a8 17 c7 20 9e d4 9c 94 b7 ae bb 93 82 33 60 d3 |... .........3`.| +000000f0 b9 02 c2 2f 60 6e 7d 3b c1 db |.../`n};..| >>> 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 db 71 10 4c 6a 57 7c 04 38 c9 c4 |......q.LjW|.8..| -00000020 70 b8 75 32 c1 03 79 bd e7 50 ec df eb 30 e1 01 |p.u2..y..P...0..| -00000030 aa 25 55 48 cb 15 03 03 00 30 00 00 00 00 00 00 |.%UH.....0......| -00000040 00 00 00 00 00 00 00 00 00 00 98 9a 38 81 0e 9f |............8...| -00000050 b9 0f 5c cf fa bc 26 09 5b 63 b3 16 2c 0c f3 d9 |..\...&.[c..,...| -00000060 da 95 a8 8b c2 71 e4 7f 91 b5 |.....q....| +00000010 00 00 00 00 00 f9 3c b6 4c 96 f0 51 54 bd cf 9c |......<.L..QT...| +00000020 fa 82 d1 f3 89 a8 bf 59 2d 7e 13 30 50 f2 c5 9a |.......Y-~.0P...| +00000030 3f f8 46 64 a5 15 03 03 00 30 00 00 00 00 00 00 |?.Fd.....0......| +00000040 00 00 00 00 00 00 00 00 00 00 12 09 ba dc 22 b1 |..............".| +00000050 20 db 68 a1 3e 7e ea 1f 52 72 8d 6b da de ef 4d | .h.>~..Rr.k...M| +00000060 1a a7 cd 24 eb 7a 85 44 ed 63 |...$.z.D.c| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES256-SHA-Firefox-55 b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES256-SHA-Firefox-55 index 9c392b9..88aa9b2 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES256-SHA-Firefox-55 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES256-SHA-Firefox-55 @@ -12,9 +12,9 @@ 000000a0 03 08 04 08 05 08 06 04 01 05 01 06 01 02 03 02 |................| 000000b0 01 |.| >>> Flow 2 (server to client) -00000000 16 03 03 00 41 02 00 00 3d 03 03 fa 78 e6 c1 ef |....A...=...x...| -00000010 af bc 7f 18 4d c6 23 31 d8 0f 46 4d 2a a3 ac ef |....M.#1..FM*...| -00000020 4a e0 29 f2 6a 79 ca 16 4d 20 92 00 c0 0a 00 00 |J.).jy..M ......| +00000000 16 03 03 00 41 02 00 00 3d 03 03 da 56 44 3a 33 |....A...=...VD:3| +00000010 23 26 80 49 e5 77 e1 3e db a2 08 c1 7c 64 0a 3c |#&.I.w.>....|d.<| +00000020 aa 07 c5 ac 3e d2 9f aa 48 ff 88 00 c0 0a 00 00 |....>...H.......| 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...| @@ -49,51 +49,51 @@ 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 a1 d4 ca 0d 05 9c 95 01 5d 1e |..... ........].| -00000270 2e e2 d6 c6 8f 21 9e 96 8d c2 59 68 c3 33 18 4b |.....!....Yh.3.K| -00000280 18 4c a0 e4 9a 36 04 03 00 8b 30 81 88 02 42 01 |.L...6....0...B.| -00000290 39 53 f8 6f 38 8f e8 18 f7 9a 89 47 d6 85 e1 14 |9S.o8......G....| -000002a0 d5 f5 28 d4 8a ca 9f cb 1c 9e 5c 93 eb d7 8c 37 |..(.......\....7| -000002b0 f0 44 7a 73 49 7f 1d a3 24 d1 af 00 c8 66 81 7b |.DzsI...$....f.{| -000002c0 1f 0d d4 f5 a9 7b d6 f0 83 ed ef f9 f2 ef e0 b3 |.....{..........| -000002d0 6c 02 42 01 00 6c 5b 23 c1 ea 74 55 5c 4b 0e 6a |l.B..l[#..tU\K.j| -000002e0 0e f3 96 ed 79 e3 df 31 27 96 d3 6e aa 3a 1d 30 |....y..1'..n.:.0| -000002f0 9d 66 40 2d 2b c1 fa 2f 91 af 6f 5f 34 14 d8 aa |.f@-+../..o_4...| -00000300 fe 28 59 6a e7 3e 51 fc d4 9b c8 0f 2d 84 03 03 |.(Yj.>Q.....-...| -00000310 77 e4 7f 24 23 16 03 03 00 04 0e 00 00 00 |w..$#.........| +00000250 7b 6a 0f 39 95 12 07 8f 2a 16 03 03 00 b6 0c 00 |{j.9....*.......| +00000260 00 b2 03 00 1d 20 80 98 4a 1b cf 84 8e f6 e2 40 |..... ..J......@| +00000270 00 68 b1 c4 c3 da 32 f1 0a 6c bb ae f3 57 ac 50 |.h....2..l...W.P| +00000280 f5 26 ad 1d 1c 59 04 03 00 8a 30 81 87 02 42 01 |.&...Y....0...B.| +00000290 50 30 24 b8 ea 6b fe ac 3d ad bb 45 6d 2d e7 d1 |P0$..k..=..Em-..| +000002a0 5d b2 d6 e0 0b ce 0b 5b 9b 20 6f b4 2d 4b 1c 04 |]......[. o.-K..| +000002b0 ec f8 3f 93 49 f5 86 24 b1 63 ff 19 14 a9 42 89 |..?.I..$.c....B.| +000002c0 f0 42 13 91 87 5e 3e 53 05 66 b2 de 0e 15 5c 3a |.B...^>S.f....\:| +000002d0 aa 02 41 38 13 ab a2 92 19 24 ff ee ba 5c 1b c2 |..A8.....$...\..| +000002e0 cf 19 14 9c 10 be e5 a8 3d 35 ae 6f 5f b4 ef bf |........=5.o_...| +000002f0 7c 90 c9 25 15 51 d2 39 20 be e0 61 1e 77 71 28 ||..%.Q.9 ..a.wq(| +00000300 65 92 9f a7 92 cc fa 52 60 a8 8b c5 a0 c3 3d 41 |e......R`.....=A| +00000310 49 94 22 03 16 03 03 00 04 0e 00 00 00 |I."..........| >>> 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 5c 08 36 89 23 65 47 a2 76 e3 2d |.....\.6.#eG.v.-| -00000050 72 cb 77 17 35 90 73 f1 fb d4 08 5d 81 85 26 6b |r.w.5.s....]..&k| -00000060 6d 06 83 d9 a5 0b 39 7a bc 28 8e a8 54 c1 5b 89 |m.....9z.(..T.[.| -00000070 d2 19 78 b0 c3 |..x..| +00000040 00 00 00 00 00 c4 23 f3 a1 aa 43 66 a7 e1 e8 70 |......#...Cf...p| +00000050 30 a7 c6 8a b2 86 78 84 d1 4a a1 05 56 2c 83 ed |0.....x..J..V,..| +00000060 1a ab d1 71 51 6f 98 40 85 ba b8 51 83 10 b7 ad |...qQo.@...Q....| +00000070 fa ec 60 82 3e |..`.>| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 bd |............ ...| -00000010 43 b8 0c 54 97 eb 40 e1 4b 89 ab 74 83 4b b2 42 |C..T..@.K..t.K.B| -00000020 48 7c 09 8a 37 23 37 8a aa fe 45 eb 45 b8 04 1e |H|..7#7...E.E...| -00000030 92 fd 15 74 82 25 ce 36 e8 5c e1 a3 a7 da 47 f8 |...t.%.6.\....G.| -00000040 df a1 2c f2 c4 95 22 f5 0b 81 28 28 61 ce be ea |..,..."...((a...| -00000050 1c 7c 32 91 1b 26 e1 9d d1 7a f6 35 9d 00 02 2a |.|2..&...z.5...*| -00000060 61 59 c9 6d 71 82 3a a7 b1 4d 33 16 cb 61 fc 1b |aY.mq.:..M3..a..| -00000070 08 db 90 70 c5 75 bf 38 50 42 89 39 07 79 71 aa |...p.u.8PB.9.yq.| -00000080 49 74 f2 7b 6b b3 fb 81 7d 4b b8 36 fc 14 58 b4 |It.{k...}K.6..X.| -00000090 62 ed 85 3a f9 15 f5 c3 05 f4 03 11 66 b0 6a fa |b..:........f.j.| -000000a0 8e ba 71 c0 eb 25 79 de 99 70 a6 d9 ea f5 5e 0f |..q..%y..p....^.| -000000b0 31 0a 2b 03 a6 9e b7 8a 83 b0 a1 9e ec 6e d6 14 |1.+..........n..| -000000c0 03 03 00 01 01 16 03 03 00 40 7b 7d 90 a1 42 ec |.........@{}..B.| -000000d0 88 d8 df b5 95 25 df aa 48 39 67 b6 c1 6e b5 f8 |.....%..H9g..n..| -000000e0 28 d2 31 27 bf 45 07 7c de f2 fd 01 6b ed 73 25 |(.1'.E.|....k.s%| -000000f0 d3 ea 78 d7 b6 5b 83 62 eb 1b 7f ee 27 0f 36 5b |..x..[.b....'.6[| -00000100 54 60 45 27 3c 05 ee b5 ed 04 |T`E'<.....| +00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 3a |............ ..:| +00000010 89 91 0e 8e 63 d7 db 40 81 dc 4e ba 1d 0e b7 e9 |....c..@..N.....| +00000020 d8 f1 3b 62 ce 1b 8c c2 ef fe 59 30 1c 4d ee d7 |..;b......Y0.M..| +00000030 6c c6 a8 f4 6c d8 eb d5 5f 53 56 4c 73 0a 09 0c |l...l..._SVLs...| +00000040 33 a2 73 d4 06 e4 76 d8 10 a7 bb 36 db f9 eb 9a |3.s...v....6....| +00000050 1e 40 8e 04 31 87 83 95 a9 6a 16 8b ea 97 16 55 |.@..1....j.....U| +00000060 3b 44 45 7b 3b 64 17 76 f5 c9 1d 55 ac d4 ec 3c |;DE{;d.v...U...<| +00000070 0f a0 70 1a b7 8d 2f a2 f7 97 bb 67 ef a2 86 83 |..p.../....g....| +00000080 24 c6 1e ad 16 d3 71 5f 5d 2e 68 94 63 4f f1 5d |$.....q_].h.cO.]| +00000090 7b d0 08 47 09 42 47 80 65 6d 94 ab 5b e3 a4 d3 |{..G.BG.em..[...| +000000a0 56 6c 43 d4 eb 01 09 77 9a 5b c4 22 4e 23 a5 36 |VlC....w.[."N#.6| +000000b0 61 7d ca 15 ce c2 4f 98 5e 77 bf d8 69 4e b0 14 |a}....O.^w..iN..| +000000c0 03 03 00 01 01 16 03 03 00 40 00 d6 f0 82 40 d3 |.........@....@.| +000000d0 82 42 93 b9 03 1d 72 9a 64 c7 81 5d 84 99 15 f2 |.B....r.d..]....| +000000e0 a0 84 3b 26 97 e6 88 cd bf 3f a2 68 4f d1 9a 7e |..;&.....?.hO..~| +000000f0 e9 a2 e1 13 3e e8 71 6a 3a 0e db dc e6 fd b4 7d |....>.qj:......}| +00000100 29 25 ac 02 9b 1f 8a 88 21 4b |)%......!K| >>> 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 0d 9d 27 22 a5 ba 16 c7 8f 70 7c |.......'".....p|| -00000020 6c c5 d5 4f 25 ed e9 b7 ed 64 69 d6 06 23 63 5a |l..O%....di..#cZ| -00000030 12 30 39 a3 f3 15 03 03 00 30 00 00 00 00 00 00 |.09......0......| -00000040 00 00 00 00 00 00 00 00 00 00 62 7f 4f 1e 5d 37 |..........b.O.]7| -00000050 fe 13 6f cb bd a9 b2 ec a2 64 28 bd 67 e7 1b 95 |..o......d(.g...| -00000060 6b 8a 47 40 6e 1b fd dd 31 28 |k.G@n...1(| +00000010 00 00 00 00 00 7d 72 35 85 e5 bb 40 6f 99 d3 43 |.....}r5...@o..C| +00000020 fa 56 a4 f3 2e 16 d2 5a 50 ca 0e 9f cb ca 77 6f |.V.....ZP.....wo| +00000030 1d db 30 4f d6 15 03 03 00 30 00 00 00 00 00 00 |..0O.....0......| +00000040 00 00 00 00 00 00 00 00 00 00 b1 bb 63 d8 d1 47 |............c..G| +00000050 24 fd d0 d4 c7 bf 85 1a c3 9e 00 88 7c f6 59 05 |$...........|.Y.| +00000060 80 67 1b b6 cb 58 c1 68 3e f0 |.g...X.h>.| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES256-SHA-Golang-0 b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES256-SHA-Golang-0 new file mode 100644 index 0000000..117b18f --- /dev/null +++ b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES256-SHA-Golang-0 @@ -0,0 +1,87 @@ +>>> Flow 1 (client to server) +00000000 16 03 01 00 91 01 00 00 8d 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 00 00 2c cc a8 |.............,..| +00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| +00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| +00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| +00000090 01 00 00 12 00 00 |......| +>>> Flow 2 (server to client) +00000000 16 03 03 00 59 02 00 00 55 03 03 45 64 c8 28 ac |....Y...U..Ed.(.| +00000010 89 cd 04 ec 15 54 4c df 88 34 38 f4 fa 83 cd e5 |.....TL..48.....| +00000020 6e e0 f2 02 de 13 2d e8 a1 a7 8c 20 38 d9 1b 3d |n.....-.... 8..=| +00000030 52 47 ad 68 03 24 da 23 18 a9 9e a1 16 92 e1 8d |RG.h.$.#........| +00000040 43 8f 44 17 8a 3a d1 e8 34 a1 5d 1b c0 0a 00 00 |C.D..:..4.].....| +00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| +00000060 03 02 0e 0b 00 02 0a 00 02 07 00 02 04 30 82 02 |.............0..| +00000070 00 30 82 01 62 02 09 00 b8 bf 2d 47 a0 d2 eb f4 |.0..b.....-G....| +00000080 30 09 06 07 2a 86 48 ce 3d 04 01 30 45 31 0b 30 |0...*.H.=..0E1.0| +00000090 09 06 03 55 04 06 13 02 41 55 31 13 30 11 06 03 |...U....AU1.0...| +000000a0 55 04 08 13 0a 53 6f 6d 65 2d 53 74 61 74 65 31 |U....Some-State1| +000000b0 21 30 1f 06 03 55 04 0a 13 18 49 6e 74 65 72 6e |!0...U....Intern| +000000c0 65 74 20 57 69 64 67 69 74 73 20 50 74 79 20 4c |et Widgits Pty L| +000000d0 74 64 30 1e 17 0d 31 32 31 31 32 32 31 35 30 36 |td0...1211221506| +000000e0 33 32 5a 17 0d 32 32 31 31 32 30 31 35 30 36 33 |32Z..22112015063| +000000f0 32 5a 30 45 31 0b 30 09 06 03 55 04 06 13 02 41 |2Z0E1.0...U....A| +00000100 55 31 13 30 11 06 03 55 04 08 13 0a 53 6f 6d 65 |U1.0...U....Some| +00000110 2d 53 74 61 74 65 31 21 30 1f 06 03 55 04 0a 13 |-State1!0...U...| +00000120 18 49 6e 74 65 72 6e 65 74 20 57 69 64 67 69 74 |.Internet Widgit| +00000130 73 20 50 74 79 20 4c 74 64 30 81 9b 30 10 06 07 |s Pty Ltd0..0...| +00000140 2a 86 48 ce 3d 02 01 06 05 2b 81 04 00 23 03 81 |*.H.=....+...#..| +00000150 86 00 04 00 c4 a1 ed be 98 f9 0b 48 73 36 7e c3 |...........Hs6~.| +00000160 16 56 11 22 f2 3d 53 c3 3b 4d 21 3d cd 6b 75 e6 |.V.".=S.;M!=.ku.| +00000170 f6 b0 dc 9a df 26 c1 bc b2 87 f0 72 32 7c b3 64 |.....&.....r2|.d| +00000180 2f 1c 90 bc ea 68 23 10 7e fe e3 25 c0 48 3a 69 |/....h#.~..%.H:i| +00000190 e0 28 6d d3 37 00 ef 04 62 dd 0d a0 9c 70 62 83 |.(m.7...b....pb.| +000001a0 d8 81 d3 64 31 aa 9e 97 31 bd 96 b0 68 c0 9b 23 |...d1...1...h..#| +000001b0 de 76 64 3f 1a 5c 7f e9 12 0e 58 58 b6 5f 70 dd |.vd?.\....XX._p.| +000001c0 9b d8 ea d5 d7 f5 d5 cc b9 b6 9f 30 66 5b 66 9a |...........0f[f.| +000001d0 20 e2 27 e5 bf fe 3b 30 09 06 07 2a 86 48 ce 3d | .'...;0...*.H.=| +000001e0 04 01 03 81 8c 00 30 81 88 02 42 01 88 a2 4f eb |......0...B...O.| +000001f0 e2 45 c5 48 7d 1b ac f5 ed 98 9d ae 47 70 c0 5e |.E.H}.......Gp.^| +00000200 1b b6 2f bd f1 b6 4d b7 61 40 d3 11 a2 ce ee 0b |../...M.a@......| +00000210 7e 92 7e ff 76 9d c3 3b 7e a5 3f ce fa 10 e2 59 |~.~.v..;~.?....Y| +00000220 ec 47 2d 7c ac da 4e 97 0e 15 a0 6f d0 02 42 01 |.G-|..N....o..B.| +00000230 4d fc be 67 13 9c 2d 05 0e bd 3f a3 8c 25 c1 33 |M..g..-...?..%.3| +00000240 13 83 0d 94 06 bb d4 37 7a f6 ec 7a c9 86 2e dd |.......7z..z....| +00000250 d7 11 69 7f 85 7c 56 de fb 31 78 2b e4 c7 78 0d |..i..|V..1x+..x.| +00000260 ae cb be 9e 4e 36 24 31 7b 6a 0f 39 95 12 07 8f |....N6$1{j.9....| +00000270 2a 16 03 03 00 b6 0c 00 00 b2 03 00 1d 20 79 d6 |*............ y.| +00000280 c5 31 95 22 b5 da 92 6d 8f c2 c9 ab 43 e9 c9 a8 |.1."...m....C...| +00000290 98 28 46 eb 58 4f e9 1e 1d 4a 71 81 e5 18 04 03 |.(F.XO...Jq.....| +000002a0 00 8a 30 81 87 02 41 31 c1 83 59 75 b6 27 ca db |..0...A1..Yu.'..| +000002b0 cc 5e 1b ea 22 fb eb 11 28 b2 ed 62 8b 48 47 af |.^.."...(..b.HG.| +000002c0 7e 91 53 55 86 df 55 ef 44 c1 1f c3 a1 de c8 ce |~.SU..U.D.......| +000002d0 4a 86 ed 41 47 96 eb bb 41 c0 90 b2 dc da b6 6c |J..AG...A......l| +000002e0 7d 00 81 a5 eb 81 b1 77 02 42 01 e1 64 c1 65 5a |}......w.B..d.eZ| +000002f0 9c b5 b3 54 43 07 21 a5 00 2a 94 bf 6a 54 1b c9 |...TC.!..*..jT..| +00000300 12 51 a2 6f 38 dd c5 82 6f 9b 8c f3 66 0f ce 2e |.Q.o8...o...f...| +00000310 7d 5a 42 fa ad f0 35 73 6d cf 52 1e d5 90 e0 fb |}ZB...5sm.R.....| +00000320 e0 07 af 22 29 82 1a 98 64 f2 13 cb 16 03 03 00 |...")...d.......| +00000330 04 0e 00 00 00 |.....| +>>> 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 01 c2 9a 61 0d f1 b0 91 ae b5 43 |........a......C| +00000050 d1 63 d0 a3 73 6e a8 c3 d2 fd d1 0d a4 44 32 f7 |.c..sn.......D2.| +00000060 19 08 03 25 b6 8a 50 79 0d bf 15 c7 a6 17 c1 a3 |...%..Py........| +00000070 7c ba b0 c3 8b ||....| +>>> Flow 4 (server to client) +00000000 14 03 03 00 01 01 16 03 03 00 40 ae 7f 22 2c f3 |..........@..",.| +00000010 65 9f 53 6c 15 6a fd 88 f9 74 55 6d fa 1e 74 cd |e.Sl.j...tUm..t.| +00000020 b2 77 81 f9 a6 b1 36 f8 4b fb 57 c0 4e 7a 2c 1c |.w....6.K.W.Nz,.| +00000030 34 60 dd c8 6d 1c a5 e6 11 d0 94 5d d5 63 a0 19 |4`..m......].c..| +00000040 c9 b7 44 49 86 2c 87 3f 8a c1 ac |..DI.,.?...| +>>> 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 06 9f fa f3 4f c2 5f 24 69 d2 69 |.........O._$i.i| +00000020 cd 3a 78 15 86 28 61 21 0e 29 fd f2 af 87 20 d3 |.:x..(a!.).... .| +00000030 b7 4d ee d7 00 15 03 03 00 30 00 00 00 00 00 00 |.M.......0......| +00000040 00 00 00 00 00 00 00 00 00 00 3a ed 9a 3c ee 49 |..........:..<.I| +00000050 d0 7a b5 61 49 33 26 de f6 d6 b2 f0 3f 38 61 c9 |.z.aI3&.....?8a.| +00000060 26 74 4f 32 11 13 3a 0a 81 98 |&tO2..:...| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-CHACHA20-POLY1305-Firefox-55 b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-CHACHA20-POLY1305-Firefox-55 index 31026e4..77753d9 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-CHACHA20-POLY1305-Firefox-55 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-CHACHA20-POLY1305-Firefox-55 @@ -12,9 +12,9 @@ 000000a0 03 08 04 08 05 08 06 04 01 05 01 06 01 02 03 02 |................| 000000b0 01 |.| >>> Flow 2 (server to client) -00000000 16 03 03 00 41 02 00 00 3d 03 03 63 67 53 f1 91 |....A...=..cgS..| -00000010 e8 dd 95 e0 8e dc 47 49 78 14 dc e3 cf a5 be 5c |......GIx......\| -00000020 62 41 c2 fb 6d 59 2d 8c be d0 7c 00 cc a9 00 00 |bA..mY-...|.....| +00000000 16 03 03 00 41 02 00 00 3d 03 03 4c 3a e6 b3 b9 |....A...=..L:...| +00000010 03 ef 17 48 30 af cd a5 4f b4 a6 69 70 0d 55 31 |...H0...O..ip.U1| +00000020 d7 42 e2 c6 5a 2b b5 d6 2f 6b 04 00 cc a9 00 00 |.B..Z+../k......| 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...| @@ -49,44 +49,44 @@ 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 b6 0c 00 |{j.9....*.......| -00000260 00 b2 03 00 1d 20 28 e4 78 68 0d 01 71 8d e9 59 |..... (.xh..q..Y| -00000270 fb a1 2d 1e bb 5f 19 f6 c3 bf 10 d3 33 28 06 10 |..-.._......3(..| -00000280 a9 ad 04 a5 35 01 04 03 00 8a 30 81 87 02 41 16 |....5.....0...A.| -00000290 5c ba de 6f ef 36 90 7f 0f d4 b3 52 fb bc cb 26 |\..o.6.....R...&| -000002a0 a0 01 52 80 88 06 ad 9c 95 00 be 35 bd e6 ab d0 |..R........5....| -000002b0 42 04 f7 67 d5 ad 2f 77 12 8d c2 be 14 02 d5 5c |B..g../w.......\| -000002c0 31 9c e7 e4 95 a1 23 6d 40 1e 1b cf a6 2a 60 b1 |1.....#m@....*`.| -000002d0 02 42 01 86 c6 2d 23 26 05 e5 f4 80 09 a9 17 5d |.B...-#&.......]| -000002e0 6d db 30 ea 43 f4 54 40 e1 3a 7d 55 6c 3d cb e5 |m.0.C.T@.:}Ul=..| -000002f0 29 7b 34 d6 61 9f e4 da c5 ad e1 1f f2 bc 6b f0 |){4.a.........k.| -00000300 a0 ff 6a d8 8a f0 f9 f0 2d 50 c2 2b be d2 ee 82 |..j.....-P.+....| -00000310 fa 50 5d e0 16 03 03 00 04 0e 00 00 00 |.P]..........| +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 c2 ce c4 89 f5 23 10 57 d3 13 |..... .....#.W..| +00000270 f5 b0 09 ca c9 dd e1 8a 2d f9 3b df c6 a7 6f e7 |........-.;...o.| +00000280 ba 2e 91 97 8f 1a 04 03 00 8b 30 81 88 02 42 01 |..........0...B.| +00000290 ef 0b e1 5d 14 ab 0a 2a 43 0a 12 80 86 dd cd ae |...]...*C.......| +000002a0 97 91 b3 51 5b fc 33 a8 db 24 aa a5 a9 59 23 72 |...Q[.3..$...Y#r| +000002b0 73 9a 32 1f 3b 75 00 06 44 5d 6b 9c c7 82 a7 54 |s.2.;u..D]k....T| +000002c0 7e 79 51 ea 83 4b 01 38 e1 eb 11 a6 49 43 2a 7c |~yQ..K.8....IC*|| +000002d0 6f 02 42 01 90 9d 66 0f 14 dc a1 f8 46 0e 2d 09 |o.B...f.....F.-.| +000002e0 37 cf 47 28 14 40 d4 22 1e 6b 2c da 51 a3 e4 15 |7.G(.@.".k,.Q...| +000002f0 4a 13 e1 eb 32 9a 15 19 e7 d8 08 b2 83 36 05 d1 |J...2........6..| +00000300 eb e7 b7 66 df 66 bf a6 c1 4b 27 af 5b 0d ba bc |...f.f...K'.[...| +00000310 f1 0f 08 72 94 16 03 03 00 04 0e 00 00 00 |...r..........| >>> 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 ce 9c c0 0e fa d5 8c 4f 8d 21 16 |.... .......O.!.| -00000040 66 16 82 81 fb 0a df e2 33 d9 55 5d 9e fa fe 18 |f.......3.U]....| -00000050 e2 7e 98 ed ac |.~...| +00000030 16 03 03 00 20 d3 58 71 8c 53 7e e4 1f cb ad 8e |.... .Xq.S~.....| +00000040 63 7b fc cf 30 d1 38 ba 33 c1 21 4f ac 60 42 38 |c{..0.8.3.!O.`B8| +00000050 f5 48 5f 34 33 |.H_43| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 92 |............ ...| -00000010 24 c2 75 89 c0 b9 6e d2 8e d9 f9 73 30 6e b4 30 |$.u...n....s0n.0| -00000020 19 9f 5a b1 13 44 91 7b f7 1f 5d c5 0f ac 46 ca |..Z..D.{..]...F.| -00000030 db 96 7b 21 2e 4f 65 f4 4f 81 ef 72 b6 b9 93 e4 |..{!.Oe.O..r....| -00000040 e2 9b 10 b4 9c 4e 55 cf 3f da da dd f8 f2 9c 6b |.....NU.?......k| -00000050 14 4f 25 8e 6d 3f ea 6e ee 69 de 4b c7 7c 7f 61 |.O%.m?.n.i.K.|.a| -00000060 7b 46 17 ec 6d 02 81 a5 57 8d c4 62 fd 23 a1 0f |{F..m...W..b.#..| -00000070 52 6a 08 e1 af dd 07 f8 fd bc 5f 20 0f 10 58 cc |Rj........_ ..X.| -00000080 df d1 09 55 95 81 65 ce 59 d0 7f 0c 20 37 21 66 |...U..e.Y... 7!f| -00000090 89 f2 aa 0d b3 6c b2 3e 09 fa 4a 04 3b c7 42 fe |.....l.>..J.;.B.| -000000a0 6f ba c7 6e b3 4e c2 c0 f6 fb ff 4e dd 64 d2 e0 |o..n.N.....N.d..| -000000b0 7a f5 83 d7 ab 22 0a 6b 6e a3 1e 75 28 11 d6 14 |z....".kn..u(...| -000000c0 03 03 00 01 01 16 03 03 00 20 fb 59 48 f6 19 27 |......... .YH..'| -000000d0 d9 46 2a af 8a ff 68 17 9a cb d6 16 9a ca d8 12 |.F*...h.........| -000000e0 b6 78 a5 86 67 0f cf dd 4d d8 |.x..g...M.| +00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 d8 |............ ...| +00000010 24 a4 a7 ae 35 84 1b 69 cd ae 54 0c 6e c7 36 1f |$...5..i..T.n.6.| +00000020 b9 0a 48 08 dc d9 bb de a3 37 0f 85 a9 a8 5e f2 |..H......7....^.| +00000030 24 21 1c 94 eb 74 54 03 7f 57 fd 51 b1 6f 06 5f |$!...tT..W.Q.o._| +00000040 d0 3d 7b 75 20 3c 58 5c 23 59 a1 05 72 10 fa 2e |.={u >> Flow 5 (client to server) -00000000 17 03 03 00 16 ce 0b 17 a7 90 0a cb 7b 63 52 09 |............{cR.| -00000010 b2 c4 3d 45 5e 4a 4c 14 14 43 02 15 03 03 00 12 |..=E^JL..C......| -00000020 a0 ac b9 60 85 f5 b2 9f 74 be 1c b3 f4 b2 c1 f6 |...`....t.......| -00000030 cf 52 |.R| +00000000 17 03 03 00 16 3d d6 22 7a e9 e1 51 bc 63 e8 de |.....=."z..Q.c..| +00000010 d6 bc ac 2e 9a 0b 3d 95 4d 78 e1 15 03 03 00 12 |......=.Mx......| +00000020 c9 5f 0b 20 5f 74 c7 73 26 6a 6f b1 53 b7 32 7e |._. _t.s&jo.S.2~| +00000030 54 0f |T.| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-CHACHA20-POLY1305-Golang-0 b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-CHACHA20-POLY1305-Golang-0 new file mode 100644 index 0000000..102484c --- /dev/null +++ b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-CHACHA20-POLY1305-Golang-0 @@ -0,0 +1,77 @@ +>>> Flow 1 (client to server) +00000000 16 03 01 00 67 01 00 00 63 03 03 00 00 00 00 00 |....g...c.......| +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 00 00 02 cc a9 |................| +00000030 01 00 00 38 00 05 00 05 01 00 00 00 00 00 0a 00 |...8............| +00000040 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| +00000050 00 00 0d 00 0e 00 0c 04 01 04 03 05 01 05 03 02 |................| +00000060 01 02 03 ff 01 00 01 00 00 12 00 00 |............| +>>> Flow 2 (server to client) +00000000 16 03 03 00 59 02 00 00 55 03 03 ed 47 a6 b3 82 |....Y...U...G...| +00000010 8c 4b 21 70 50 34 96 37 2c 84 6a 6d 59 6a d6 33 |.K!pP4.7,.jmYj.3| +00000020 4d 52 e7 c9 0c 78 5b 6c 3c 18 03 20 f2 dd d6 d6 |MR...x[l<.. ....| +00000030 77 b8 d7 2d 7a a2 f1 64 d2 05 92 97 32 f4 f3 b7 |w..-z..d....2...| +00000040 16 33 f3 eb 1e fc 8a de 01 e4 73 62 cc a9 00 00 |.3........sb....| +00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| +00000060 03 02 0e 0b 00 02 0a 00 02 07 00 02 04 30 82 02 |.............0..| +00000070 00 30 82 01 62 02 09 00 b8 bf 2d 47 a0 d2 eb f4 |.0..b.....-G....| +00000080 30 09 06 07 2a 86 48 ce 3d 04 01 30 45 31 0b 30 |0...*.H.=..0E1.0| +00000090 09 06 03 55 04 06 13 02 41 55 31 13 30 11 06 03 |...U....AU1.0...| +000000a0 55 04 08 13 0a 53 6f 6d 65 2d 53 74 61 74 65 31 |U....Some-State1| +000000b0 21 30 1f 06 03 55 04 0a 13 18 49 6e 74 65 72 6e |!0...U....Intern| +000000c0 65 74 20 57 69 64 67 69 74 73 20 50 74 79 20 4c |et Widgits Pty L| +000000d0 74 64 30 1e 17 0d 31 32 31 31 32 32 31 35 30 36 |td0...1211221506| +000000e0 33 32 5a 17 0d 32 32 31 31 32 30 31 35 30 36 33 |32Z..22112015063| +000000f0 32 5a 30 45 31 0b 30 09 06 03 55 04 06 13 02 41 |2Z0E1.0...U....A| +00000100 55 31 13 30 11 06 03 55 04 08 13 0a 53 6f 6d 65 |U1.0...U....Some| +00000110 2d 53 74 61 74 65 31 21 30 1f 06 03 55 04 0a 13 |-State1!0...U...| +00000120 18 49 6e 74 65 72 6e 65 74 20 57 69 64 67 69 74 |.Internet Widgit| +00000130 73 20 50 74 79 20 4c 74 64 30 81 9b 30 10 06 07 |s Pty Ltd0..0...| +00000140 2a 86 48 ce 3d 02 01 06 05 2b 81 04 00 23 03 81 |*.H.=....+...#..| +00000150 86 00 04 00 c4 a1 ed be 98 f9 0b 48 73 36 7e c3 |...........Hs6~.| +00000160 16 56 11 22 f2 3d 53 c3 3b 4d 21 3d cd 6b 75 e6 |.V.".=S.;M!=.ku.| +00000170 f6 b0 dc 9a df 26 c1 bc b2 87 f0 72 32 7c b3 64 |.....&.....r2|.d| +00000180 2f 1c 90 bc ea 68 23 10 7e fe e3 25 c0 48 3a 69 |/....h#.~..%.H:i| +00000190 e0 28 6d d3 37 00 ef 04 62 dd 0d a0 9c 70 62 83 |.(m.7...b....pb.| +000001a0 d8 81 d3 64 31 aa 9e 97 31 bd 96 b0 68 c0 9b 23 |...d1...1...h..#| +000001b0 de 76 64 3f 1a 5c 7f e9 12 0e 58 58 b6 5f 70 dd |.vd?.\....XX._p.| +000001c0 9b d8 ea d5 d7 f5 d5 cc b9 b6 9f 30 66 5b 66 9a |...........0f[f.| +000001d0 20 e2 27 e5 bf fe 3b 30 09 06 07 2a 86 48 ce 3d | .'...;0...*.H.=| +000001e0 04 01 03 81 8c 00 30 81 88 02 42 01 88 a2 4f eb |......0...B...O.| +000001f0 e2 45 c5 48 7d 1b ac f5 ed 98 9d ae 47 70 c0 5e |.E.H}.......Gp.^| +00000200 1b b6 2f bd f1 b6 4d b7 61 40 d3 11 a2 ce ee 0b |../...M.a@......| +00000210 7e 92 7e ff 76 9d c3 3b 7e a5 3f ce fa 10 e2 59 |~.~.v..;~.?....Y| +00000220 ec 47 2d 7c ac da 4e 97 0e 15 a0 6f d0 02 42 01 |.G-|..N....o..B.| +00000230 4d fc be 67 13 9c 2d 05 0e bd 3f a3 8c 25 c1 33 |M..g..-...?..%.3| +00000240 13 83 0d 94 06 bb d4 37 7a f6 ec 7a c9 86 2e dd |.......7z..z....| +00000250 d7 11 69 7f 85 7c 56 de fb 31 78 2b e4 c7 78 0d |..i..|V..1x+..x.| +00000260 ae cb be 9e 4e 36 24 31 7b 6a 0f 39 95 12 07 8f |....N6$1{j.9....| +00000270 2a 16 03 03 00 b7 0c 00 00 b3 03 00 1d 20 f1 8f |*............ ..| +00000280 63 8c 43 37 5c b2 c2 12 e9 04 e6 ff bf ba 1c c2 |c.C7\...........| +00000290 b4 23 7c ac 8b c5 14 52 0c 45 6e 78 f2 77 04 03 |.#|....R.Enx.w..| +000002a0 00 8b 30 81 88 02 42 00 d5 91 1b 81 22 47 83 6e |..0...B....."G.n| +000002b0 5f 17 66 4d 2d ce 58 74 e3 2d 8d e4 74 05 ce 98 |_.fM-.Xt.-..t...| +000002c0 36 fd 35 1e d5 69 37 c7 29 dc a6 73 08 fe 6d 01 |6.5..i7.)..s..m.| +000002d0 72 58 3e 97 55 83 70 02 79 c2 1f cc 4c 28 a6 b9 |rX>.U.p.y...L(..| +000002e0 67 e3 5c 3b 98 35 5c ef be 02 42 01 26 cf 8a 5e |g.\;.5\...B.&..^| +000002f0 39 0a d9 0f 29 03 df 97 4f 50 16 55 60 a5 b8 09 |9...)...OP.U`...| +00000300 75 6c 01 17 d0 29 7e f5 ee 16 e2 83 64 8d d0 3c |ul...)~.....d..<| +00000310 fb cb 3d 74 c3 70 10 69 ee e4 db 80 31 1f b9 17 |..=t.p.i....1...| +00000320 85 79 e3 c7 0a 6d 31 2d 47 fe 65 3e 58 16 03 03 |.y...m1-G.e>X...| +00000330 00 04 0e 00 00 00 |......| +>>> 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 ba 8e d5 9f 87 9f 70 e7 2e 0c dc |.... ......p....| +00000040 12 06 2c 2a 24 8b 6c ce 4e ae 14 3a b1 ac d8 f9 |..,*$.l.N..:....| +00000050 70 96 5e 94 6d |p.^.m| +>>> Flow 4 (server to client) +00000000 14 03 03 00 01 01 16 03 03 00 20 6e 48 3c f4 e9 |.......... nH<..| +00000010 e7 be 9f 0f da 19 ac c9 91 3b 17 9d 71 a8 da 2f |.........;..q../| +00000020 fd de ae 7d cd e1 f5 84 f7 a9 a9 |...}.......| +>>> Flow 5 (client to server) +00000000 17 03 03 00 16 d6 17 0f df b2 27 f3 84 80 10 26 |..........'....&| +00000010 b5 18 f6 30 ba cd 4e 90 0f 2a 1a 15 03 03 00 12 |...0..N..*......| +00000020 fd b1 c0 f3 e1 0b b8 a6 7a ba 77 f5 73 20 0c a1 |........z.w.s ..| +00000030 86 0f |..| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Android-22 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Android-22 index 8ba141e..e6aa2c6 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Android-22 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Android-22 @@ -13,9 +13,9 @@ 000000b0 33 2e 31 00 0b 00 02 01 00 00 0a 00 08 00 06 00 |3.1.............| 000000c0 17 00 18 00 19 |.....| >>> Flow 2 (server to client) -00000000 16 03 03 00 3d 02 00 00 39 03 03 ef d3 46 c9 ab |....=...9....F..| -00000010 6f 69 f3 d1 09 1c 0e 04 c9 b8 ea 00 00 3e 73 b2 |oi...........>s.| -00000020 8f 3a ea d5 b4 ca 68 2f 71 bf d8 00 c0 2f 00 00 |.:....h/q..../..| +00000000 16 03 03 00 3d 02 00 00 39 03 03 0b 46 c0 f6 fd |....=...9...F...| +00000010 68 40 98 86 9e 1b e0 3d 83 e2 c6 d5 6a d5 00 1b |h@.....=....j...| +00000020 69 36 9e 24 dd 9c 1f 16 fc 99 d4 00 c0 2f 00 00 |i6.$........./..| 00000030 11 ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 23 |...............#| 00000040 00 00 16 03 03 02 59 0b 00 02 55 00 02 52 00 02 |......Y...U..R..| 00000050 4f 30 82 02 4b 30 82 01 b4 a0 03 02 01 02 02 09 |O0..K0..........| @@ -55,48 +55,48 @@ 00000270 73 bb b3 43 77 8d 0c 1c f1 0f a1 d8 40 83 61 c9 |s..Cw.......@.a.| 00000280 4c 72 2b 9d ae db 46 06 06 4d f4 c1 b3 3e c0 d1 |Lr+...F..M...>..| 00000290 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 3b e9 fa e7 |.B...=.`.\!.;...| -000002a0 16 03 03 00 cd 0c 00 00 c9 03 00 17 41 04 5a ce |............A.Z.| -000002b0 6e db 2d 40 fb 8d 94 8b ca 05 5b b2 1a 63 88 34 |n.-@......[..c.4| -000002c0 57 d9 12 62 c9 84 56 e3 99 53 a2 c7 a3 5c 24 d9 |W..b..V..S...\$.| -000002d0 89 db ee f6 0b a3 5a 74 ac 98 15 62 54 db 81 4c |......Zt...bT..L| -000002e0 ca af cf 2e d7 91 fe 2f ce c9 24 df 68 4d 06 01 |......./..$.hM..| -000002f0 00 80 3a d9 10 4c 81 d1 c2 9b 28 8a ed a8 6b 4a |..:..L....(...kJ| -00000300 65 f0 c7 96 7f 80 d8 c3 1c b0 31 ea 97 e7 3c 3d |e.........1...<=| -00000310 35 3d 3f 41 8f c6 b6 bf f3 5f 57 60 1b f1 03 86 |5=?A....._W`....| -00000320 9d 3c 9d 82 4c 9e 5a 1a c4 1e 99 2f 59 6f 97 d5 |.<..L.Z..../Yo..| -00000330 1d 5e cc 24 68 c8 e0 0b 43 7c 30 fc 2a a3 2c aa |.^.$h...C|0.*.,.| -00000340 4d 55 91 f1 87 23 24 b8 0c 5d 77 74 09 03 25 40 |MU...#$..]wt..%@| -00000350 62 52 8b bf d8 96 a0 04 2c 33 80 85 17 13 9a 73 |bR......,3.....s| -00000360 76 05 c8 81 f5 8f 74 06 1c 78 9c 0c 31 5a 9e 82 |v.....t..x..1Z..| -00000370 64 d5 16 03 03 00 04 0e 00 00 00 |d..........| +000002a0 16 03 03 00 cd 0c 00 00 c9 03 00 17 41 04 48 72 |............A.Hr| +000002b0 e2 3f 43 a1 fe 35 ea 49 73 ce 74 64 95 59 2f 98 |.?C..5.Is.td.Y/.| +000002c0 22 7f f7 63 80 7f 2b 1a 44 ec 20 6e c1 c7 33 09 |"..c..+.D. n..3.| +000002d0 00 fd 2f f8 de 93 b9 51 a0 45 6d e3 eb 62 ad 81 |../....Q.Em..b..| +000002e0 00 3f f7 d1 ab f2 35 44 8c 88 60 a1 d2 fa 06 01 |.?....5D..`.....| +000002f0 00 80 30 49 47 25 aa 15 02 86 5e dc 82 a1 5c f8 |..0IG%....^...\.| +00000300 34 01 1b 17 95 2e fb e8 35 94 9c 95 85 bf f3 1a |4.......5.......| +00000310 cd 86 58 0c f9 8a 5a f4 8e ad ec da e1 a1 19 32 |..X...Z........2| +00000320 7a 58 c5 ac c7 60 22 71 c2 38 1f be ff 58 8c cf |zX...`"q.8...X..| +00000330 0f e7 69 6e cc 10 f6 1f db 82 f1 1f c4 c8 86 09 |..in............| +00000340 c5 13 62 79 06 3a aa 88 62 84 79 8a ba 12 04 0b |..by.:..b.y.....| +00000350 59 34 c8 ca 9d 34 39 f3 49 d8 96 70 1e 49 91 a9 |Y4...49.I..p.I..| +00000360 55 28 9f a9 20 17 28 75 86 4b 88 61 ab 54 db 30 |U(.. .(u.K.a.T.0| +00000370 fc c3 16 03 03 00 04 0e 00 00 00 |...........| >>> Flow 3 (client to server) 00000000 16 03 03 00 46 10 00 00 42 41 04 1e 18 37 ef 0d |....F...BA...7..| 00000010 19 51 88 35 75 71 b5 e5 54 5b 12 2e 8f 09 67 fd |.Q.5uq..T[....g.| 00000020 a7 24 20 3e b2 56 1c ce 97 28 5e f8 2b 2d 4f 9e |.$ >.V...(^.+-O.| 00000030 f1 07 9f 6c 4b 5b 83 56 e2 32 42 e9 58 b6 d7 49 |...lK[.V.2B.X..I| 00000040 a6 b5 68 1a 41 03 56 6b dc 5a 89 14 03 03 00 01 |..h.A.Vk.Z......| -00000050 01 16 03 03 00 28 00 00 00 00 00 00 00 00 5f 94 |.....(........_.| -00000060 e8 22 44 e1 d5 37 c2 66 36 99 85 fc 2a 8e e6 d4 |."D..7.f6...*...| -00000070 52 74 b6 60 55 be d1 61 1f 2a 8d 50 48 cb |Rt.`U..a.*.PH.| +00000050 01 16 03 03 00 28 00 00 00 00 00 00 00 00 69 c5 |.....(........i.| +00000060 06 ef 45 b9 db b9 ad 05 43 04 8e 00 74 eb 95 d2 |..E.....C...t...| +00000070 df b1 ce 9a 95 b8 52 36 87 1f d5 08 22 e5 |......R6....".| >>> Flow 4 (server to client) -00000000 16 03 03 00 aa 04 00 00 a6 00 00 1c 20 00 a0 d8 |............ ...| -00000010 27 53 4f 71 38 ce e0 32 05 30 96 e8 ce 14 8d 29 |'SOq8..2.0.....)| -00000020 b5 b8 b0 7e d5 23 e5 14 8e c7 01 7a 55 5c 60 f6 |...~.#.....zU\`.| -00000030 fd e4 95 6e 6c d8 04 0d 0d 11 d8 bb bc d9 b5 cc |...nl...........| -00000040 f8 d3 80 5b ef 88 11 fd 14 95 e3 8e 85 a4 ec 62 |...[...........b| -00000050 cf dd df ef 6f dc 75 52 7f 74 51 39 5b 51 38 69 |....o.uR.tQ9[Q8i| -00000060 0f 72 00 6f 80 36 30 3e 89 8d 53 33 e6 bf 1a 26 |.r.o.60>..S3...&| -00000070 aa d1 96 0c b8 25 b6 6f 85 60 37 92 ae d7 03 5c |.....%.o.`7....\| -00000080 6b 33 ea dd ad 9c eb 65 02 ce 69 20 1b 02 8e 4d |k3.....e..i ...M| -00000090 d8 11 38 fd 59 a8 99 db 5c 8e 22 7e df 9a c3 39 |..8.Y...\."~...9| -000000a0 d7 a8 90 bb 37 47 39 a9 6e 43 e8 f7 ab f6 12 14 |....7G9.nC......| -000000b0 03 03 00 01 01 16 03 03 00 28 a5 ae e2 da 69 cd |.........(....i.| -000000c0 2b 03 31 86 ce 83 ad b8 9a 8b cc ee 8c cc b2 f9 |+.1.............| -000000d0 b6 0e 90 c7 f8 e9 61 15 84 23 6e fe ff 58 4c 80 |......a..#n..XL.| -000000e0 89 5d |.]| +00000000 16 03 03 00 aa 04 00 00 a6 00 00 1c 20 00 a0 40 |............ ..@| +00000010 8f 78 65 63 c6 a3 e5 f5 90 3e e0 cb ca 0a f6 90 |.xec.....>......| +00000020 3c c6 0a 36 b2 82 3c 7c 02 49 36 01 4e ea b1 99 |<..6..<|.I6.N...| +00000030 0a a8 45 f8 7f 4e 2d 00 57 4d 27 df 74 db e4 48 |..E..N-.WM'.t..H| +00000040 96 e8 73 cf cb e4 7b 0e 6c 06 f4 9d 71 bf 32 2a |..s...{.l...q.2*| +00000050 fc db 55 78 b8 ca 65 74 e1 6a bf c8 2e 52 c0 84 |..Ux..et.j...R..| +00000060 64 6c f1 63 18 cb dd bf b7 73 56 b5 f2 27 1b e3 |dl.c.....sV..'..| +00000070 a8 7e e7 32 33 6f fa 8f 2c c5 9c b7 45 78 68 ca |.~.23o..,...Exh.| +00000080 d0 b2 4b 15 ca ea fd ee 2c 41 cb 40 77 ad 39 f6 |..K.....,A.@w.9.| +00000090 1a 8b c9 83 a1 b4 d1 ca 20 1c 02 00 59 a7 eb 02 |........ ...Y...| +000000a0 31 55 cf ba 9c c6 74 e0 36 fb f2 d5 69 46 43 14 |1U....t.6...iFC.| +000000b0 03 03 00 01 01 16 03 03 00 28 2b 38 a2 ce 97 a1 |.........(+8....| +000000c0 72 d5 b1 5a 96 26 6c 4c 2f 13 51 62 4b 53 01 9e |r..Z.&lL/.QbKS..| +000000d0 24 c1 1f 24 8a 46 dd 8c 57 ac 40 fe 76 8e c8 04 |$..$.F..W.@.v...| +000000e0 c1 b2 |..| >>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 5a 34 a1 |.............Z4.| -00000010 fb c6 f9 d1 6a ee 55 7f 8d 58 1f 08 97 68 bf 24 |....j.U..X...h.$| -00000020 57 27 a2 15 03 03 00 1a 00 00 00 00 00 00 00 02 |W'..............| -00000030 d0 24 df 33 9d 97 48 28 0c 55 3e 07 be 4a bc 24 |.$.3..H(.U>..J.$| -00000040 8c 7a |.z| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 ee e9 6f |...............o| +00000010 c1 97 b8 82 77 fe 0f 35 4f 4c b8 7e c3 06 b1 17 |....w..5OL.~....| +00000020 0e 73 ff 15 03 03 00 1a 00 00 00 00 00 00 00 02 |.s..............| +00000030 3c 8e 9e bb 58 e0 3e e5 ea b2 5d 6d b8 66 c7 f7 |<...X.>...]m.f..| +00000040 e2 77 |.w| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Android-23 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Android-23 index a759baf..679914c 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Android-23 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Android-23 @@ -12,9 +12,9 @@ 000000a0 73 70 64 79 2f 38 2e 31 00 0b 00 02 01 00 00 0a |spdy/8.1........| 000000b0 00 06 00 04 00 17 00 18 |........| >>> Flow 2 (server to client) -00000000 16 03 03 00 41 02 00 00 3d 03 03 bd df 70 76 38 |....A...=....pv8| -00000010 55 22 7e 17 44 16 6c 63 08 54 13 fa 20 0b 7f bd |U"~.D.lc.T.. ...| -00000020 61 94 c3 5c 6e 13 7a 63 8d 2d 15 00 c0 2f 00 00 |a..\n.zc.-.../..| +00000000 16 03 03 00 41 02 00 00 3d 03 03 16 2f 90 c9 7c |....A...=.../..|| +00000010 4a 29 17 e2 53 41 50 14 5a e5 df f6 fb 10 e2 09 |J)..SAP.Z.......| +00000020 91 38 1d a7 a7 2e eb 41 ab f0 6a 00 c0 2f 00 00 |.8.....A..j../..| 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 59 0b 00 02 55 00 |..........Y...U.| 00000050 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 |.R..O0..K0......| @@ -55,48 +55,48 @@ 00000280 40 83 61 c9 4c 72 2b 9d ae db 46 06 06 4d f4 c1 |@.a.Lr+...F..M..| 00000290 b3 3e c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 |.>...B...=.`.\!.| 000002a0 3b e9 fa e7 16 03 03 00 cd 0c 00 00 c9 03 00 17 |;...............| -000002b0 41 04 52 0f 35 fe 7d dd 01 df fa 68 a9 a8 d0 cc |A.R.5.}....h....| -000002c0 c8 52 25 fd 8c c2 02 8d b5 99 e5 3e 63 07 ef 0d |.R%........>c...| -000002d0 86 d5 a8 f5 95 18 c0 77 89 a5 4c 14 28 7c 76 ca |.......w..L.(|v.| -000002e0 0d 16 8a 73 f7 e8 97 74 5e ef 93 44 f6 63 35 b4 |...s...t^..D.c5.| -000002f0 23 f4 06 01 00 80 da b9 cb a7 d4 09 9a 75 20 3e |#............u >| -00000300 13 cb 41 72 37 2f 2f 97 ab 1a e9 98 c1 c3 4f 07 |..Ar7//.......O.| -00000310 9e 36 10 48 d2 c1 dc 0c 20 ed 89 67 b6 ea 9e 98 |.6.H.... ..g....| -00000320 c2 a9 cd 14 42 34 65 a1 ce c9 02 5e 99 f8 5f 6d |....B4e....^.._m| -00000330 ee a7 69 dc 0f f1 ad 2b 82 11 02 fd 35 94 36 c0 |..i....+....5.6.| -00000340 b9 49 56 84 3e 76 2d aa 03 7f c9 0a 39 75 ac 26 |.IV.>v-.....9u.&| -00000350 d5 e0 f4 53 81 e4 86 89 86 a9 e0 84 a5 aa 49 db |...S..........I.| -00000360 12 03 20 e5 ea b5 54 df dd 7f 61 1d 90 a5 2a c3 |.. ...T...a...*.| -00000370 ab 2a 4b 34 b0 7c 16 03 03 00 04 0e 00 00 00 |.*K4.|.........| +000002b0 41 04 fb 70 ec ce d4 54 ec 81 ee c5 0d 5e c6 bf |A..p...T.....^..| +000002c0 cf 48 8a e9 db 0f 1d f3 ed d8 f4 e7 7e 48 20 dd |.H..........~H .| +000002d0 bc 86 cb 6d 5c 7e 96 e6 10 bb f0 94 90 18 d0 c3 |...m\~..........| +000002e0 b1 f4 50 4c ec 17 02 b9 24 60 0f ec b7 69 a2 0d |..PL....$`...i..| +000002f0 a6 92 06 01 00 80 7c e4 7a 6e b1 41 3d 61 e2 37 |......|.zn.A=a.7| +00000300 52 6d 41 d9 30 c1 19 bd 16 91 e2 f5 c5 ed fe 34 |RmA.0..........4| +00000310 ac 66 48 77 b1 45 d3 de b9 c0 e8 d2 c2 7a ce 6e |.fHw.E.......z.n| +00000320 4d 3a 20 c5 39 43 8e 5c 2e bc f9 be bf de 29 8f |M: .9C.\......).| +00000330 32 01 30 35 84 79 38 26 c1 3f 25 00 4a fd 88 3a |2.05.y8&.?%.J..:| +00000340 07 b0 f3 4e 3e ed b7 e9 e3 a1 cc b8 7e 2c f3 d0 |...N>.......~,..| +00000350 ca 8b 5d b4 ec 47 70 2f d1 ce 63 68 b6 34 21 e4 |..]..Gp/..ch.4!.| +00000360 e2 c8 8b 86 23 8f 2a 1c 9f 47 76 25 be d0 ff 74 |....#.*..Gv%...t| +00000370 1d 52 49 45 f4 52 16 03 03 00 04 0e 00 00 00 |.RIE.R.........| >>> Flow 3 (client to server) 00000000 16 03 03 00 46 10 00 00 42 41 04 1e 18 37 ef 0d |....F...BA...7..| 00000010 19 51 88 35 75 71 b5 e5 54 5b 12 2e 8f 09 67 fd |.Q.5uq..T[....g.| 00000020 a7 24 20 3e b2 56 1c ce 97 28 5e f8 2b 2d 4f 9e |.$ >.V...(^.+-O.| 00000030 f1 07 9f 6c 4b 5b 83 56 e2 32 42 e9 58 b6 d7 49 |...lK[.V.2B.X..I| 00000040 a6 b5 68 1a 41 03 56 6b dc 5a 89 14 03 03 00 01 |..h.A.Vk.Z......| -00000050 01 16 03 03 00 28 00 00 00 00 00 00 00 00 18 4f |.....(.........O| -00000060 64 35 18 8e a3 b9 b3 93 66 4b 9b ac 2f 1b 1a fe |d5......fK../...| -00000070 1c 36 c8 04 24 39 48 be 16 ad c0 13 21 59 |.6..$9H.....!Y| +00000050 01 16 03 03 00 28 00 00 00 00 00 00 00 00 f0 76 |.....(.........v| +00000060 26 74 4d 04 96 04 8f 3b f3 98 ef d5 3f 7e d9 62 |&tM....;....?~.b| +00000070 6c f7 a9 30 8d 87 69 a9 6f 11 82 b6 28 aa |l..0..i.o...(.| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 c2 |............ ...| -00000010 42 f7 27 af 75 2c 54 a3 e9 a2 1a 30 89 f6 a8 46 |B.'.u,T....0...F| -00000020 4a 11 ce 33 7b fa 44 df 78 9b b2 57 29 e8 c8 73 |J..3{.D.x..W)..s| -00000030 53 4a 5f 97 5d 24 46 75 5a be 85 19 02 30 3d cd |SJ_.]$FuZ....0=.| -00000040 45 ae 10 45 cb 02 98 53 2c a6 41 0e 61 77 69 be |E..E...S,.A.awi.| -00000050 30 1a 72 af a7 26 a7 07 69 a8 a6 6a 94 06 ab 39 |0.r..&..i..j...9| -00000060 e7 f8 c2 ba 89 ed 4b ad 49 b5 3a dc f4 14 d0 96 |......K.I.:.....| -00000070 99 79 ad ea 55 8c e3 90 e1 f9 72 d4 c2 86 55 56 |.y..U.....r...UV| -00000080 b2 ca bc 1b 70 2d 82 c7 66 8b 2c e0 43 6e d6 48 |....p-..f.,.Cn.H| -00000090 82 4c 8c 35 03 56 61 d1 02 1f f3 0f 3b 4c 76 dc |.L.5.Va.....;Lv.| -000000a0 bf 7f ae 3b 38 db c0 f3 a7 73 03 08 71 c8 ee 51 |...;8....s..q..Q| -000000b0 24 8e 80 60 f5 af 23 21 20 bc c4 c1 cf 3e e8 14 |$..`..#! ....>..| -000000c0 03 03 00 01 01 16 03 03 00 28 65 d1 d0 54 a8 93 |.........(e..T..| -000000d0 be 62 e3 07 64 c5 7e 78 1e ba 4d d3 c7 e8 21 fa |.b..d.~x..M...!.| -000000e0 a2 af a8 1e 05 04 99 b0 6b fb 34 ff 4a 7b a5 19 |........k.4.J{..| -000000f0 31 be |1.| +00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 52 |............ ..R| +00000010 36 d9 84 91 9a 00 94 1c 58 6f 4b 83 9d 10 1d d7 |6.......XoK.....| +00000020 09 22 66 55 27 ff 11 4b 88 72 3f d0 2d 82 bd f6 |."fU'..K.r?.-...| +00000030 2e 17 7c 24 6d b3 23 cf a5 c1 b1 80 51 7b bf 52 |..|$m.#.....Q{.R| +00000040 0a 19 65 84 f1 68 01 3d 48 35 10 dd be 1a 36 12 |..e..h.=H5....6.| +00000050 ef 14 de b2 d1 25 c0 7d 5b 03 5b bf 2b e5 26 16 |.....%.}[.[.+.&.| +00000060 aa c9 bb 5f ca ca 21 21 97 35 d0 03 14 1c 9b df |..._..!!.5......| +00000070 50 cd 46 d7 8a 67 88 40 0c 3b ee 92 78 67 ac c1 |P.F..g.@.;..xg..| +00000080 bc 99 68 ef dd ff e4 d6 da 93 4b d3 b6 e0 44 8d |..h.......K...D.| +00000090 d3 08 78 30 82 60 07 d4 fe 8f 41 96 66 1d 93 1c |..x0.`....A.f...| +000000a0 08 37 52 bd f9 5f 9c f5 f2 8c 23 70 62 3c 51 2c |.7R.._....#pbot.="| +000000e0 8d e4 0a a6 66 49 69 16 0d 34 e5 12 22 b4 87 a7 |....fIi..4.."...| +000000f0 26 5e |&^| >>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 6f d9 53 |.............o.S| -00000010 57 99 73 a3 59 20 8f a9 f6 be 73 55 cf 3a 17 7a |W.s.Y ....sU.:.z| -00000020 e1 a3 0a 15 03 03 00 1a 00 00 00 00 00 00 00 02 |................| -00000030 fc 0a 09 d3 a3 6e 24 1b bb ed b8 db ec 47 14 e1 |.....n$......G..| -00000040 a0 e3 |..| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 8d dc 9f |................| +00000010 bf d8 8f 7d 06 31 69 85 02 74 46 c4 2c 80 a0 0d |...}.1i..tF.,...| +00000020 03 16 d1 15 03 03 00 1a 00 00 00 00 00 00 00 02 |................| +00000030 6b d4 ea 1f 98 1f 95 d6 ea bc bf c5 10 a6 b1 bd |k...............| +00000040 6c a6 |l.| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Chrome-58 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Chrome-58 index d78af60..b97a9ec 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Chrome-58 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Chrome-58 @@ -12,9 +12,9 @@ 000000a0 50 00 00 00 0b 00 02 01 00 00 0a 00 0a 00 08 0a |P...............| 000000b0 0a 00 1d 00 17 00 18 1a 1a 00 01 00 |............| >>> Flow 2 (server to client) -00000000 16 03 03 00 41 02 00 00 3d 03 03 2e 5a 8a 26 17 |....A...=...Z.&.| -00000010 db 55 83 da 1a 49 a2 1f 15 d9 e2 68 cd c2 43 de |.U...I.....h..C.| -00000020 e3 aa ef 6d 7c 17 fe ca c0 57 4f 00 c0 2f 00 00 |...m|....WO../..| +00000000 16 03 03 00 41 02 00 00 3d 03 03 dd 01 fd 8a 03 |....A...=.......| +00000010 0e c0 67 49 58 ff 55 fb 82 7f 34 30 61 12 2f ac |..gIX.U...40a./.| +00000020 9f 8c 15 cf 14 5c fd 59 25 a4 3f 00 c0 2f 00 00 |.....\.Y%.?../..| 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 59 0b 00 02 55 00 |..........Y...U.| 00000050 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 |.R..O0..K0......| @@ -55,44 +55,44 @@ 00000280 40 83 61 c9 4c 72 2b 9d ae db 46 06 06 4d f4 c1 |@.a.Lr+...F..M..| 00000290 b3 3e c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 |.>...B...=.`.\!.| 000002a0 3b e9 fa e7 16 03 03 00 ac 0c 00 00 a8 03 00 1d |;...............| -000002b0 20 76 a4 b4 52 3f 82 35 d8 37 37 18 16 c9 22 0a | v..R?.5.77...".| -000002c0 cf 6a 1e 7d 82 5a 65 e3 99 c1 0c ca 4a ae f9 a2 |.j.}.Ze.....J...| -000002d0 3a 04 01 00 80 89 2d b6 30 e8 ff 65 c2 0b 04 2c |:.....-.0..e...,| -000002e0 10 72 5f 4d 18 18 f6 4f d8 d2 8e 4c 69 63 b8 97 |.r_M...O...Lic..| -000002f0 de 9a 15 4d a5 25 51 b3 e0 30 cd 3d 28 42 f3 fb |...M.%Q..0.=(B..| -00000300 16 69 61 3f a3 14 67 9c 02 37 9a 2a 37 bf 2c a5 |.ia?..g..7.*7.,.| -00000310 37 6e 32 f0 d8 75 0b 06 da 6b 47 91 bd 18 ed 04 |7n2..u...kG.....| -00000320 20 ea 75 af 2b b2 f4 6c 10 7d ed 58 19 b8 4c 40 | .u.+..l.}.X..L@| -00000330 e1 26 b9 ec 74 2c 4d 88 f4 d4 7c 46 00 ee d2 c8 |.&..t,M...|F....| -00000340 4a 3d 55 41 2d 46 41 6f 1c 66 3d 41 1f 41 51 96 |J=UA-FAo.f=A.AQ.| -00000350 87 b4 93 b7 fb 16 03 03 00 04 0e 00 00 00 |..............| +000002b0 20 dd 25 a7 29 9d ef f5 5b 83 8c 2e a0 73 84 b3 | .%.)...[....s..| +000002c0 fe 4f 41 59 18 ef 12 24 70 e4 60 dc 92 e1 84 73 |.OAY...$p.`....s| +000002d0 19 04 01 00 80 af 3b 0f 98 4d 5f 6b 06 0b 2a 2c |......;..M_k..*,| +000002e0 3c f9 65 73 30 f9 00 9e 87 24 95 7e bd 93 b9 c9 |<.es0....$.~....| +000002f0 b2 8f d3 3d d3 54 e8 0f 30 27 69 29 87 39 54 5c |...=.T..0'i).9T\| +00000300 82 69 64 ac 04 6b a0 cc 93 4b cd e8 6d 4f 14 3e |.id..k...K..mO.>| +00000310 2c 69 4c 50 32 59 b1 2c 1c 31 b9 d4 6c 40 ed e6 |,iLP2Y.,.1..l@..| +00000320 6c 6f 6c ed 9d 1f cf 21 d9 36 84 a7 78 6a 95 83 |lol....!.6..xj..| +00000330 90 21 e8 86 54 87 8b d8 25 20 f8 be 4b 87 f8 c0 |.!..T...% ..K...| +00000340 24 f2 93 e5 d4 07 09 45 37 37 0c 46 b2 68 c1 21 |$......E77.F.h.!| +00000350 fc 54 3a cf 86 16 03 03 00 04 0e 00 00 00 |.T:...........| >>> 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 28 00 00 00 00 00 00 00 00 89 d4 0d |....(...........| -00000040 b9 90 63 ba 1e 7c 4b fb 15 61 e8 c6 de a1 2f 83 |..c..|K..a..../.| -00000050 9a 5c f7 42 67 16 d9 6d bf 9d f5 87 9a |.\.Bg..m.....| +00000030 16 03 03 00 28 00 00 00 00 00 00 00 00 5d 27 51 |....(........]'Q| +00000040 7e db 70 45 cf 5e 44 e1 84 d1 14 ad 50 11 b8 b3 |~.pE.^D.....P...| +00000050 9a e8 dd 00 d7 2b 1f 41 6a c5 7f 9e 99 |.....+.Aj....| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 c9 |............ ...| -00000010 01 3b 15 49 77 ea 5f 9d 69 73 1a 21 38 c7 e1 be |.;.Iw._.is.!8...| -00000020 7f fa ff 50 c3 4b 3e c5 bf 39 26 00 32 64 ed 99 |...P.K>..9&.2d..| -00000030 d8 d7 aa a5 fa 73 da 97 c8 16 78 1b 1d 1d be 87 |.....s....x.....| -00000040 9d f5 bb 1c f2 94 bb c4 79 a7 41 3c 7e f3 d4 b6 |........y.A<~...| -00000050 bb d7 73 ce e8 95 d5 88 1b e0 91 2e 07 7b fc db |..s..........{..| -00000060 fa 90 23 e0 59 a1 fa 92 df 00 4e fb d2 8a 91 98 |..#.Y.....N.....| -00000070 6e 8a 7f b0 75 c3 c1 be b8 78 9b bb ba c4 d1 22 |n...u....x....."| -00000080 d8 f9 2a 26 69 de cf 44 19 e4 56 05 4f 83 e2 c1 |..*&i..D..V.O...| -00000090 aa c1 a0 d0 77 f9 1c 9c c4 83 b9 a2 98 46 c7 6f |....w........F.o| -000000a0 6b 3a fc dc 1b e4 94 1d f3 4b 11 77 d3 52 bc 77 |k:.......K.w.R.w| -000000b0 a6 6a a4 8b 09 7e e3 a9 e3 c5 ad 2e 2d d2 a6 14 |.j...~......-...| -000000c0 03 03 00 01 01 16 03 03 00 28 81 82 77 e1 70 b3 |.........(..w.p.| -000000d0 a4 f6 06 c7 6e dd 12 86 3c 7c 96 03 48 72 e0 b7 |....n...<|..Hr..| -000000e0 ac 0e 54 3b b5 24 f5 34 16 4e a4 ab c9 a6 3e 14 |..T;.$.4.N....>.| -000000f0 be 1f |..| +00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 46 |............ ..F| +00000010 40 67 55 af 9c 70 d9 18 59 12 0e 8c 0d 0f 15 22 |@gU..p..Y......"| +00000020 d2 63 73 e9 80 ba 47 c0 37 79 f3 18 66 9d df 17 |.cs...G.7y..f...| +00000030 6e 15 b7 63 5a 16 d1 50 bf 03 71 52 41 b5 4b c9 |n..cZ..P..qRA.K.| +00000040 ab 00 66 9f 5d d0 ac 51 6f d1 f6 21 43 54 72 d3 |..f.]..Qo..!CTr.| +00000050 23 2e d7 bd dc c4 04 19 fe 7c c1 9d 94 41 89 cb |#........|...A..| +00000060 aa 82 1a e5 6b 5b c0 3f be c6 2b 54 19 03 bc 90 |....k[.?..+T....| +00000070 ab 9c d1 81 3c d8 95 96 19 c1 b4 b2 b9 3c 76 7c |....<........>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 84 ea cf |................| -00000010 e3 0f 6b 4f 9f 1a 1c 6c f0 8c d2 19 df b8 c2 39 |..kO...l.......9| -00000020 66 42 90 15 03 03 00 1a 00 00 00 00 00 00 00 02 |fB..............| -00000030 2c 54 03 51 27 1b 32 22 63 c5 d9 db 79 b0 3f 4c |,T.Q'.2"c...y.?L| -00000040 aa 11 |..| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 cc aa 03 |................| +00000010 3d 94 47 98 f8 93 86 e5 33 4b 2d ad 9b aa 3c 7e |=.G.....3K-...<~| +00000020 32 89 62 15 03 03 00 1a 00 00 00 00 00 00 00 02 |2.b.............| +00000030 08 ca 0a f6 4e e6 1f 46 78 38 3a 9e cd 84 4f fa |....N..Fx8:...O.| +00000040 64 8e |d.| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Chrome-58setclienthello b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Chrome-58setclienthello new file mode 100644 index 0000000..2b6039d --- /dev/null +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Chrome-58setclienthello @@ -0,0 +1,98 @@ +>>> Flow 1 (client to server) +00000000 16 03 01 00 b7 01 00 00 b3 03 03 53 65 74 20 43 |...........Set C| +00000010 75 73 74 6f 6d 20 43 6c 69 65 6e 74 52 61 6e 64 |ustom ClientRand| +00000020 6f 6d 20 56 61 72 69 61 62 6c 65 00 00 1c 5a 5a |om Variable...ZZ| +00000030 c0 2b c0 2f c0 2c c0 30 cc a9 cc a8 c0 13 c0 14 |.+./.,.0........| +00000040 00 9c 00 9d 00 2f 00 35 00 0a 01 00 00 6e 7a 7a |...../.5.....nzz| +00000050 00 00 ff 01 00 01 00 00 00 00 05 00 03 00 00 00 |................| +00000060 00 17 00 00 00 23 00 00 00 0d 00 14 00 12 04 03 |.....#..........| +00000070 08 04 04 01 05 03 08 05 05 01 08 06 06 01 02 01 |................| +00000080 00 05 00 05 01 00 00 00 00 00 12 00 00 00 10 00 |................| +00000090 0e 00 0c 02 68 32 08 68 74 74 70 2f 31 2e 31 75 |....h2.http/1.1u| +000000a0 50 00 00 00 0b 00 02 01 00 00 0a 00 0a 00 08 6a |P..............j| +000000b0 6a 00 1d 00 17 00 18 2a 2a 00 01 00 |j......**...| +>>> Flow 2 (server to client) +00000000 16 03 03 00 41 02 00 00 3d 03 03 80 5c 3a 0b 0a |....A...=...\:..| +00000010 dc fa 69 be 5a b9 1f 25 95 aa 3a 66 67 86 8c 6b |..i.Z..%..:fg..k| +00000020 b8 38 61 aa 83 43 30 a3 90 e6 db 00 c0 2f 00 00 |.8a..C0....../..| +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 59 0b 00 02 55 00 |..........Y...U.| +00000050 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 |.R..O0..K0......| +00000060 01 02 02 09 00 e8 f0 9d 3f e2 5b ea a6 30 0d 06 |........?.[..0..| +00000070 09 2a 86 48 86 f7 0d 01 01 0b 05 00 30 1f 31 0b |.*.H........0.1.| +00000080 30 09 06 03 55 04 0a 13 02 47 6f 31 10 30 0e 06 |0...U....Go1.0..| +00000090 03 55 04 03 13 07 47 6f 20 52 6f 6f 74 30 1e 17 |.U....Go Root0..| +000000a0 0d 31 36 30 31 30 31 30 30 30 30 30 30 5a 17 0d |.160101000000Z..| +000000b0 32 35 30 31 30 31 30 30 30 30 30 30 5a 30 1a 31 |250101000000Z0.1| +000000c0 0b 30 09 06 03 55 04 0a 13 02 47 6f 31 0b 30 09 |.0...U....Go1.0.| +000000d0 06 03 55 04 03 13 02 47 6f 30 81 9f 30 0d 06 09 |..U....Go0..0...| +000000e0 2a 86 48 86 f7 0d 01 01 01 05 00 03 81 8d 00 30 |*.H............0| +000000f0 81 89 02 81 81 00 db 46 7d 93 2e 12 27 06 48 bc |.......F}...'.H.| +00000100 06 28 21 ab 7e c4 b6 a2 5d fe 1e 52 45 88 7a 36 |.(!.~...]..RE.z6| +00000110 47 a5 08 0d 92 42 5b c2 81 c0 be 97 79 98 40 fb |G....B[.....y.@.| +00000120 4f 6d 14 fd 2b 13 8b c2 a5 2e 67 d8 d4 09 9e d6 |Om..+.....g.....| +00000130 22 38 b7 4a 0b 74 73 2b c2 34 f1 d1 93 e5 96 d9 |"8.J.ts+.4......| +00000140 74 7b f3 58 9f 6c 61 3c c0 b0 41 d4 d9 2b 2b 24 |t{.X.la<..A..++$| +00000150 23 77 5b 1c 3b bd 75 5d ce 20 54 cf a1 63 87 1d |#w[.;.u]. T..c..| +00000160 1e 24 c4 f3 1d 1a 50 8b aa b6 14 43 ed 97 a7 75 |.$....P....C...u| +00000170 62 f4 14 c8 52 d7 02 03 01 00 01 a3 81 93 30 81 |b...R.........0.| +00000180 90 30 0e 06 03 55 1d 0f 01 01 ff 04 04 03 02 05 |.0...U..........| +00000190 a0 30 1d 06 03 55 1d 25 04 16 30 14 06 08 2b 06 |.0...U.%..0...+.| +000001a0 01 05 05 07 03 01 06 08 2b 06 01 05 05 07 03 02 |........+.......| +000001b0 30 0c 06 03 55 1d 13 01 01 ff 04 02 30 00 30 19 |0...U.......0.0.| +000001c0 06 03 55 1d 0e 04 12 04 10 9f 91 16 1f 43 43 3e |..U..........CC>| +000001d0 49 a6 de 6d b6 80 d7 9f 60 30 1b 06 03 55 1d 23 |I..m....`0...U.#| +000001e0 04 14 30 12 80 10 48 13 49 4d 13 7e 16 31 bb a3 |..0...H.IM.~.1..| +000001f0 01 d5 ac ab 6e 7b 30 19 06 03 55 1d 11 04 12 30 |....n{0...U....0| +00000200 10 82 0e 65 78 61 6d 70 6c 65 2e 67 6f 6c 61 6e |...example.golan| +00000210 67 30 0d 06 09 2a 86 48 86 f7 0d 01 01 0b 05 00 |g0...*.H........| +00000220 03 81 81 00 9d 30 cc 40 2b 5b 50 a0 61 cb ba e5 |.....0.@+[P.a...| +00000230 53 58 e1 ed 83 28 a9 58 1a a9 38 a4 95 a1 ac 31 |SX...(.X..8....1| +00000240 5a 1a 84 66 3d 43 d3 2d d9 0b f2 97 df d3 20 64 |Z..f=C.-...... d| +00000250 38 92 24 3a 00 bc cf 9c 7d b7 40 20 01 5f aa d3 |8.$:....}.@ ._..| +00000260 16 61 09 a2 76 fd 13 c3 cc e1 0c 5c ee b1 87 82 |.a..v......\....| +00000270 f1 6c 04 ed 73 bb b3 43 77 8d 0c 1c f1 0f a1 d8 |.l..s..Cw.......| +00000280 40 83 61 c9 4c 72 2b 9d ae db 46 06 06 4d f4 c1 |@.a.Lr+...F..M..| +00000290 b3 3e c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 |.>...B...=.`.\!.| +000002a0 3b e9 fa e7 16 03 03 00 ac 0c 00 00 a8 03 00 1d |;...............| +000002b0 20 00 0c c6 fc 56 b0 5d 7c b8 4c 9e 43 4a 60 b4 | ....V.]|.L.CJ`.| +000002c0 47 a5 bd 89 ec 64 d1 88 23 41 c1 15 85 7e fc b5 |G....d..#A...~..| +000002d0 44 04 01 00 80 b1 af c1 96 b2 2d b8 0f 42 31 22 |D.........-..B1"| +000002e0 6b fb 14 4c 71 fa dd 18 41 af 8f 93 6b 10 0b be |k..Lq...A...k...| +000002f0 2d 77 7f ae 62 ca 90 14 46 55 21 58 9c 9f 4d ee |-w..b...FU!X..M.| +00000300 f7 30 2f 3f e5 26 e3 00 e9 0b 18 89 e2 a9 4c 79 |.0/?.&........Ly| +00000310 91 98 74 1d a3 82 c8 24 bf 95 33 93 44 17 e8 23 |..t....$..3.D..#| +00000320 3d c2 ee ad c6 aa ac 4d 98 ad 40 69 ec 9d ed eb |=......M..@i....| +00000330 7a 58 61 7d d4 a8 17 d6 9b 0f 45 50 f1 cc 74 4c |zXa}......EP..tL| +00000340 60 9a ed 7e 34 9a ef bc 8a 45 b9 69 30 20 0d 08 |`..~4....E.i0 ..| +00000350 94 3e 70 34 b6 16 03 03 00 04 0e 00 00 00 |.>p4..........| +>>> 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 28 00 00 00 00 00 00 00 00 5c c6 7e |....(........\.~| +00000040 28 b9 c7 bf f7 54 8c 97 7a d4 3f 28 47 b2 27 ed |(....T..z.?(G.'.| +00000050 36 08 0a a1 e3 8e a3 13 6f 11 44 b2 2f |6.......o.D./| +>>> Flow 4 (server to client) +00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 3d |............ ..=| +00000010 b7 78 fd d5 dd 2e 8a 16 48 75 cc bf 03 be 11 98 |.x......Hu......| +00000020 48 55 b3 60 2e 4f 83 2c 98 86 6b 32 ab ea f1 7e |HU.`.O.,..k2...~| +00000030 6b 02 ce fc a0 ad 28 bd d6 b7 e5 b7 7e 4a 48 74 |k.....(.....~JHt| +00000040 5f 10 01 e7 f2 1c f3 13 a0 b9 ca 84 7b 87 40 59 |_...........{.@Y| +00000050 d3 65 a6 46 90 75 54 a9 0f ef 53 42 a6 d4 2e 60 |.e.F.uT...SB...`| +00000060 e8 11 b7 cd cb 59 6d fb e4 20 b5 87 21 14 d3 8a |.....Ym.. ..!...| +00000070 89 48 d1 2c 01 3e a9 88 5a df c7 1e 26 d5 51 6e |.H.,.>..Z...&.Qn| +00000080 f3 1b 08 0e 0f db 89 de 1e c6 e9 66 3b 15 03 b5 |...........f;...| +00000090 cc 07 06 b3 16 55 e7 a9 0a 44 d6 52 3e 4f 26 b2 |.....U...D.R>O&.| +000000a0 cb 0b 33 a8 a0 4d 73 aa f9 9f ec f2 b6 5b 67 36 |..3..Ms......[g6| +000000b0 3c 6a 0d ee 2f 5e 9f 3d 16 a9 d3 b4 98 e5 d2 14 |>> Flow 5 (client to server) +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 e6 31 cf |..............1.| +00000010 eb 68 25 32 42 ed ce 8f 2b 3a 67 01 b9 bc 79 a5 |.h%2B...+:g...y.| +00000020 2f 61 93 15 03 03 00 1a 00 00 00 00 00 00 00 02 |/a..............| +00000030 27 4e 58 45 89 19 c0 e2 41 d8 7d 08 a5 8f c6 7d |'NXE....A.}....}| +00000040 09 b7 |..| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Firefox-55 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Firefox-55 index 32e0c9c..481a8c9 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Firefox-55 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Firefox-55 @@ -12,9 +12,9 @@ 000000a0 03 08 04 08 05 08 06 04 01 05 01 06 01 02 03 02 |................| 000000b0 01 |.| >>> Flow 2 (server to client) -00000000 16 03 03 00 41 02 00 00 3d 03 03 04 9e 27 b8 fe |....A...=....'..| -00000010 7d c0 7c 49 0e c0 8f 1a 92 12 bc a4 17 aa 4c 2c |}.|I..........L,| -00000020 32 72 51 da 7c a1 b6 60 9e 68 75 00 c0 2f 00 00 |2rQ.|..`.hu../..| +00000000 16 03 03 00 41 02 00 00 3d 03 03 d9 3d e5 57 05 |....A...=...=.W.| +00000010 21 06 64 86 20 56 c9 8c 00 b2 4e d2 f6 40 37 c9 |!.d. V....N..@7.| +00000020 b5 69 df 9e 3d 1d 07 57 35 aa 14 00 c0 2f 00 00 |.i..=..W5..../..| 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 59 0b 00 02 55 00 |..........Y...U.| 00000050 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 |.R..O0..K0......| @@ -55,44 +55,44 @@ 00000280 40 83 61 c9 4c 72 2b 9d ae db 46 06 06 4d f4 c1 |@.a.Lr+...F..M..| 00000290 b3 3e c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 |.>...B...=.`.\!.| 000002a0 3b e9 fa e7 16 03 03 00 ac 0c 00 00 a8 03 00 1d |;...............| -000002b0 20 ca 71 50 46 39 b2 eb cd 94 b3 40 c1 e6 5d fa | .qPF9.....@..].| -000002c0 ea 89 1a 88 3c fb 43 74 67 1a 19 8e a2 a7 ae eb |....<.Ctg.......| -000002d0 2d 04 01 00 80 08 78 39 3e 22 81 2d 44 a4 53 57 |-.....x9>".-D.SW| -000002e0 ce b6 70 ee 9e 55 f1 02 a3 fe f8 9c 5f ea 01 05 |..p..U......_...| -000002f0 d0 59 85 d0 d6 76 47 20 57 5e 78 86 53 c5 09 7b |.Y...vG W^x.S..{| -00000300 20 b0 75 e1 8d 2c 74 ef e5 62 c4 f7 4f c8 3b 5d | .u..,t..b..O.;]| -00000310 52 55 54 d1 cd 33 3c 25 a2 52 98 85 30 8a 0c 6b |RUT..3<%.R..0..k| -00000320 2e 08 f9 4a 19 d9 fc 44 30 85 bd 0c 62 7d 26 10 |...J...D0...b}&.| -00000330 60 8a 38 83 24 4a 33 80 76 33 58 0d 3d 6c 21 e3 |`.8.$J3.v3X.=l!.| -00000340 a1 d3 26 b3 cc 99 03 11 87 7f 5b c8 4a a1 5b 73 |..&.......[.J.[s| -00000350 9b e6 5b a0 cb 16 03 03 00 04 0e 00 00 00 |..[...........| +000002b0 20 2d ff 9b 78 b7 68 7a f5 2e c6 4b 8e ab c9 fa | -..x.hz...K....| +000002c0 60 39 8d 82 a4 b0 df b8 17 38 9d f7 7e 9f 6c 46 |`9.......8..~.lF| +000002d0 19 04 01 00 80 42 dd 95 d7 8c e5 0c 08 3a 27 90 |.....B.......:'.| +000002e0 47 ea a3 d0 88 c1 ff ca 89 9b 8b 33 94 36 e4 f0 |G..........3.6..| +000002f0 94 31 a8 91 18 11 00 40 49 87 95 40 76 d6 4f 0e |.1.....@I..@v.O.| +00000300 47 11 bd 5a aa 7c 8e 6a 21 9a f7 5d fa bd da 47 |G..Z.|.j!..]...G| +00000310 a5 57 08 bb dd f6 4c 52 14 5e 62 b1 99 a4 18 cc |.W....LR.^b.....| +00000320 ae 96 33 2f 73 2c a9 af 5b ea e5 0e 13 ac 4d b6 |..3/s,..[.....M.| +00000330 6a fb e0 a5 f1 6f ec 0e ca 75 32 3e 9f 05 f5 0e |j....o...u2>....| +00000340 1e 9c 5f 2b 4a 24 79 2b 96 4f 6b ab d7 34 53 a4 |.._+J$y+.Ok..4S.| +00000350 f3 28 64 11 34 16 03 03 00 04 0e 00 00 00 |.(d.4.........| >>> 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 28 00 00 00 00 00 00 00 00 ab fa 8f |....(...........| -00000040 11 27 ce 66 71 b0 1e af db f8 7f 8d f5 6c 1d 88 |.'.fq........l..| -00000050 ac 9c 7b 20 c1 f1 37 7d ec ff 6d ab d5 |..{ ..7}..m..| +00000030 16 03 03 00 28 00 00 00 00 00 00 00 00 c6 20 14 |....(......... .| +00000040 87 07 f4 aa 34 5a 1f d0 85 b3 8c 08 2b f6 f7 9b |....4Z......+...| +00000050 e5 04 db 39 48 b2 f0 5e aa e7 80 39 94 |...9H..^...9.| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 59 |............ ..Y| -00000010 47 87 9f 9b 49 8e 14 c6 3c 81 bb 8d 80 d9 1e 65 |G...I...<......e| -00000020 f3 4c 81 85 01 fb 40 e7 7f ae f3 81 46 fb 83 26 |.L....@.....F..&| -00000030 fd 84 3c a8 36 f5 8f 74 04 7b ea 42 ca 87 88 1f |..<.6..t.{.B....| -00000040 2f e9 be ae af cb 54 e7 e5 0b 71 53 f4 d7 32 2b |/.....T...qS..2+| -00000050 d4 fd f8 08 c1 8d 93 db 60 a2 e0 7c ab 7b 18 f3 |........`..|.{..| -00000060 9c 0b 10 ab 3b 36 5d 14 e2 d2 6f ee 41 e6 79 c8 |....;6]...o.A.y.| -00000070 71 7d d5 fc 72 a2 07 e6 70 69 91 00 8f 63 2b e6 |q}..r...pi...c+.| -00000080 71 fe 63 59 72 81 bc 70 81 9f 08 36 09 64 c0 77 |q.cYr..p...6.d.w| -00000090 21 43 6f 6c cf 69 ac e7 3d 43 cd 56 48 43 99 a5 |!Col.i..=C.VHC..| -000000a0 bf 2f 78 7a ae 14 42 00 f4 1a 46 c7 a5 45 e3 41 |./xz..B...F..E.A| -000000b0 2b 9d 4c b9 b6 79 24 a4 7c 3a 4e 2b 75 e9 19 14 |+.L..y$.|:N+u...| -000000c0 03 03 00 01 01 16 03 03 00 28 dc 79 b9 74 ad e4 |.........(.y.t..| -000000d0 5a 37 b0 12 c2 5d 3e fb d5 19 e2 f9 4e bc 47 1b |Z7...]>.....N.G.| -000000e0 53 49 a4 f4 56 f3 84 c5 6b 30 a7 2d 62 16 69 48 |SI..V...k0.-b.iH| -000000f0 46 23 |F#| +00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 81 |............ ...| +00000010 35 2e e2 c3 b5 c9 85 c8 91 8d 01 ae ba 42 08 a8 |5............B..| +00000020 ad 2f f1 89 85 f5 1d 48 21 71 33 ef 4b 5c c1 44 |./.....H!q3.K\.D| +00000030 d3 d4 5c 6b 8e 87 4b 41 21 14 d2 34 34 47 78 ae |..\k..KA!..44Gx.| +00000040 16 b4 27 2c dd da c2 0a f4 74 68 af 52 50 7b 94 |..',.....th.RP{.| +00000050 ed 60 ea 5c aa b0 b8 4f 87 49 b2 81 30 a8 53 97 |.`.\...O.I..0.S.| +00000060 86 17 3d fb bc 88 4b 6c 8f 98 cf 6c a7 af 0a 8d |..=...Kl...l....| +00000070 cb 15 17 99 9b 11 f2 d8 bd 3a 70 99 86 1f 9c 3a |.........:p....:| +00000080 a9 63 f1 06 f7 c2 a0 f0 fc ce 42 9e 68 13 b9 c1 |.c........B.h...| +00000090 aa 77 68 42 d0 a9 e9 82 38 13 de 58 10 ff 4a 83 |.whB....8..X..J.| +000000a0 4a 71 7f 5d e1 2a 30 32 1e 7b 6f 75 8c 86 af 69 |Jq.].*02.{ou...i| +000000b0 ac 71 f3 09 d2 1c 6b 51 42 8f 21 6c c8 93 3d 14 |.q....kQB.!l..=.| +000000c0 03 03 00 01 01 16 03 03 00 28 b8 a1 97 c3 b4 99 |.........(......| +000000d0 6a 90 d3 4a 50 87 1c dd 0a 37 ac 75 8a 31 7a cb |j..JP....7.u.1z.| +000000e0 68 f1 07 d4 8f d5 4f 91 7d b8 4c 06 d5 10 66 75 |h.....O.}.L...fu| +000000f0 5b 5e |[^| >>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 c1 47 d1 |..............G.| -00000010 94 f9 d2 bc 79 7e fc 6f 14 cc 97 eb 7d c9 21 51 |....y~.o....}.!Q| -00000020 af ee 8b 15 03 03 00 1a 00 00 00 00 00 00 00 02 |................| -00000030 35 91 a5 bb 92 cf 25 1c 22 95 e8 7a fe f4 82 f6 |5.....%."..z....| -00000040 a1 0c |..| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 f1 bb 0f |................| +00000010 e5 93 5f f6 a3 d0 ab 8a 5a 46 fc 0a 6f 12 2b 88 |.._.....ZF..o.+.| +00000020 e3 f8 fe 15 03 03 00 1a 00 00 00 00 00 00 00 02 |................| +00000030 3d 44 85 b5 cc b0 a6 00 c0 32 09 ee 3e 68 25 19 |=D.......2..>h%.| +00000040 2d c8 |-.| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Golang-0 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Golang-0 new file mode 100644 index 0000000..932c9ab --- /dev/null +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Golang-0 @@ -0,0 +1,86 @@ +>>> Flow 1 (client to server) +00000000 16 03 01 00 91 01 00 00 8d 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 00 00 2c cc a8 |.............,..| +00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| +00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| +00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| +00000090 01 00 00 12 00 00 |......| +>>> Flow 2 (server to client) +00000000 16 03 03 00 59 02 00 00 55 03 03 ad a3 70 e5 a7 |....Y...U....p..| +00000010 ec 7c be cc 6f 75 87 f4 20 83 02 43 da 7a 0d d3 |.|..ou.. ..C.z..| +00000020 b1 80 a7 ca a2 22 c9 f7 58 43 bd 20 1c 3b 3a e7 |....."..XC. .;:.| +00000030 f7 4e 05 c6 79 4d 4d b3 59 3d a3 c0 85 7b d2 b8 |.N..yMM.Y=...{..| +00000040 f9 9b 7c 48 91 c7 a1 59 7c e5 22 6a c0 2f 00 00 |..|H...Y|."j./..| +00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| +00000060 03 02 59 0b 00 02 55 00 02 52 00 02 4f 30 82 02 |..Y...U..R..O0..| +00000070 4b 30 82 01 b4 a0 03 02 01 02 02 09 00 e8 f0 9d |K0..............| +00000080 3f e2 5b ea a6 30 0d 06 09 2a 86 48 86 f7 0d 01 |?.[..0...*.H....| +00000090 01 0b 05 00 30 1f 31 0b 30 09 06 03 55 04 0a 13 |....0.1.0...U...| +000000a0 02 47 6f 31 10 30 0e 06 03 55 04 03 13 07 47 6f |.Go1.0...U....Go| +000000b0 20 52 6f 6f 74 30 1e 17 0d 31 36 30 31 30 31 30 | Root0...1601010| +000000c0 30 30 30 30 30 5a 17 0d 32 35 30 31 30 31 30 30 |00000Z..25010100| +000000d0 30 30 30 30 5a 30 1a 31 0b 30 09 06 03 55 04 0a |0000Z0.1.0...U..| +000000e0 13 02 47 6f 31 0b 30 09 06 03 55 04 03 13 02 47 |..Go1.0...U....G| +000000f0 6f 30 81 9f 30 0d 06 09 2a 86 48 86 f7 0d 01 01 |o0..0...*.H.....| +00000100 01 05 00 03 81 8d 00 30 81 89 02 81 81 00 db 46 |.......0.......F| +00000110 7d 93 2e 12 27 06 48 bc 06 28 21 ab 7e c4 b6 a2 |}...'.H..(!.~...| +00000120 5d fe 1e 52 45 88 7a 36 47 a5 08 0d 92 42 5b c2 |]..RE.z6G....B[.| +00000130 81 c0 be 97 79 98 40 fb 4f 6d 14 fd 2b 13 8b c2 |....y.@.Om..+...| +00000140 a5 2e 67 d8 d4 09 9e d6 22 38 b7 4a 0b 74 73 2b |..g....."8.J.ts+| +00000150 c2 34 f1 d1 93 e5 96 d9 74 7b f3 58 9f 6c 61 3c |.4......t{.X.la<| +00000160 c0 b0 41 d4 d9 2b 2b 24 23 77 5b 1c 3b bd 75 5d |..A..++$#w[.;.u]| +00000170 ce 20 54 cf a1 63 87 1d 1e 24 c4 f3 1d 1a 50 8b |. T..c...$....P.| +00000180 aa b6 14 43 ed 97 a7 75 62 f4 14 c8 52 d7 02 03 |...C...ub...R...| +00000190 01 00 01 a3 81 93 30 81 90 30 0e 06 03 55 1d 0f |......0..0...U..| +000001a0 01 01 ff 04 04 03 02 05 a0 30 1d 06 03 55 1d 25 |.........0...U.%| +000001b0 04 16 30 14 06 08 2b 06 01 05 05 07 03 01 06 08 |..0...+.........| +000001c0 2b 06 01 05 05 07 03 02 30 0c 06 03 55 1d 13 01 |+.......0...U...| +000001d0 01 ff 04 02 30 00 30 19 06 03 55 1d 0e 04 12 04 |....0.0...U.....| +000001e0 10 9f 91 16 1f 43 43 3e 49 a6 de 6d b6 80 d7 9f |.....CC>I..m....| +000001f0 60 30 1b 06 03 55 1d 23 04 14 30 12 80 10 48 13 |`0...U.#..0...H.| +00000200 49 4d 13 7e 16 31 bb a3 01 d5 ac ab 6e 7b 30 19 |IM.~.1......n{0.| +00000210 06 03 55 1d 11 04 12 30 10 82 0e 65 78 61 6d 70 |..U....0...examp| +00000220 6c 65 2e 67 6f 6c 61 6e 67 30 0d 06 09 2a 86 48 |le.golang0...*.H| +00000230 86 f7 0d 01 01 0b 05 00 03 81 81 00 9d 30 cc 40 |.............0.@| +00000240 2b 5b 50 a0 61 cb ba e5 53 58 e1 ed 83 28 a9 58 |+[P.a...SX...(.X| +00000250 1a a9 38 a4 95 a1 ac 31 5a 1a 84 66 3d 43 d3 2d |..8....1Z..f=C.-| +00000260 d9 0b f2 97 df d3 20 64 38 92 24 3a 00 bc cf 9c |...... d8.$:....| +00000270 7d b7 40 20 01 5f aa d3 16 61 09 a2 76 fd 13 c3 |}.@ ._...a..v...| +00000280 cc e1 0c 5c ee b1 87 82 f1 6c 04 ed 73 bb b3 43 |...\.....l..s..C| +00000290 77 8d 0c 1c f1 0f a1 d8 40 83 61 c9 4c 72 2b 9d |w.......@.a.Lr+.| +000002a0 ae db 46 06 06 4d f4 c1 b3 3e c0 d1 bd 42 d4 db |..F..M...>...B..| +000002b0 fe 3d 13 60 84 5c 21 d3 3b e9 fa e7 16 03 03 00 |.=.`.\!.;.......| +000002c0 ac 0c 00 00 a8 03 00 1d 20 53 3f 54 80 1c 8e d7 |........ S?T....| +000002d0 c7 45 80 1d 00 a2 d2 e8 bf f2 20 cb c6 11 42 f0 |.E........ ...B.| +000002e0 45 2d 69 e6 08 9a 15 7e 14 04 01 00 80 81 c5 26 |E-i....~.......&| +000002f0 23 15 23 3f 9b ff d9 24 24 e8 ac 6a dc c6 f1 e0 |#.#?...$$..j....| +00000300 c5 e9 6d 84 f8 d5 32 c1 bb 9a 74 2e 5f f8 22 4f |..m...2...t._."O| +00000310 5b b0 5e 96 63 f6 29 f7 7b 0c ba 0d 2c d5 76 d4 |[.^.c.).{...,.v.| +00000320 9e 29 0a 1c df c9 21 8f 34 6a 71 88 7f 54 1b ec |.)....!.4jq..T..| +00000330 29 94 c7 e5 ad 92 ea bc 5b d5 36 c1 a4 1d 98 93 |).......[.6.....| +00000340 03 1e 6b 83 3e 3e f6 70 5c 07 bf 55 f1 6b 5f 56 |..k.>>.p\..U.k_V| +00000350 22 87 a4 2f 37 82 5a e8 d8 a3 62 4c d4 3b 70 8f |"../7.Z...bL.;p.| +00000360 79 0d 50 13 e6 24 6b a0 d6 e5 71 58 f9 16 03 03 |y.P..$k...qX....| +00000370 00 04 0e 00 00 00 |......| +>>> 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 28 00 00 00 00 00 00 00 00 d2 7c 36 |....(.........|6| +00000040 1d 73 09 28 46 76 c7 a0 3c 63 14 80 69 fe 45 16 |.s.(Fv..>> Flow 4 (server to client) +00000000 14 03 03 00 01 01 16 03 03 00 28 47 4a 56 2a da |..........(GJV*.| +00000010 18 a0 0a fd 21 a3 6f 58 3b 4a a3 b1 39 19 09 5d |....!.oX;J..9..]| +00000020 3b 9a 20 8e 72 93 d3 1f c1 0d 3f da 6c 36 83 c2 |;. .r.....?.l6..| +00000030 ed 28 15 |.(.| +>>> Flow 5 (client to server) +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 6e a4 e3 |.............n..| +00000010 12 8e 78 62 f8 00 4e fd b4 d0 bb 3c 6e 5c 4d dc |..xb..N....t..| +00000040 a4 13 |..| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Android-22 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Android-22 index e403ecf..462da07 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Android-22 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Android-22 @@ -13,9 +13,9 @@ 000000b0 33 2e 31 00 0b 00 02 01 00 00 0a 00 08 00 06 00 |3.1.............| 000000c0 17 00 18 00 19 |.....| >>> Flow 2 (server to client) -00000000 16 03 03 00 3d 02 00 00 39 03 03 dd 99 26 71 2f |....=...9....&q/| -00000010 6a 6d 98 72 a7 98 17 20 16 bd cb 7a 9f e8 ba 30 |jm.r... ...z...0| -00000020 c4 99 4d de af c2 f2 5a 97 1d 2e 00 c0 13 00 00 |..M....Z........| +00000000 16 03 03 00 3d 02 00 00 39 03 03 fa f2 fa e2 99 |....=...9.......| +00000010 09 79 4c 17 93 85 dc fd e1 c9 b1 39 a8 27 a5 40 |.yL........9.'.@| +00000020 e9 7c ca 1a b7 9b 89 61 3a 9a 1a 00 c0 13 00 00 |.|.....a:.......| 00000030 11 ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 23 |...............#| 00000040 00 00 16 03 03 02 59 0b 00 02 55 00 02 52 00 02 |......Y...U..R..| 00000050 4f 30 82 02 4b 30 82 01 b4 a0 03 02 01 02 02 09 |O0..K0..........| @@ -55,20 +55,20 @@ 00000270 73 bb b3 43 77 8d 0c 1c f1 0f a1 d8 40 83 61 c9 |s..Cw.......@.a.| 00000280 4c 72 2b 9d ae db 46 06 06 4d f4 c1 b3 3e c0 d1 |Lr+...F..M...>..| 00000290 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 3b e9 fa e7 |.B...=.`.\!.;...| -000002a0 16 03 03 00 cd 0c 00 00 c9 03 00 17 41 04 de 42 |............A..B| -000002b0 e1 e2 0f 9c b8 db d2 17 b9 67 e9 a9 48 9a 7c 25 |.........g..H.|%| -000002c0 db 1b 66 61 a0 b5 dd fd 27 24 a6 f7 d2 71 4f bc |..fa....'$...qO.| -000002d0 67 52 68 78 ee c7 ce 6c cc 84 34 74 06 ac 10 ab |gRhx...l..4t....| -000002e0 f9 2c 99 77 ae 29 88 74 1a 68 95 7d cf c6 06 01 |.,.w.).t.h.}....| -000002f0 00 80 c4 b7 bc f9 54 92 52 d9 91 29 18 a8 f1 57 |......T.R..)...W| -00000300 b4 fe 62 5f 28 04 bf 3c d4 99 f7 65 f0 5c 54 24 |..b_(..<...e.\T$| -00000310 86 8b 80 32 0e 3c 81 de 9a e1 c0 38 f5 b1 ee ed |...2.<.....8....| -00000320 f1 42 c7 b3 c2 7f 70 ca 4e e4 b5 06 5b 89 ca 69 |.B....p.N...[..i| -00000330 0a c7 2c 7c 19 41 a7 94 b5 fc 3e 73 da ec 7a fb |..,|.A....>s..z.| -00000340 5f bd d4 59 8a 02 56 e0 c7 5d 8b ea 92 0a ca e3 |_..Y..V..]......| -00000350 b4 44 f2 a9 6a 4c f6 a3 f6 ec 66 c6 b3 be 4d b5 |.D..jL....f...M.| -00000360 b0 2f ea 5b 41 f6 ad 32 2a 93 02 af 62 c0 8f ae |./.[A..2*...b...| -00000370 01 c0 16 03 03 00 04 0e 00 00 00 |...........| +000002a0 16 03 03 00 cd 0c 00 00 c9 03 00 17 41 04 6d 44 |............A.mD| +000002b0 87 bb 28 ca 8c b7 8c 1d 1d 1d 2a 9a f3 18 d2 67 |..(.......*....g| +000002c0 d3 c2 1a 3c d4 99 ea 16 42 7f 8a 66 ed a1 cc 3e |...<....B..f...>| +000002d0 68 f3 06 ec e1 c8 df 69 90 ec 62 06 84 e5 b1 ab |h......i..b.....| +000002e0 d6 50 f3 1a 7e f8 a5 65 93 5b 91 dc d8 1a 06 01 |.P..~..e.[......| +000002f0 00 80 7e 0a 6a 5b bb 37 2b ff fe 8c 29 a7 cf 6c |..~.j[.7+...)..l| +00000300 e4 d9 ad b2 16 5e 1c eb a3 49 e0 b1 4e a2 f8 fb |.....^...I..N...| +00000310 e1 7f 1c 39 38 ab f9 b4 11 f4 00 78 4a e9 6b 2e |...98......xJ.k.| +00000320 68 32 45 31 46 e1 67 c0 be ac d9 1d 0a 05 fa 2f |h2E1F.g......../| +00000330 8e 4c 4e f6 eb 9e 62 0f e1 6d 1a c3 b8 9b 41 20 |.LN...b..m....A | +00000340 84 88 a5 b2 6f 57 f0 db 7c 55 e9 b5 83 b8 57 f3 |....oW..|U....W.| +00000350 03 cf e3 16 64 4d 4a 76 9f ec 82 8d 0b ee 46 05 |....dMJv......F.| +00000360 29 2c 64 0b 96 f3 58 77 a6 7d e3 53 9b 83 27 df |),d...Xw.}.S..'.| +00000370 77 fc 16 03 03 00 04 0e 00 00 00 |w..........| >>> Flow 3 (client to server) 00000000 16 03 03 00 46 10 00 00 42 41 04 1e 18 37 ef 0d |....F...BA...7..| 00000010 19 51 88 35 75 71 b5 e5 54 5b 12 2e 8f 09 67 fd |.Q.5uq..T[....g.| @@ -76,32 +76,32 @@ 00000030 f1 07 9f 6c 4b 5b 83 56 e2 32 42 e9 58 b6 d7 49 |...lK[.V.2B.X..I| 00000040 a6 b5 68 1a 41 03 56 6b dc 5a 89 14 03 03 00 01 |..h.A.Vk.Z......| 00000050 01 16 03 03 00 40 00 00 00 00 00 00 00 00 00 00 |.....@..........| -00000060 00 00 00 00 00 00 d4 73 2f fe dd e5 22 02 9b 9b |.......s/..."...| -00000070 5c 2f 4f 7a dd a4 45 2a 2b 45 72 74 6f 20 60 8a |\/Oz..E*+Erto `.| -00000080 d6 b5 de 18 1f 2a f5 3d 07 9e 63 05 b7 73 4f de |.....*.=..c..sO.| -00000090 08 57 81 17 24 a3 |.W..$.| +00000060 00 00 00 00 00 00 c1 21 5e 6a ec 2c 12 ac 77 87 |.......!^j.,..w.| +00000070 b5 af f1 90 c5 bf d7 8c 4d 61 ac 5c 95 49 be 69 |........Ma.\.I.i| +00000080 06 cd b2 0d 13 b0 a4 61 ce cd ab e3 c3 f8 b3 16 |.......a........| +00000090 28 7b d0 c0 8f 65 |({...e| >>> Flow 4 (server to client) -00000000 16 03 03 00 aa 04 00 00 a6 00 00 1c 20 00 a0 96 |............ ...| -00000010 22 d7 71 82 20 4c 8a dd f6 84 79 4a 60 fd 18 00 |".q. L....yJ`...| -00000020 c6 4b c8 8d e9 e6 b1 7a 27 b0 d1 45 ed ad 39 6c |.K.....z'..E..9l| -00000030 43 0f 40 67 37 af 86 45 98 18 52 a6 6a df 26 12 |C.@g7..E..R.j.&.| -00000040 c6 dc 95 93 51 94 a9 bc 7c 99 0a 16 63 34 54 e0 |....Q...|...c4T.| -00000050 6e 53 25 1b b9 76 d0 75 93 23 10 36 7f a1 9f cd |nS%..v.u.#.6....| -00000060 f8 56 5e 06 7e d5 9c 4f 39 2e 93 f5 eb de 1a 70 |.V^.~..O9......p| -00000070 f4 17 2b 60 d4 b0 7f 30 69 2f 47 ea 4b e8 bd 16 |..+`...0i/G.K...| -00000080 06 0d 65 a2 cf e5 49 36 dc b5 e1 65 67 45 48 d0 |..e...I6...egEH.| -00000090 3d d5 83 47 f5 4d 42 cb 7c 39 59 2e d9 0f c8 40 |=..G.MB.|9Y....@| -000000a0 1f 09 70 cb ec 49 4d d8 47 2e ca 51 e8 9b c6 14 |..p..IM.G..Q....| -000000b0 03 03 00 01 01 16 03 03 00 40 35 cc 79 5a 7a 84 |.........@5.yZz.| -000000c0 5b 02 ee 46 22 a0 bc 0f 8c de 1b b4 d3 78 5d a9 |[..F"........x].| -000000d0 b4 ac 0c f4 fd 9c 2e 8b 58 88 a5 a4 da d7 36 ce |........X.....6.| -000000e0 85 b5 bb 11 99 0c b7 97 61 13 84 ad 6f 8b 36 30 |........a...o.60| -000000f0 21 16 03 12 22 0b 6e c0 43 e0 |!...".n.C.| +00000000 16 03 03 00 aa 04 00 00 a6 00 00 1c 20 00 a0 d4 |............ ...| +00000010 06 93 d2 48 c8 80 e7 d6 72 e5 45 94 58 d3 af b7 |...H....r.E.X...| +00000020 eb d9 59 5e 49 66 07 77 c7 75 f0 68 3f 5b ba 06 |..Y^If.w.u.h?[..| +00000030 27 1a 21 36 7a 0e 9b 97 50 2f 35 09 25 6c 0a e2 |'.!6z...P/5.%l..| +00000040 26 6c c0 bc d6 54 25 1a 8f 7c 3c a8 3a db 29 03 |&l...T%..|<.:.).| +00000050 5d 55 e5 47 1a 77 b2 c8 93 8d ed 8d 29 5e 36 a7 |]U.G.w......)^6.| +00000060 2d 14 b7 86 70 79 b2 b6 f9 e7 10 87 c3 40 05 d5 |-...py.......@..| +00000070 e4 b2 5c 9c 70 bd 3b 3b b6 52 ec 2c 09 85 93 df |..\.p.;;.R.,....| +00000080 6b 0a 2d 38 87 33 45 21 57 cf 32 41 37 d7 7b 87 |k.-8.3E!W.2A7.{.| +00000090 1f 83 df e2 0e 6d 68 e3 a6 5f 0f 9e ac 17 d4 cf |.....mh.._......| +000000a0 81 d4 f8 85 c5 4a c8 d7 ce 80 4b ec ab aa 2e 14 |.....J....K.....| +000000b0 03 03 00 01 01 16 03 03 00 40 01 c4 6c 14 a0 92 |.........@..l...| +000000c0 4d 3a 47 d9 c8 c5 76 0a b4 80 86 24 ab dd ae 86 |M:G...v....$....| +000000d0 a2 e0 7e 13 d3 c2 8b cd 38 b3 e5 e2 ff c9 44 9b |..~.....8.....D.| +000000e0 d7 2f 84 c2 61 6e d0 68 20 3c 2f 4e 1e 89 df 11 |./..an.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 1e 02 96 c7 39 fd 3c 14 d8 2b db |.........9.<..+.| -00000020 9a 60 38 ef 55 8a 7f 5e 20 d8 60 8f d9 67 66 c4 |.`8.U..^ .`..gf.| -00000030 98 59 99 6b 5b 15 03 03 00 30 00 00 00 00 00 00 |.Y.k[....0......| -00000040 00 00 00 00 00 00 00 00 00 00 1f ba 91 fc be 15 |................| -00000050 8c f6 03 d7 ac b9 67 95 1b a2 61 a0 00 44 fd e7 |......g...a..D..| -00000060 2f 30 5d ac dc 1c 7c 59 30 87 |/0]...|Y0.| +00000010 00 00 00 00 00 70 51 3c a0 d6 b5 ab 21 3d 7d 92 |.....pQ<....!=}.| +00000020 f5 7e a9 d5 de 0b 29 e4 21 4a 55 3c 7b 8f 83 c5 |.~....).!JU<{...| +00000030 77 ef af ed d1 15 03 03 00 30 00 00 00 00 00 00 |w........0......| +00000040 00 00 00 00 00 00 00 00 00 00 90 dc 82 88 f2 35 |...............5| +00000050 25 37 bd 2a 72 d9 d3 96 2c 95 3e 12 b6 4f 6b 06 |%7.*r...,.>..Ok.| +00000060 61 ff 03 b6 bb 13 7c 42 59 69 |a.....|BYi| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Android-23 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Android-23 index f796960..77b77ab 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Android-23 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Android-23 @@ -12,9 +12,9 @@ 000000a0 73 70 64 79 2f 38 2e 31 00 0b 00 02 01 00 00 0a |spdy/8.1........| 000000b0 00 06 00 04 00 17 00 18 |........| >>> Flow 2 (server to client) -00000000 16 03 03 00 41 02 00 00 3d 03 03 c5 5c 1e bb 61 |....A...=...\..a| -00000010 8f e1 4a 76 36 d8 a5 8e f6 8f 99 0e a2 57 ec 47 |..Jv6........W.G| -00000020 16 45 b2 36 0d 57 a4 37 a8 07 fa 00 c0 13 00 00 |.E.6.W.7........| +00000000 16 03 03 00 41 02 00 00 3d 03 03 e9 9b 30 af fc |....A...=....0..| +00000010 3c b7 0a 23 cc 93 5e e0 37 c6 77 b2 f1 67 4e 10 |<..#..^.7.w..gN.| +00000020 94 46 33 f8 36 db 95 28 b6 b1 38 00 c0 13 00 00 |.F3.6..(..8.....| 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 59 0b 00 02 55 00 |..........Y...U.| 00000050 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 |.R..O0..K0......| @@ -55,19 +55,19 @@ 00000280 40 83 61 c9 4c 72 2b 9d ae db 46 06 06 4d f4 c1 |@.a.Lr+...F..M..| 00000290 b3 3e c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 |.>...B...=.`.\!.| 000002a0 3b e9 fa e7 16 03 03 00 cd 0c 00 00 c9 03 00 17 |;...............| -000002b0 41 04 d5 bf d4 67 7c e0 1f 21 a8 21 c1 e6 7c 1e |A....g|..!.!..|.| -000002c0 97 c0 2f f5 e4 b9 c3 08 a1 61 2f df 4a 5f d2 a5 |../......a/.J_..| -000002d0 65 bf c0 b8 0d b8 66 89 e3 35 2e 81 36 58 62 9d |e.....f..5..6Xb.| -000002e0 ee 5b 30 9f e9 e9 3c ae 66 f5 6a 72 b6 04 eb a5 |.[0...<.f.jr....| -000002f0 e2 88 06 01 00 80 05 21 6a 4d 7c 9e d1 8c c0 26 |.......!jM|....&| -00000300 d4 95 ca d2 5e c5 ff 27 d5 4a 9b cf ec a9 ef e2 |....^..'.J......| -00000310 bb c6 08 97 41 ac e9 06 7c a8 14 d7 c3 95 d4 20 |....A...|...... | -00000320 f8 15 84 1f 41 e1 79 22 33 64 9c d6 c6 ff f6 c4 |....A.y"3d......| -00000330 10 ad 55 58 af dc 38 cc 30 30 60 cb 76 37 bd 93 |..UX..8.00`.v7..| -00000340 58 72 1f 87 7a 4a 2b 93 46 cd 46 ad 59 ba 92 ae |Xr..zJ+.F.F.Y...| -00000350 e4 48 26 50 da c1 99 e9 4b 02 2c ab 61 0d 7f 85 |.H&P....K.,.a...| -00000360 73 0b 1c 90 43 a3 94 cb c8 69 d1 26 f1 40 85 0d |s...C....i.&.@..| -00000370 b0 f6 2d 68 52 44 16 03 03 00 04 0e 00 00 00 |..-hRD.........| +000002b0 41 04 4b f5 34 22 0d 6f ab d7 6a 49 a3 12 94 d3 |A.K.4".o..jI....| +000002c0 db 29 f3 28 29 a9 74 33 76 a3 9f d4 cf 75 12 dd |.).().t3v....u..| +000002d0 b1 89 b9 dc 91 05 77 54 ca bb cb 16 a9 b7 ce f4 |......wT........| +000002e0 c0 cb 56 5d a3 44 88 fe 79 ca 42 1d 83 fc 85 98 |..V].D..y.B.....| +000002f0 b9 2c 06 01 00 80 0e e3 2e ed 5d 23 b1 c2 52 a3 |.,........]#..R.| +00000300 02 a3 32 1a a6 9c 78 42 13 eb cd 54 b2 72 24 9a |..2...xB...T.r$.| +00000310 51 17 d6 7b b6 80 01 83 d3 9f 2a 51 89 2a 02 19 |Q..{......*Q.*..| +00000320 cf 8a 63 f6 27 fb ce a9 47 10 58 09 85 4e ff ef |..c.'...G.X..N..| +00000330 a4 b4 4b 93 d7 e1 06 4a d3 a2 7e 51 dd 7b c4 bc |..K....J..~Q.{..| +00000340 1c 68 5f 0d 72 51 3e 72 ef 3e 57 fa b1 d0 fd 37 |.h_.rQ>r.>W....7| +00000350 ab 6c 5e f5 4b fc 88 50 3d 62 a4 d0 d5 3b d1 6b |.l^.K..P=b...;.k| +00000360 7e 34 18 26 2d 82 c9 19 ff 3b bb 28 4f f2 b5 8b |~4.&-....;.(O...| +00000370 94 6a db e6 cc fb 16 03 03 00 04 0e 00 00 00 |.j.............| >>> Flow 3 (client to server) 00000000 16 03 03 00 46 10 00 00 42 41 04 1e 18 37 ef 0d |....F...BA...7..| 00000010 19 51 88 35 75 71 b5 e5 54 5b 12 2e 8f 09 67 fd |.Q.5uq..T[....g.| @@ -75,33 +75,33 @@ 00000030 f1 07 9f 6c 4b 5b 83 56 e2 32 42 e9 58 b6 d7 49 |...lK[.V.2B.X..I| 00000040 a6 b5 68 1a 41 03 56 6b dc 5a 89 14 03 03 00 01 |..h.A.Vk.Z......| 00000050 01 16 03 03 00 40 00 00 00 00 00 00 00 00 00 00 |.....@..........| -00000060 00 00 00 00 00 00 3c 28 2a 4a b0 af ad 47 a3 5b |......<(*J...G.[| -00000070 13 81 0a 46 53 9a 86 20 74 7f cd 39 a1 e7 85 17 |...FS.. t..9....| -00000080 4c dc d3 68 95 36 aa 8d 1f 87 c3 86 24 04 fe 4d |L..h.6......$..M| -00000090 b0 19 e6 d9 cb 08 |......| +00000060 00 00 00 00 00 00 ec a4 98 ed b9 9e 9e 84 61 f8 |..............a.| +00000070 e5 79 92 fc 37 43 a8 69 03 5c 00 3f 16 af 90 82 |.y..7C.i.\.?....| +00000080 ba 41 05 5b 76 95 1b 6c 5c ab 47 81 59 4a 8a 8b |.A.[v..l\.G.YJ..| +00000090 7a ef 9c f8 e5 15 |z.....| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 54 |............ ..T| -00000010 5f ec 8f 0c c0 07 2c 1c 5f 27 3a 90 e1 27 a3 22 |_.....,._':..'."| -00000020 c9 bc a5 6f 28 be 9a 98 83 4d 91 92 14 b9 a3 04 |...o(....M......| -00000030 62 11 dd bd 01 50 30 73 4b 8d 18 6d e6 a9 bd d8 |b....P0sK..m....| -00000040 26 e6 a4 05 59 a6 92 e0 19 d1 b7 47 bb 36 1f 7a |&...Y......G.6.z| -00000050 dc e7 2a 49 af b8 59 f2 5f 9e cb 9a e8 55 36 45 |..*I..Y._....U6E| -00000060 58 73 56 12 a8 e9 79 11 99 eb d9 e7 61 08 7b 60 |XsV...y.....a.{`| -00000070 10 78 c6 12 0a cd 02 b7 65 21 f6 13 d5 ec d3 ee |.x......e!......| -00000080 b1 f7 a0 e2 73 48 c9 71 59 e7 ab 8d d0 63 38 6f |....sH.qY....c8o| -00000090 b2 36 6e 52 77 aa 46 1b 5f bb 71 ba 0c a2 95 4a |.6nRw.F._.q....J| -000000a0 38 8d 3e 00 06 16 68 58 1a d7 54 86 a8 91 03 a1 |8.>...hX..T.....| -000000b0 8f 86 25 3e f3 c7 18 8e 90 d0 09 f4 ec 42 de 14 |..%>.........B..| -000000c0 03 03 00 01 01 16 03 03 00 40 19 95 40 76 da 97 |.........@..@v..| -000000d0 b5 74 0b 42 4d d3 99 e7 ae 60 f1 e6 40 ce 10 15 |.t.BM....`..@...| -000000e0 da b7 7a c5 3c cc 79 db fe 4b 13 7c 31 bf 52 31 |..z.<.y..K.|1.R1| -000000f0 3f 7b c8 9e 28 23 62 d3 0d c9 85 6f 96 7b 22 d2 |?{..(#b....o.{".| -00000100 43 4b ed 39 95 3d 4e 3d 33 37 |CK.9.=N=37| +00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 fa |............ ...| +00000010 35 f9 88 1c 07 9c 1c 73 61 81 35 92 a2 4e 87 73 |5......sa.5..N.s| +00000020 bb 50 bb f7 c8 2f ac a5 87 40 fa 7b 48 95 ae 09 |.P.../...@.{H...| +00000030 d8 c6 91 08 a0 21 ab 77 a9 4e d8 61 d0 c3 2b 34 |.....!.w.N.a..+4| +00000040 9d f0 63 eb fd ac 38 73 d1 93 12 4b 0f 55 50 88 |..c...8s...K.UP.| +00000050 a9 18 92 ca 0f 6b 99 53 07 65 9b 92 e4 6b 41 86 |.....k.S.e...kA.| +00000060 7f b0 ff 8e 0a 7f b6 e0 59 52 92 2b ea 1e 45 29 |........YR.+..E)| +00000070 29 dd 9a 92 dd 9b db 86 f9 d8 c7 a8 94 82 f7 8c |)...............| +00000080 d1 34 47 c8 94 4d ab bc d4 fd ba 11 be 3f 8c bf |.4G..M.......?..| +00000090 f3 e3 56 a8 13 bc d6 40 a2 64 a7 35 30 71 f8 39 |..V....@.d.50q.9| +000000a0 bf 2d 67 ae 8b 72 1f ae 47 3d 81 3a 81 50 4d cb |.-g..r..G=.:.PM.| +000000b0 2b 1d 71 99 95 d9 39 d9 dc ec fb 06 6d a5 43 14 |+.q...9.....m.C.| +000000c0 03 03 00 01 01 16 03 03 00 40 5b b7 3e 49 93 88 |.........@[.>I..| +000000d0 5e 27 2c 70 79 2a e7 8e 44 25 c5 59 8c 55 c1 b5 |^',py*..D%.Y.U..| +000000e0 79 b9 54 3a 85 c7 ae 9f ee 6b 0d 15 82 0f b5 c4 |y.T:.....k......| +000000f0 54 a1 5b 02 cf 99 05 3c 46 24 45 d1 88 6c 35 6d |T.[....>> 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 62 f8 f0 78 78 ca 64 a3 5e 8b e6 |.....b..xx.d.^..| -00000020 b5 52 c7 30 10 3c 19 a2 9d 52 0e 02 18 78 ef ea |.R.0.<...R...x..| -00000030 e4 09 5a a1 4d 15 03 03 00 30 00 00 00 00 00 00 |..Z.M....0......| -00000040 00 00 00 00 00 00 00 00 00 00 2b 9f 48 25 ac 75 |..........+.H%.u| -00000050 78 db 50 79 68 54 ef 4b f1 d8 dc 50 fb 3e 44 8c |x.PyhT.K...P.>D.| -00000060 f4 0e ba 8a eb 55 b4 ca 57 28 |.....U..W(| +00000010 00 00 00 00 00 f9 d6 f4 24 f7 af 26 5d b9 bf 01 |........$..&]...| +00000020 c7 ed af 01 fa b4 8e 25 a2 87 2e 21 8a 45 3e 14 |.......%...!.E>.| +00000030 49 07 16 08 1b 15 03 03 00 30 00 00 00 00 00 00 |I........0......| +00000040 00 00 00 00 00 00 00 00 00 00 15 72 a5 77 e0 31 |...........r.w.1| +00000050 4a e8 3b 5c 96 2e 51 8b 74 ac 51 70 52 a0 bb 55 |J.;\..Q.t.QpR..U| +00000060 40 69 07 b3 e9 93 4e 94 94 03 |@i....N...| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Chrome-58 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Chrome-58 index 2c57cee..edda472 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Chrome-58 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Chrome-58 @@ -12,9 +12,9 @@ 000000a0 50 00 00 00 0b 00 02 01 00 00 0a 00 0a 00 08 0a |P...............| 000000b0 0a 00 1d 00 17 00 18 1a 1a 00 01 00 |............| >>> Flow 2 (server to client) -00000000 16 03 03 00 41 02 00 00 3d 03 03 85 bf db 46 f4 |....A...=.....F.| -00000010 5e 24 a4 c6 3c e5 83 dc 2f b4 df e6 9e 45 73 9b |^$..<.../....Es.| -00000020 c7 96 98 d8 eb 9c 85 53 34 78 a0 00 c0 13 00 00 |.......S4x......| +00000000 16 03 03 00 41 02 00 00 3d 03 03 09 8a bb c4 a0 |....A...=.......| +00000010 c0 39 c6 bc f0 f3 b0 e4 0b c8 41 7d 01 eb 0d 62 |.9........A}...b| +00000020 c0 39 80 0d 94 b3 d2 d6 71 07 ec 00 c0 13 00 00 |.9......q.......| 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 59 0b 00 02 55 00 |..........Y...U.| 00000050 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 |.R..O0..K0......| @@ -55,49 +55,49 @@ 00000280 40 83 61 c9 4c 72 2b 9d ae db 46 06 06 4d f4 c1 |@.a.Lr+...F..M..| 00000290 b3 3e c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 |.>...B...=.`.\!.| 000002a0 3b e9 fa e7 16 03 03 00 ac 0c 00 00 a8 03 00 1d |;...............| -000002b0 20 37 5a db 18 8a d0 31 e3 fa 95 03 b5 b4 98 b2 | 7Z....1........| -000002c0 ef 09 29 d5 b6 41 b6 53 3e a1 46 09 54 40 87 24 |..)..A.S>.F.T@.$| -000002d0 61 04 01 00 80 4c 30 82 3b bb 80 7a 56 74 b7 33 |a....L0.;..zVt.3| -000002e0 d8 64 ed d6 a5 a5 ce f5 07 d2 06 2a e1 18 75 8c |.d.........*..u.| -000002f0 ab 7a 7a 04 4a 50 92 3b 1c 01 ca c8 51 69 02 65 |.zz.JP.;....Qi.e| -00000300 b6 76 22 88 ca 27 96 fa 61 7c 6d 88 4c 64 79 f8 |.v"..'..a|m.Ldy.| -00000310 30 4c 9b 00 4d b4 ed 08 14 a3 85 d2 b0 c2 53 79 |0L..M.........Sy| -00000320 19 f6 50 21 d2 9e f1 7f 6c bd 88 17 d6 d5 37 74 |..P!....l.....7t| -00000330 1d 74 9c b0 92 3b aa 83 89 ae a3 0a cc 96 b7 d5 |.t...;..........| -00000340 75 60 41 be ef 50 4b 4d b5 fb 33 c2 51 a4 0b cf |u`A..PKM..3.Q...| -00000350 18 aa a7 ec 06 16 03 03 00 04 0e 00 00 00 |..............| +000002b0 20 32 5d 06 84 21 18 1f 21 8c 7f 4e 2c ea 30 89 | 2]..!..!..N,.0.| +000002c0 e0 f3 ef 60 44 13 7d 0f 6f f2 e7 60 5c 41 10 cb |...`D.}.o..`\A..| +000002d0 2b 04 01 00 80 a0 da ce 97 3f 9b 06 04 77 13 6f |+........?...w.o| +000002e0 82 59 1b a7 f7 25 42 d5 a2 63 c7 77 68 94 f8 bb |.Y...%B..c.wh...| +000002f0 7f 61 ed f4 6d 97 f8 c4 88 83 26 d0 d5 f3 3e 0c |.a..m.....&...>.| +00000300 c5 4d 07 44 2e d4 ea f6 0d a3 e7 5d fa eb 54 7c |.M.D.......]..T|| +00000310 b9 d6 37 7a e7 50 20 e7 18 44 46 58 40 e9 0d 01 |..7z.P ..DFX@...| +00000320 dc a1 69 f0 6d 05 00 f3 1f bb 3e 6b f0 38 c1 05 |..i.m.....>k.8..| +00000330 e5 34 b5 34 71 07 66 0a 8c e4 2b 9e 02 b0 42 e7 |.4.4q.f...+...B.| +00000340 0f 80 7b d7 7c d3 16 02 b5 6a a2 2c 1f ce 94 c3 |..{.|....j.,....| +00000350 4b e8 0b 3a 87 16 03 03 00 04 0e 00 00 00 |K..:..........| >>> 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 e6 22 52 99 b3 24 9e 02 5a a7 7a |......"R..$..Z.z| -00000050 77 d0 b3 45 e8 80 b5 5d 73 36 89 42 50 bc b0 6c |w..E...]s6.BP..l| -00000060 cb 0b 86 b6 1f c2 ef 61 33 95 01 da f3 7d 53 74 |.......a3....}St| -00000070 ed 4a 70 87 12 |.Jp..| +00000040 00 00 00 00 00 16 bf 58 c3 5a 3a bd b8 ce 66 f8 |.......X.Z:...f.| +00000050 b6 ea a1 5a 6e 64 79 9c e2 86 49 d5 a1 8a 89 02 |...Zndy...I.....| +00000060 78 65 1a ed 2e 11 c9 75 8a cc ad 11 d6 7c bd ac |xe.....u.....|..| +00000070 cf c5 b3 33 b7 |...3.| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 80 |............ ...| -00000010 70 c9 2c 9c a8 ba 48 9c 56 c5 e9 e4 00 23 2b 67 |p.,...H.V....#+g| -00000020 87 3a 59 c9 b7 6a 66 06 ce f5 27 13 0e d6 47 07 |.:Y..jf...'...G.| -00000030 db 62 4d eb 70 3f a4 6d 75 9a 19 fa 99 b2 31 7c |.bM.p?.mu.....1|| -00000040 51 ee 1d d8 29 a1 4c 57 9a 1d 69 6e 97 52 e2 39 |Q...).LW..in.R.9| -00000050 59 73 98 7d cd a6 42 c9 9c 6c 11 b0 f3 ef d0 86 |Ys.}..B..l......| -00000060 8e 5a 4c 66 50 92 5d 56 f4 61 d0 6a 9f fa 5e 0c |.ZLfP.]V.a.j..^.| -00000070 bc 9f 4f 63 7f 6f 17 7c a2 99 57 37 2a 42 91 b4 |..Oc.o.|..W7*B..| -00000080 39 3a e7 58 90 ca 0c da 59 fd d0 5a 42 b7 22 31 |9:.X....Y..ZB."1| -00000090 fe 11 1a 28 61 13 65 9e d2 14 d2 9c 33 32 51 37 |...(a.e.....32Q7| -000000a0 c5 81 f0 54 ef a4 f3 06 35 fe c2 dc fc 0b 7d 06 |...T....5.....}.| -000000b0 a1 16 7c b8 f7 84 86 b6 44 a3 9b b9 0b 1d ca 14 |..|.....D.......| -000000c0 03 03 00 01 01 16 03 03 00 40 cc c7 63 bf bf 85 |.........@..c...| -000000d0 36 09 7b 45 25 0a fd 4f f4 38 b8 3c 9e a3 ca e3 |6.{E%..O.8.<....| -000000e0 eb a0 e6 d1 69 69 77 85 17 54 03 2f 23 9a ff 5d |....iiw..T./#..]| -000000f0 fd c5 c2 fa 53 08 64 57 bb 0b ab 8a 16 1c 5a c2 |....S.dW......Z.| -00000100 6c 24 61 62 6c f8 37 ff cb 7a |l$abl.7..z| +00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 21 |............ ..!| +00000010 1e a6 7e 29 16 e8 2f 94 bf 72 12 8a 23 9e 26 b2 |..~)../..r..#.&.| +00000020 6e ad d5 30 b2 f8 8b a1 30 91 6e 8a 06 a7 9a 35 |n..0....0.n....5| +00000030 d8 8a b2 72 36 64 51 4e 67 d0 8f c5 42 56 41 08 |...r6dQNg...BVA.| +00000040 e8 9c e5 a5 93 3c 32 0c 90 cf a6 33 06 b8 75 d9 |.....<2....3..u.| +00000050 e8 70 1f ea 1a a2 81 38 84 42 e2 12 03 56 64 3f |.p.....8.B...Vd?| +00000060 d8 2f a8 f9 13 41 51 23 4f bc 03 87 5d 3b f8 28 |./...AQ#O...];.(| +00000070 46 3e 6a 4f 38 9e cb eb 7b 47 69 95 fa 35 27 45 |F>jO8...{Gi..5'E| +00000080 9f 99 0a 9b fc c3 91 60 07 40 06 f6 43 e5 3b e8 |.......`.@..C.;.| +00000090 1a 26 48 0c 3a 40 d2 18 a3 72 d6 0a c6 6a 95 57 |.&H.:@...r...j.W| +000000a0 34 0c 2e 5e 2d 94 74 8d 7d 13 7a 68 a9 bf ca 10 |4..^-.t.}.zh....| +000000b0 2e 0c e6 b4 50 dc 4f 1f 8a 7d 03 47 98 56 0c 14 |....P.O..}.G.V..| +000000c0 03 03 00 01 01 16 03 03 00 40 7b 72 80 e2 55 e4 |.........@{r..U.| +000000d0 57 cb 76 fe af b7 5f ce dc 02 68 ae cc 22 74 e4 |W.v..._...h.."t.| +000000e0 c9 72 3a 96 a1 db 81 a6 84 84 ca 91 37 96 6e e1 |.r:.........7.n.| +000000f0 93 2d ce 09 00 8f c1 e1 11 10 a4 ba 58 3a c7 4d |.-..........X:.M| +00000100 36 1b 27 df ea b8 14 b7 22 fb |6.'.....".| >>> 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 36 b1 1c ce 03 e0 be 6d b5 73 a1 |.....6......m.s.| -00000020 98 02 21 61 af 54 ee e7 1b b2 89 b4 df 73 b0 95 |..!a.T.......s..| -00000030 0b d4 fd c2 f6 15 03 03 00 30 00 00 00 00 00 00 |.........0......| -00000040 00 00 00 00 00 00 00 00 00 00 83 6e e2 f7 2f f6 |...........n../.| -00000050 7f 29 04 e6 2a 45 b1 8c 9e f2 10 7e a6 ef cf fe |.)..*E.....~....| -00000060 48 a6 3e a2 9f ad 4e 14 dc c4 |H.>...N...| +00000010 00 00 00 00 00 ab cc 42 57 20 66 45 1c 3e f3 75 |.......BW fE.>.u| +00000020 10 5f 79 8c 88 cc e6 9b 59 3b e7 f1 12 53 52 ed |._y.....Y;...SR.| +00000030 c1 29 e6 7a 59 15 03 03 00 30 00 00 00 00 00 00 |.).zY....0......| +00000040 00 00 00 00 00 00 00 00 00 00 05 52 52 7c 08 69 |...........RR|.i| +00000050 fd 6d c9 1c 37 7f 0f e9 0e 6a aa 2f c4 99 b2 61 |.m..7....j./...a| +00000060 97 c1 a7 93 fd e5 0c 8a 9d aa |..........| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Firefox-55 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Firefox-55 index 4654c6a..c35f112 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Firefox-55 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Firefox-55 @@ -12,9 +12,9 @@ 000000a0 03 08 04 08 05 08 06 04 01 05 01 06 01 02 03 02 |................| 000000b0 01 |.| >>> Flow 2 (server to client) -00000000 16 03 03 00 41 02 00 00 3d 03 03 81 6b d5 d0 1a |....A...=...k...| -00000010 cf 19 f9 cd b0 27 e6 f9 40 46 64 ae 5a 35 24 81 |.....'..@Fd.Z5$.| -00000020 90 d6 ca 25 b9 7c ac 81 42 62 c0 00 c0 13 00 00 |...%.|..Bb......| +00000000 16 03 03 00 41 02 00 00 3d 03 03 0a e2 9d 33 16 |....A...=.....3.| +00000010 12 6f 52 62 08 2a 57 33 20 4b 18 a0 40 02 c5 ec |.oRb.*W3 K..@...| +00000020 f2 c2 e6 60 97 c8 f0 52 9b 16 9f 00 c0 13 00 00 |...`...R........| 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 59 0b 00 02 55 00 |..........Y...U.| 00000050 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 |.R..O0..K0......| @@ -55,49 +55,49 @@ 00000280 40 83 61 c9 4c 72 2b 9d ae db 46 06 06 4d f4 c1 |@.a.Lr+...F..M..| 00000290 b3 3e c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 |.>...B...=.`.\!.| 000002a0 3b e9 fa e7 16 03 03 00 ac 0c 00 00 a8 03 00 1d |;...............| -000002b0 20 4f 67 31 9f 16 db 61 21 a1 af 75 85 7c 21 0f | Og1...a!..u.|!.| -000002c0 b0 c0 bc e5 ea 2e 13 d3 47 70 4e 59 34 b4 13 93 |........GpNY4...| -000002d0 55 04 01 00 80 89 8d 96 bb b9 db 9d d5 21 e8 4f |U............!.O| -000002e0 14 c0 00 77 d9 bf b2 58 36 0f be fe 46 32 b1 65 |...w...X6...F2.e| -000002f0 fe fd ac 42 b9 04 cc 03 76 3d 2e 4d 93 a7 9b 14 |...B....v=.M....| -00000300 0b 47 51 83 f6 f4 c9 6d c3 03 dd 08 0e c7 a6 d2 |.GQ....m........| -00000310 79 64 ed a4 8d 54 67 ae eb fe df d0 15 f9 46 04 |yd...Tg.......F.| -00000320 ad ad 67 9d d0 3c a4 11 7c bf 01 7d 2a 01 43 c1 |..g..<..|..}*.C.| -00000330 0b 2f d4 4d 29 55 98 43 3c 99 91 48 6f 7f 24 6d |./.M)U.C<..Ho.$m| -00000340 72 f0 20 0a 02 69 1f b4 0a 42 8b 8e 76 8a b0 b5 |r. ..i...B..v...| -00000350 49 e9 41 e4 cc 16 03 03 00 04 0e 00 00 00 |I.A...........| +000002b0 20 fc ba b2 0c 87 6f 04 48 b9 04 c0 8e 50 18 21 | .....o.H....P.!| +000002c0 69 a1 b3 d5 e7 bd 42 39 31 24 15 54 eb 43 e4 da |i.....B91$.T.C..| +000002d0 6b 04 01 00 80 37 2f fb ee 6d ef 02 99 e1 22 76 |k....7/..m...."v| +000002e0 f8 33 77 0a bb fd 56 df d8 21 33 d8 82 ff 92 c3 |.3w...V..!3.....| +000002f0 59 a8 a8 bc 56 1d 2a af 33 50 b1 16 d7 ab e5 73 |Y...V.*.3P.....s| +00000300 49 62 cf 5a d0 15 48 16 e4 eb b7 5b b5 1f 9f 4a |Ib.Z..H....[...J| +00000310 c9 ae 7e c1 8a 6e 3a be c8 61 7a 20 52 fd 22 a3 |..~..n:..az R.".| +00000320 54 65 ba cc e8 3e 6b ea 91 aa 1b d9 d5 7a 87 1c |Te...>k......z..| +00000330 50 fc f0 bd a6 c0 65 00 e6 e8 00 0f c7 e9 46 1b |P.....e.......F.| +00000340 8d 32 37 c6 0e ea e7 bf 10 9e 15 ad c5 e3 a5 28 |.27............(| +00000350 b5 ce 31 95 b4 16 03 03 00 04 0e 00 00 00 |..1...........| >>> 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 8c 2d 55 14 4d af 79 57 67 96 8b |......-U.M.yWg..| -00000050 82 96 36 dc 0c e0 8d 4b af d6 cd 1e f4 a4 62 34 |..6....K......b4| -00000060 2c 3b 01 b1 58 62 50 0e 23 00 cb 80 f1 53 b7 ed |,;..XbP.#....S..| -00000070 2b 86 f7 f6 0a |+....| +00000040 00 00 00 00 00 85 e7 1f 78 13 d9 9d 57 45 26 aa |........x...WE&.| +00000050 a5 31 03 5b 1b 67 73 87 08 ba 4e 3f 23 b4 1a 96 |.1.[.gs...N?#...| +00000060 79 e4 fa c2 87 bd 2e 6d 01 36 2a 14 75 53 3f f9 |y......m.6*.uS?.| +00000070 24 c2 0d ca 9a |$....| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 e5 |............ ...| -00000010 93 55 a9 e2 f6 99 8f 2b fc 32 ea 50 de 67 69 a4 |.U.....+.2.P.gi.| -00000020 98 99 54 9a c3 2f 21 d8 97 49 83 68 10 e7 c7 34 |..T../!..I.h...4| -00000030 46 77 64 0e 91 8f d6 d9 70 45 ec da 82 5c 62 74 |Fwd.....pE...\bt| -00000040 3d 86 68 c9 80 5e 71 63 09 a0 04 f9 ad 4c 1e 00 |=.h..^qc.....L..| -00000050 e7 e0 44 84 f6 d7 88 21 c3 0e 0e 61 c7 6b e0 8e |..D....!...a.k..| -00000060 a2 a0 78 e0 24 2d 9d 88 1f f3 99 ee 6f b8 7a c7 |..x.$-......o.z.| -00000070 be 57 d6 cd 20 94 17 77 fd f2 c2 e9 1d 06 9b 9d |.W.. ..w........| -00000080 e3 d4 53 10 a9 59 97 b4 d0 5e 14 e3 5f 5d d5 4a |..S..Y...^.._].J| -00000090 55 d1 3e 91 f4 38 46 c2 e8 c1 38 94 eb 9a f3 07 |U.>..8F...8.....| -000000a0 c0 c7 e5 a7 90 f7 d7 9a f3 15 85 0a 03 42 da b5 |.............B..| -000000b0 57 22 40 35 c9 3e b4 e2 2a 97 b4 21 fb fb b2 14 |W"@5.>..*..!....| -000000c0 03 03 00 01 01 16 03 03 00 40 d5 ff 7f e8 8f fc |.........@......| -000000d0 2d a5 01 1d 91 a6 05 96 31 c3 98 27 57 37 93 01 |-.......1..'W7..| -000000e0 b8 f7 a2 61 52 1d 16 91 13 de 70 4b 36 52 d5 f0 |...aR.....pK6R..| -000000f0 8b d1 9d 8b d9 9e 3c 6c b7 2d a2 46 d1 07 05 49 |......>> 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 1e 44 9e 0d 8b 92 86 d5 51 68 06 |......D......Qh.| -00000020 3f 85 96 c6 ad 3a 54 99 ac 1f 61 26 74 dc 0c 32 |?....:T...a&t..2| -00000030 ef 66 97 26 4c 15 03 03 00 30 00 00 00 00 00 00 |.f.&L....0......| -00000040 00 00 00 00 00 00 00 00 00 00 07 77 94 fc 13 86 |...........w....| -00000050 a3 2f 2c 01 f2 fc 14 0d d6 6d 13 e3 13 52 ba 79 |./,......m...R.y| -00000060 ac 87 92 87 64 33 76 25 fa 6e |....d3v%.n| +00000010 00 00 00 00 00 da 29 90 ed e8 28 69 59 48 63 1a |......)...(iYHc.| +00000020 2c e7 0b 38 37 cb 2d 03 fd 5f 3f 72 2f 58 15 4f |,..87.-.._?r/X.O| +00000030 67 0d ba 1d 18 15 03 03 00 30 00 00 00 00 00 00 |g........0......| +00000040 00 00 00 00 00 00 00 00 00 00 1c d3 4e 32 74 4f |............N2tO| +00000050 63 6c 72 11 a1 41 34 e1 cb 46 af ff cd bd 54 5e |clr..A4..F....T^| +00000060 ea 68 83 02 64 99 75 1a 8c 98 |.h..d.u...| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Golang-0 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Golang-0 new file mode 100644 index 0000000..2ab9eea --- /dev/null +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Golang-0 @@ -0,0 +1,91 @@ +>>> Flow 1 (client to server) +00000000 16 03 01 00 91 01 00 00 8d 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 00 00 2c cc a8 |.............,..| +00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| +00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| +00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| +00000090 01 00 00 12 00 00 |......| +>>> Flow 2 (server to client) +00000000 16 03 03 00 59 02 00 00 55 03 03 a6 d6 82 c4 e3 |....Y...U.......| +00000010 ca ab 1f 36 db 41 e6 4d ed 49 63 05 35 f2 63 ee |...6.A.M.Ic.5.c.| +00000020 8d 08 de fd 86 0d cb 16 0a 2d 52 20 2d 86 c9 89 |.........-R -...| +00000030 83 e3 1f b2 f3 33 42 db 52 35 bc 97 32 d8 38 78 |.....3B.R5..2.8x| +00000040 5b c6 b8 d7 f3 91 21 d4 4d cb a7 4f c0 13 00 00 |[.....!.M..O....| +00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| +00000060 03 02 59 0b 00 02 55 00 02 52 00 02 4f 30 82 02 |..Y...U..R..O0..| +00000070 4b 30 82 01 b4 a0 03 02 01 02 02 09 00 e8 f0 9d |K0..............| +00000080 3f e2 5b ea a6 30 0d 06 09 2a 86 48 86 f7 0d 01 |?.[..0...*.H....| +00000090 01 0b 05 00 30 1f 31 0b 30 09 06 03 55 04 0a 13 |....0.1.0...U...| +000000a0 02 47 6f 31 10 30 0e 06 03 55 04 03 13 07 47 6f |.Go1.0...U....Go| +000000b0 20 52 6f 6f 74 30 1e 17 0d 31 36 30 31 30 31 30 | Root0...1601010| +000000c0 30 30 30 30 30 5a 17 0d 32 35 30 31 30 31 30 30 |00000Z..25010100| +000000d0 30 30 30 30 5a 30 1a 31 0b 30 09 06 03 55 04 0a |0000Z0.1.0...U..| +000000e0 13 02 47 6f 31 0b 30 09 06 03 55 04 03 13 02 47 |..Go1.0...U....G| +000000f0 6f 30 81 9f 30 0d 06 09 2a 86 48 86 f7 0d 01 01 |o0..0...*.H.....| +00000100 01 05 00 03 81 8d 00 30 81 89 02 81 81 00 db 46 |.......0.......F| +00000110 7d 93 2e 12 27 06 48 bc 06 28 21 ab 7e c4 b6 a2 |}...'.H..(!.~...| +00000120 5d fe 1e 52 45 88 7a 36 47 a5 08 0d 92 42 5b c2 |]..RE.z6G....B[.| +00000130 81 c0 be 97 79 98 40 fb 4f 6d 14 fd 2b 13 8b c2 |....y.@.Om..+...| +00000140 a5 2e 67 d8 d4 09 9e d6 22 38 b7 4a 0b 74 73 2b |..g....."8.J.ts+| +00000150 c2 34 f1 d1 93 e5 96 d9 74 7b f3 58 9f 6c 61 3c |.4......t{.X.la<| +00000160 c0 b0 41 d4 d9 2b 2b 24 23 77 5b 1c 3b bd 75 5d |..A..++$#w[.;.u]| +00000170 ce 20 54 cf a1 63 87 1d 1e 24 c4 f3 1d 1a 50 8b |. T..c...$....P.| +00000180 aa b6 14 43 ed 97 a7 75 62 f4 14 c8 52 d7 02 03 |...C...ub...R...| +00000190 01 00 01 a3 81 93 30 81 90 30 0e 06 03 55 1d 0f |......0..0...U..| +000001a0 01 01 ff 04 04 03 02 05 a0 30 1d 06 03 55 1d 25 |.........0...U.%| +000001b0 04 16 30 14 06 08 2b 06 01 05 05 07 03 01 06 08 |..0...+.........| +000001c0 2b 06 01 05 05 07 03 02 30 0c 06 03 55 1d 13 01 |+.......0...U...| +000001d0 01 ff 04 02 30 00 30 19 06 03 55 1d 0e 04 12 04 |....0.0...U.....| +000001e0 10 9f 91 16 1f 43 43 3e 49 a6 de 6d b6 80 d7 9f |.....CC>I..m....| +000001f0 60 30 1b 06 03 55 1d 23 04 14 30 12 80 10 48 13 |`0...U.#..0...H.| +00000200 49 4d 13 7e 16 31 bb a3 01 d5 ac ab 6e 7b 30 19 |IM.~.1......n{0.| +00000210 06 03 55 1d 11 04 12 30 10 82 0e 65 78 61 6d 70 |..U....0...examp| +00000220 6c 65 2e 67 6f 6c 61 6e 67 30 0d 06 09 2a 86 48 |le.golang0...*.H| +00000230 86 f7 0d 01 01 0b 05 00 03 81 81 00 9d 30 cc 40 |.............0.@| +00000240 2b 5b 50 a0 61 cb ba e5 53 58 e1 ed 83 28 a9 58 |+[P.a...SX...(.X| +00000250 1a a9 38 a4 95 a1 ac 31 5a 1a 84 66 3d 43 d3 2d |..8....1Z..f=C.-| +00000260 d9 0b f2 97 df d3 20 64 38 92 24 3a 00 bc cf 9c |...... d8.$:....| +00000270 7d b7 40 20 01 5f aa d3 16 61 09 a2 76 fd 13 c3 |}.@ ._...a..v...| +00000280 cc e1 0c 5c ee b1 87 82 f1 6c 04 ed 73 bb b3 43 |...\.....l..s..C| +00000290 77 8d 0c 1c f1 0f a1 d8 40 83 61 c9 4c 72 2b 9d |w.......@.a.Lr+.| +000002a0 ae db 46 06 06 4d f4 c1 b3 3e c0 d1 bd 42 d4 db |..F..M...>...B..| +000002b0 fe 3d 13 60 84 5c 21 d3 3b e9 fa e7 16 03 03 00 |.=.`.\!.;.......| +000002c0 ac 0c 00 00 a8 03 00 1d 20 01 c2 bd 0e ed 60 cf |........ .....`.| +000002d0 be 62 74 fe a4 97 c6 0a 0a f3 ee 6c f8 06 34 aa |.bt........l..4.| +000002e0 94 96 03 3c 51 1a 19 9a 4e 04 01 00 80 9c fe 0f |....| +00000350 f1 d0 85 46 75 8d d9 4f 57 68 02 37 a4 e8 0f 9f |...Fu..OWh.7....| +00000360 6e 11 bf 70 25 8a ef 95 24 4b 07 89 08 16 03 03 |n..p%...$K......| +00000370 00 04 0e 00 00 00 |......| +>>> 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 b2 ff ff 85 2e be 60 40 04 3d 07 |...........`@.=.| +00000050 62 1d 10 b1 0d 15 1f 73 e5 da 39 ae 57 90 2f bf |b......s..9.W./.| +00000060 19 55 70 1f 60 c9 f2 36 1e ba a4 b3 4f 48 74 9b |.Up.`..6....OHt.| +00000070 92 b9 6e c8 ca |..n..| +>>> Flow 4 (server to client) +00000000 14 03 03 00 01 01 16 03 03 00 40 e5 8e 60 1a ee |..........@..`..| +00000010 ad 63 0f 54 f4 c5 e6 bf 95 bf 54 77 6a 16 62 e9 |.c.T......Twj.b.| +00000020 28 5f bc 1e 42 8d 0f a9 7c 87 63 07 ef bb 7b 5c |(_..B...|.c...{\| +00000030 78 06 aa c2 ea 34 1b 26 e8 9b 14 70 61 cc e6 49 |x....4.&...pa..I| +00000040 5f fa e9 59 fd e4 cf b6 6d 6f 6e |_..Y....mon| +>>> 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 b2 94 30 24 25 e6 11 31 7e 5a 63 |.......0$%..1~Zc| +00000020 8b eb c3 e6 0b bf 9c f6 90 72 95 e5 fa 8e 7d 9b |.........r....}.| +00000030 e9 9d b3 48 e7 15 03 03 00 30 00 00 00 00 00 00 |...H.....0......| +00000040 00 00 00 00 00 00 00 00 00 00 bb 38 f9 08 78 87 |...........8..x.| +00000050 9a 39 e1 46 e2 17 48 68 fa 8d a7 35 af 18 7d 6e |.9.F..Hh...5..}n| +00000060 b7 7e 27 88 a4 a7 74 8d c9 6a |.~'...t..j| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Android-22 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Android-22 index 3618b93..ca87e90 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Android-22 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Android-22 @@ -13,9 +13,9 @@ 000000b0 33 2e 31 00 0b 00 02 01 00 00 0a 00 08 00 06 00 |3.1.............| 000000c0 17 00 18 00 19 |.....| >>> Flow 2 (server to client) -00000000 16 03 03 00 3d 02 00 00 39 03 03 e6 18 31 e3 a1 |....=...9....1..| -00000010 16 af 1d 13 26 99 46 29 5d 60 9f 08 ef ab 6c fd |....&.F)]`....l.| -00000020 b5 0b e3 2a 6e b8 16 47 cb ae 30 00 c0 14 00 00 |...*n..G..0.....| +00000000 16 03 03 00 3d 02 00 00 39 03 03 95 b1 5e e0 7f |....=...9....^..| +00000010 60 0f dd 13 17 ea 44 00 f1 fe 48 f6 82 80 98 fe |`.....D...H.....| +00000020 89 09 88 2a 46 86 f0 41 ca 5e 48 00 c0 14 00 00 |...*F..A.^H.....| 00000030 11 ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 23 |...............#| 00000040 00 00 16 03 03 02 59 0b 00 02 55 00 02 52 00 02 |......Y...U..R..| 00000050 4f 30 82 02 4b 30 82 01 b4 a0 03 02 01 02 02 09 |O0..K0..........| @@ -55,20 +55,20 @@ 00000270 73 bb b3 43 77 8d 0c 1c f1 0f a1 d8 40 83 61 c9 |s..Cw.......@.a.| 00000280 4c 72 2b 9d ae db 46 06 06 4d f4 c1 b3 3e c0 d1 |Lr+...F..M...>..| 00000290 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 3b e9 fa e7 |.B...=.`.\!.;...| -000002a0 16 03 03 00 cd 0c 00 00 c9 03 00 17 41 04 ae d7 |............A...| -000002b0 b1 90 e6 6b dd cb 12 94 ff b9 55 43 87 c2 d9 ed |...k......UC....| -000002c0 31 85 49 00 47 f2 10 36 b3 0b e0 8b 4d d3 ac 1a |1.I.G..6....M...| -000002d0 a5 27 92 2c 7f ae da 2c 84 ce f6 0d 38 4e 3d 58 |.'.,...,....8N=X| -000002e0 ce c7 12 ed 96 f0 9e d3 99 87 f9 eb b0 98 06 01 |................| -000002f0 00 80 03 5b 61 f3 6b 8a cd 84 66 01 06 68 0f 79 |...[a.k...f..h.y| -00000300 8a 18 78 90 bc 20 78 c1 ed 10 82 9a ed 53 e6 09 |..x.. x......S..| -00000310 6b fb 26 1b 89 1b 14 68 28 19 a3 ec 68 1b a0 82 |k.&....h(...h...| -00000320 0d cf a2 c2 4c 5c c2 c8 24 77 4b 01 0c 4a ae be |....L\..$wK..J..| -00000330 95 49 de fe 24 9d 2f 23 e2 a4 c0 f6 7b 19 3b 1f |.I..$./#....{.;.| -00000340 c3 d0 e2 e2 02 d7 95 25 b2 56 ad f2 39 27 ed 8e |.......%.V..9'..| -00000350 7c cf a5 7e 6f 07 2c 98 2d a1 c6 29 cc 0f 4b 47 ||..~o.,.-..)..KG| -00000360 3b 85 7d 10 d0 3b 86 a2 9d b2 1c b5 10 30 5f f2 |;.}..;.......0_.| -00000370 7f ac 16 03 03 00 04 0e 00 00 00 |...........| +000002a0 16 03 03 00 cd 0c 00 00 c9 03 00 17 41 04 e4 5d |............A..]| +000002b0 80 36 5a ec b0 f6 2a 67 8d 6c e0 4d e6 62 32 29 |.6Z...*g.l.M.b2)| +000002c0 94 49 54 a6 f6 e3 28 52 91 54 97 b5 b7 f2 c2 a1 |.IT...(R.T......| +000002d0 f4 f1 1a 42 ed cb 20 52 3e 50 de c9 2e 39 c1 08 |...B.. R>P...9..| +000002e0 cd 48 e0 4a 6a 2c 04 af 1e 50 64 70 6b 6d 06 01 |.H.Jj,...Pdpkm..| +000002f0 00 80 17 55 95 86 9c 7f e3 94 16 b7 07 35 f2 44 |...U.........5.D| +00000300 f0 b9 06 a7 cf 36 6d e0 9c 5a bc c4 1a ab 15 cc |.....6m..Z......| +00000310 2b 70 e8 76 6d f7 9a 7c 8a 56 63 38 c9 12 e5 73 |+p.vm..|.Vc8...s| +00000320 e6 36 46 ba 24 6e e1 2f 26 13 0f 59 32 60 81 3d |.6F.$n./&..Y2`.=| +00000330 52 7b 8f ca 47 0b 25 34 5c 98 93 fa 57 c8 fe 53 |R{..G.%4\...W..S| +00000340 d7 0d d6 61 fe 1b 75 b4 c6 ee 5f 86 5b 5b 5d 6b |...a..u..._.[[]k| +00000350 ff 8c 0f 83 34 e1 17 91 9e 47 a3 dd 74 ea 0e fe |....4....G..t...| +00000360 e2 5d c9 33 70 cf 9f 0e cc c0 f0 34 ae d9 1c d0 |.].3p......4....| +00000370 e2 b0 16 03 03 00 04 0e 00 00 00 |...........| >>> Flow 3 (client to server) 00000000 16 03 03 00 46 10 00 00 42 41 04 1e 18 37 ef 0d |....F...BA...7..| 00000010 19 51 88 35 75 71 b5 e5 54 5b 12 2e 8f 09 67 fd |.Q.5uq..T[....g.| @@ -76,32 +76,32 @@ 00000030 f1 07 9f 6c 4b 5b 83 56 e2 32 42 e9 58 b6 d7 49 |...lK[.V.2B.X..I| 00000040 a6 b5 68 1a 41 03 56 6b dc 5a 89 14 03 03 00 01 |..h.A.Vk.Z......| 00000050 01 16 03 03 00 40 00 00 00 00 00 00 00 00 00 00 |.....@..........| -00000060 00 00 00 00 00 00 d4 2b a4 92 74 db fc db 99 3e |.......+..t....>| -00000070 3e 4d b7 9e ea a8 64 21 c6 53 7d 8c b1 fb 29 0a |>M....d!.S}...).| -00000080 b5 d2 ad a4 d0 e1 34 ed e4 3e ee 97 dc c9 94 8c |......4..>......| -00000090 7d 48 fb e1 2e 6c |}H...l| +00000060 00 00 00 00 00 00 a4 f8 17 84 eb 55 af 77 68 19 |...........U.wh.| +00000070 22 1f f8 c6 10 2a 65 93 ae d9 9a 2d ef 6e ac d0 |"....*e....-.n..| +00000080 20 50 da 33 f7 88 ef 8c 27 65 a8 db 53 92 bb 25 | P.3....'e..S..%| +00000090 e2 06 97 e8 f8 f0 |......| >>> Flow 4 (server to client) -00000000 16 03 03 00 aa 04 00 00 a6 00 00 1c 20 00 a0 c3 |............ ...| -00000010 c2 19 75 6e 5d 4e 08 8d 89 4d 5f d0 20 e7 94 63 |..un]N...M_. ..c| -00000020 0a 16 e3 ad bf aa 94 4f b9 80 82 9d ea eb bf 47 |.......O.......G| -00000030 d2 a4 2a 14 84 5b 1c ca 68 06 3d c0 64 b5 bf 8a |..*..[..h.=.d...| -00000040 36 3e a6 20 e1 30 0b 61 80 b4 da a0 47 0b 88 d4 |6>. .0.a....G...| -00000050 35 d8 96 49 fc 75 58 d2 0d a6 e3 8f e5 96 4e b4 |5..I.uX.......N.| -00000060 00 77 51 ed 58 73 bd a1 11 5f a7 a9 7d 83 38 45 |.wQ.Xs..._..}.8E| -00000070 f3 fa 94 39 9d 48 fe 0c 5e e8 fb db 23 1a 1c f9 |...9.H..^...#...| -00000080 8c f0 5f e2 4d 14 24 22 e0 83 1f a1 24 6f 7e 95 |.._.M.$"....$o~.| -00000090 ab 2d 72 54 55 b0 88 f0 a6 bc 4a ea ea d7 8c cd |.-rTU.....J.....| -000000a0 71 ec 75 bb ba 11 87 ce f0 0f 7d 91 0a 2a 5d 14 |q.u.......}..*].| -000000b0 03 03 00 01 01 16 03 03 00 40 2c 99 ad d2 49 73 |.........@,...Is| -000000c0 b0 ab 5c 39 0f 86 88 ac fa 3b 86 2b e8 89 52 55 |..\9.....;.+..RU| -000000d0 da 6b 47 32 ba da ad 2a fe 25 16 9b 78 a9 69 d2 |.kG2...*.%..x.i.| -000000e0 32 6e 5e 50 2b b3 db 1e 2d 13 df 3d c5 bb e2 96 |2n^P+...-..=....| -000000f0 4a f0 3f ea 69 e7 4d 9a 92 2b |J.?.i.M..+| +00000000 16 03 03 00 aa 04 00 00 a6 00 00 1c 20 00 a0 8e |............ ...| +00000010 8d 4b 10 c4 45 09 63 bb f8 9d 67 fc dd db 83 cc |.K..E.c...g.....| +00000020 d1 79 63 14 2a bc 9f fc ea 5b c4 ae ef ba 7b 0d |.yc.*....[....{.| +00000030 be 5f b9 ca 21 e8 a5 ab 80 ec ac be 2e 11 81 cb |._..!...........| +00000040 df 67 0a ab 51 14 5d cd f1 6b 10 8b 8f 09 92 da |.g..Q.]..k......| +00000050 b0 37 45 43 fe ab fe 0f d9 57 8f be 2d f4 e7 13 |.7EC.....W..-...| +00000060 41 57 a3 df 93 78 3d 0e 16 86 c7 c0 f9 c8 ef 56 |AW...x=........V| +00000070 87 1c 2b ad dd 86 d3 c6 82 86 ce 52 59 f0 32 c7 |..+........RY.2.| +00000080 e8 3c 70 8b 49 f2 41 3b 94 f8 68 43 e0 99 04 4b |.>> 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 e5 e6 84 f8 80 93 eb f8 bd a7 7a |...............z| -00000020 f4 54 16 c4 b1 7d 0a 65 4e 74 a3 8a e6 25 98 c9 |.T...}.eNt...%..| -00000030 ac cc 23 c6 7b 15 03 03 00 30 00 00 00 00 00 00 |..#.{....0......| -00000040 00 00 00 00 00 00 00 00 00 00 73 02 09 e9 52 e7 |..........s...R.| -00000050 0b 9a b0 78 19 91 e3 0e fd 7d 5d df d2 1e 52 8a |...x.....}]...R.| -00000060 e6 ef 4e c8 46 65 5f bf 40 49 |..N.Fe_.@I| +00000010 00 00 00 00 00 3c 27 52 27 97 5e e0 77 1f 5e 5c |.....<'R'.^.w.^\| +00000020 a1 a5 cd 32 b6 41 7d 41 3a 71 67 c6 ed 45 32 0e |...2.A}A:qg..E2.| +00000030 b5 42 f7 72 45 15 03 03 00 30 00 00 00 00 00 00 |.B.rE....0......| +00000040 00 00 00 00 00 00 00 00 00 00 26 9d ae 52 ad 0c |..........&..R..| +00000050 e3 03 c2 56 b1 96 68 1f 72 bc 6c 0f 9d 7a b8 87 |...V..h.r.l..z..| +00000060 cb bf 84 ff 3e 94 42 5a bf 7d |....>.BZ.}| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Android-23 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Android-23 index 112cea3..6f3d5c3 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Android-23 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Android-23 @@ -12,9 +12,9 @@ 000000a0 73 70 64 79 2f 38 2e 31 00 0b 00 02 01 00 00 0a |spdy/8.1........| 000000b0 00 06 00 04 00 17 00 18 |........| >>> Flow 2 (server to client) -00000000 16 03 03 00 41 02 00 00 3d 03 03 22 69 6a 21 ae |....A...=.."ij!.| -00000010 27 cf ae 18 ef 8a 92 52 e9 f9 02 51 5a 0f a5 47 |'......R...QZ..G| -00000020 14 c5 e9 8c 0e 49 3f a4 7b b2 6c 00 c0 14 00 00 |.....I?.{.l.....| +00000000 16 03 03 00 41 02 00 00 3d 03 03 eb 97 40 d0 b5 |....A...=....@..| +00000010 40 3a 48 8d c2 2c da 94 eb 40 26 52 92 26 f6 f1 |@:H..,...@&R.&..| +00000020 9b 6b f8 c6 62 39 fb 3b d9 78 01 00 c0 14 00 00 |.k..b9.;.x......| 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 59 0b 00 02 55 00 |..........Y...U.| 00000050 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 |.R..O0..K0......| @@ -55,19 +55,19 @@ 00000280 40 83 61 c9 4c 72 2b 9d ae db 46 06 06 4d f4 c1 |@.a.Lr+...F..M..| 00000290 b3 3e c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 |.>...B...=.`.\!.| 000002a0 3b e9 fa e7 16 03 03 00 cd 0c 00 00 c9 03 00 17 |;...............| -000002b0 41 04 e4 8e 22 13 69 12 72 7a 72 59 3a 8a ed f5 |A...".i.rzrY:...| -000002c0 e0 6d 7d 6a af d7 6a a2 c0 aa 05 c4 94 f0 eb 0d |.m}j..j.........| -000002d0 ec b8 95 4a 35 a8 18 ee fc 90 23 1e c7 b6 9f 0c |...J5.....#.....| -000002e0 5c c4 30 c6 1f 6e 15 c1 a1 d7 d2 57 09 de 01 d1 |\.0..n.....W....| -000002f0 c5 d1 06 01 00 80 14 b5 73 f3 72 fc 32 5f fb 3f |........s.r.2_.?| -00000300 ec 59 82 d3 bf 7f ce 91 c0 93 73 22 5d 02 4f 73 |.Y........s"].Os| -00000310 cc f7 1b 2d 18 1d 8b 31 bf f0 43 61 c8 48 ad 92 |...-...1..Ca.H..| -00000320 ab 1e d3 f5 c7 ad 0a 8c 93 a5 22 e7 70 8a 79 53 |..........".p.yS| -00000330 bb 9c f4 b4 48 b0 dc d5 07 42 30 b7 1a 2e 61 b3 |....H....B0...a.| -00000340 57 2d 3a e6 ff 4e d9 aa 55 62 08 60 a3 b8 db 74 |W-:..N..Ub.`...t| -00000350 21 ef ba e7 26 5a 2e f5 44 aa ef b3 3d 4c b2 6b |!...&Z..D...=L.k| -00000360 92 53 f3 be 0a 63 be f0 49 6f 66 30 c9 68 83 00 |.S...c..Iof0.h..| -00000370 9e 3c 1f a5 04 a7 16 03 03 00 04 0e 00 00 00 |.<.............| +000002b0 41 04 fd 56 3e 4b 17 98 a5 da 35 50 13 f8 8e 47 |A..V>K....5P...G| +000002c0 db 05 2f 82 71 b1 64 f1 68 16 87 ce 93 95 8c 0f |../.q.d.h.......| +000002d0 04 c6 47 e9 16 4b ab 3c bb fb 4c 01 cf 7f d5 73 |..G..K.<..L....s| +000002e0 64 86 75 a7 0c a8 aa e7 ca 33 fd 85 4c 4f bd 10 |d.u......3..LO..| +000002f0 32 6e 06 01 00 80 a9 3d 3e bc 5a d4 79 17 84 f0 |2n.....=>.Z.y...| +00000300 df f0 7d 44 c6 30 02 98 8e f4 3d 2d 30 4b ce 60 |..}D.0....=-0K.`| +00000310 05 8e ad fb 61 61 3d 68 76 ab df 56 0f 92 86 07 |....aa=hv..V....| +00000320 7c ec f6 de 17 64 41 f0 1e 1b 6d fb 86 10 ab c1 ||....dA...m.....| +00000330 5b 47 69 e4 9b fc 4f 14 75 09 a9 07 b2 ca 03 a6 |[Gi...O.u.......| +00000340 a6 f7 c1 cc 41 86 f7 cd 44 38 a3 8e 92 cd 06 f0 |....A...D8......| +00000350 93 11 57 71 9a 74 95 88 9e a0 c9 c4 17 c1 f0 4f |..Wq.t.........O| +00000360 04 2c 37 11 42 99 02 37 07 36 f8 eb 77 65 9c 70 |.,7.B..7.6..we.p| +00000370 b4 15 26 82 2a 84 16 03 03 00 04 0e 00 00 00 |..&.*..........| >>> Flow 3 (client to server) 00000000 16 03 03 00 46 10 00 00 42 41 04 1e 18 37 ef 0d |....F...BA...7..| 00000010 19 51 88 35 75 71 b5 e5 54 5b 12 2e 8f 09 67 fd |.Q.5uq..T[....g.| @@ -75,33 +75,33 @@ 00000030 f1 07 9f 6c 4b 5b 83 56 e2 32 42 e9 58 b6 d7 49 |...lK[.V.2B.X..I| 00000040 a6 b5 68 1a 41 03 56 6b dc 5a 89 14 03 03 00 01 |..h.A.Vk.Z......| 00000050 01 16 03 03 00 40 00 00 00 00 00 00 00 00 00 00 |.....@..........| -00000060 00 00 00 00 00 00 97 95 39 4b a8 b9 1f 85 f1 b2 |........9K......| -00000070 2e 90 77 f5 fb 52 a0 85 ed 6b c7 f4 32 67 e1 b6 |..w..R...k..2g..| -00000080 de 2d b6 4f 5e 09 0c 68 af f2 db c3 1e 32 54 75 |.-.O^..h.....2Tu| -00000090 23 54 2c 42 cf 14 |#T,B..| +00000060 00 00 00 00 00 00 f4 9b 8f 55 8d 3a fe 06 fd ee |.........U.:....| +00000070 13 ab 8c 5c a5 62 1a 9f 85 bf 33 4f c6 ea ff 19 |...\.b....3O....| +00000080 da 60 92 82 ea e8 02 dd 1f b5 ec 3e e1 0a d6 15 |.`.........>....| +00000090 f6 8e 82 14 a2 14 |......| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 71 |............ ..q| -00000010 15 7a 45 ef c3 19 64 16 d7 6e 88 e0 ee 76 96 2a |.zE...d..n...v.*| -00000020 2c a3 5b ab ff 43 21 15 4e 8f 00 f4 21 98 92 90 |,.[..C!.N...!...| -00000030 66 28 9f 05 84 d7 45 b5 8f 57 b3 e6 af e2 d2 99 |f(....E..W......| -00000040 a6 1f 3b 24 11 92 22 ce 33 9e 92 41 f0 9b cd d6 |..;$..".3..A....| -00000050 ec 43 17 c1 79 82 f3 49 08 8a a4 9c ff e3 5e 14 |.C..y..I......^.| -00000060 f5 4f e9 71 03 b6 82 12 91 69 b4 45 f8 42 63 ae |.O.q.....i.E.Bc.| -00000070 81 aa 2d b6 90 60 bd 8f 64 bb 87 24 37 46 43 65 |..-..`..d..$7FCe| -00000080 68 c9 9d bf ee 38 81 ee 17 02 12 ef 2a 0c ec d8 |h....8......*...| -00000090 9b d8 a7 d7 ba 99 7e fa 18 9c 3f 6c 78 a8 4d 19 |......~...?lx.M.| -000000a0 8a a6 2b 47 cf 8b 49 27 15 1b 0e e2 17 ed 22 d3 |..+G..I'......".| -000000b0 48 73 34 96 b1 8f b7 d3 fb 7f 82 3e 76 d8 d1 14 |Hs4........>v...| -000000c0 03 03 00 01 01 16 03 03 00 40 25 f3 80 38 e7 44 |.........@%..8.D| -000000d0 00 4d b0 56 cf 14 25 eb 21 f3 d5 e6 00 64 3e 8d |.M.V..%.!....d>.| -000000e0 8f 29 b8 52 13 32 84 86 35 7c 8c 35 25 77 aa cc |.).R.2..5|.5%w..| -000000f0 4b 7b f2 cf 33 78 df 52 1f 9b ab 07 bc c4 0b c9 |K{..3x.R........| -00000100 cd 72 7a 9b 00 c8 39 e0 12 3a |.rz...9..:| +00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 b7 |............ ...| +00000010 22 c2 fa 68 e2 82 40 f8 98 ec ed dd 3e 84 d3 66 |"..h..@.....>..f| +00000020 9c 0a 69 61 2f f4 55 85 4a 7d 13 d4 7b ea 13 b4 |..ia/.U.J}..{...| +00000030 85 fa 2d 72 c7 88 21 b5 79 8e 69 23 93 9c f2 5e |..-r..!.y.i#...^| +00000040 4a 96 e8 89 7b 23 4a 63 cf e2 87 6a 86 9c d3 b3 |J...{#Jc...j....| +00000050 1f c8 05 a6 60 8f bd 5c 98 3c 79 9b 1c 3b 17 e2 |....`..\.._| +00000100 57 76 7d 43 d0 ec b2 a9 b9 89 |Wv}C......| >>> 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 0a 53 0d e2 d1 df 03 f5 cf f6 64 |......S........d| -00000020 ef 60 09 f6 f0 bb 21 70 a1 76 d3 96 5a 7a 49 75 |.`....!p.v..ZzIu| -00000030 ca e3 29 e9 85 15 03 03 00 30 00 00 00 00 00 00 |..)......0......| -00000040 00 00 00 00 00 00 00 00 00 00 3f 92 99 72 b7 08 |..........?..r..| -00000050 23 de d4 e4 95 82 b4 f6 0f a5 36 be 23 c4 fe 0e |#.........6.#...| -00000060 5f 35 ef ec 2a a8 f8 ca 7f 99 |_5..*.....| +00000010 00 00 00 00 00 5b 33 96 12 b2 66 61 25 fd 03 8a |.....[3...fa%...| +00000020 f7 85 cc 4a 9a 6d 9a b6 08 8d df 3e ba 08 ba 63 |...J.m.....>...c| +00000030 f6 5c ab 35 91 15 03 03 00 30 00 00 00 00 00 00 |.\.5.....0......| +00000040 00 00 00 00 00 00 00 00 00 00 1c 2d 24 61 38 65 |...........-$a8e| +00000050 dd f6 c3 fa 1c 68 7c d3 fb 4b 5d b2 e1 0d 2b d7 |.....h|..K]...+.| +00000060 dd 0a 84 c1 e7 4c 71 63 1c 0c |.....Lqc..| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Chrome-58 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Chrome-58 index e1b89ec..457ff29 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Chrome-58 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Chrome-58 @@ -12,9 +12,9 @@ 000000a0 50 00 00 00 0b 00 02 01 00 00 0a 00 0a 00 08 0a |P...............| 000000b0 0a 00 1d 00 17 00 18 1a 1a 00 01 00 |............| >>> Flow 2 (server to client) -00000000 16 03 03 00 41 02 00 00 3d 03 03 a2 6d d1 e2 af |....A...=...m...| -00000010 65 a1 22 50 1c 07 af ec 8b 9e bf ae ae 74 5d 9d |e."P.........t].| -00000020 c6 d2 34 eb 42 a3 6f 66 97 4b 46 00 c0 14 00 00 |..4.B.of.KF.....| +00000000 16 03 03 00 41 02 00 00 3d 03 03 10 40 62 de 13 |....A...=...@b..| +00000010 a0 4f 45 da d0 3f 59 78 dc 71 65 93 81 5c f8 32 |.OE..?Yx.qe..\.2| +00000020 51 42 f2 b4 c7 1b fb 24 45 8b a5 00 c0 14 00 00 |QB.....$E.......| 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 59 0b 00 02 55 00 |..........Y...U.| 00000050 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 |.R..O0..K0......| @@ -55,49 +55,49 @@ 00000280 40 83 61 c9 4c 72 2b 9d ae db 46 06 06 4d f4 c1 |@.a.Lr+...F..M..| 00000290 b3 3e c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 |.>...B...=.`.\!.| 000002a0 3b e9 fa e7 16 03 03 00 ac 0c 00 00 a8 03 00 1d |;...............| -000002b0 20 bd 43 0c 49 ac 50 a8 2d b2 87 c7 be c8 29 ac | .C.I.P.-.....).| -000002c0 ce 26 49 fe 27 c2 c3 67 66 51 eb eb 8d 60 ac b1 |.&I.'..gfQ...`..| -000002d0 56 04 01 00 80 c3 86 64 bd ac ec d4 61 0b e3 35 |V......d....a..5| -000002e0 4e 4f f8 ec 69 36 93 bf 36 11 39 a5 74 4f a4 56 |NO..i6..6.9.tO.V| -000002f0 04 25 ea f1 99 44 f5 81 e5 21 2f 54 16 85 e1 ee |.%...D...!/T....| -00000300 db 6d 0d f4 e9 c8 bd 90 2a 48 d4 4b 31 c1 b9 83 |.m......*H.K1...| -00000310 b7 fe b0 44 2a 0e 0e 07 5a ff 5d 77 3d 08 4e e9 |...D*...Z.]w=.N.| -00000320 ad 48 42 ac 04 5e e6 9c ac b0 7a 3e 5f a6 6e 7d |.HB..^....z>_.n}| -00000330 fb e6 dd e1 43 1f 6f 6b 92 f7 d6 38 7f 5c fc 47 |....C.ok...8.\.G| -00000340 19 e6 fb e0 f6 9a 45 1b 59 5e 4f e8 46 93 bf 4f |......E.Y^O.F..O| -00000350 9c 97 74 87 39 16 03 03 00 04 0e 00 00 00 |..t.9.........| +000002b0 20 8b 0a e7 15 ef 4e 75 18 16 82 2d df b7 6c e5 | .....Nu...-..l.| +000002c0 3a 43 51 f3 6b 06 0f 91 3c e5 ae c3 46 7f 13 df |:CQ.k...<...F...| +000002d0 4a 04 01 00 80 5a b5 02 07 f5 3a 0b 7b 50 46 d9 |J....Z....:.{PF.| +000002e0 d4 32 b7 31 54 26 f8 8e 65 5d 16 5d 6b bf b9 07 |.2.1T&..e].]k...| +000002f0 0a be 13 b1 4f 57 10 a9 73 6c 77 8a fe 34 0b f1 |....OW..slw..4..| +00000300 40 eb 74 d0 cc 37 8c 59 8f 44 9e e5 40 ca 8e 92 |@.t..7.Y.D..@...| +00000310 f1 18 fb 80 3d 8a b9 69 30 ea f9 2f cb 5f 03 c2 |....=..i0../._..| +00000320 13 09 fd f9 80 5f f4 7b 79 63 84 61 e7 58 22 0d |....._.{yc.a.X".| +00000330 b8 33 b2 df 2c b7 22 12 fc fd 44 40 27 99 cd a8 |.3..,."...D@'...| +00000340 94 e7 46 43 79 75 15 14 01 24 27 b0 7e 35 2a 28 |..FCyu...$'.~5*(| +00000350 5e cf c8 60 0f 16 03 03 00 04 0e 00 00 00 |^..`..........| >>> 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 8e de 33 bc 8a a3 e7 60 a6 ea 01 |.......3....`...| -00000050 37 85 1b 13 e1 25 56 7e 38 7c 0d 4e 7d 79 20 6d |7....%V~8|.N}y m| -00000060 77 4c b4 67 aa 7d 87 7e e1 e2 6e 90 07 bd 71 d2 |wL.g.}.~..n...q.| -00000070 f9 fb 2e f0 b9 |.....| +00000040 00 00 00 00 00 2c a3 3e a9 02 6d 74 3a 74 03 29 |.....,.>..mt:t.)| +00000050 5f a0 3e 3e 73 56 c8 a7 97 f2 be 6b c2 ec 2b fc |_.>>sV.....k..+.| +00000060 f4 6f ff eb 20 3d b0 05 78 df b9 2d 19 5b 81 96 |.o.. =..x..-.[..| +00000070 74 2b 91 68 ee |t+.h.| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 63 |............ ..c| -00000010 00 8e ea f2 bd 19 1a 08 ea 26 af ec 7e 55 a4 d7 |.........&..~U..| -00000020 a1 fa 17 cc cf 83 10 bb e0 fe 2c 5a 94 89 62 1b |..........,Z..b.| -00000030 7f c6 69 c2 52 20 a8 b0 9b 0d 33 bd cb 0c 5e bd |..i.R ....3...^.| -00000040 7b fd 7a 27 72 e5 bd 6c 3b 68 fc 42 c5 69 f0 e3 |{.z'r..l;h.B.i..| -00000050 fa ba ef 8a 64 2c 5b b7 99 1d 1e 0d a1 73 7a 17 |....d,[......sz.| -00000060 0a 30 ba 4b 46 71 91 80 04 f2 56 e7 1f 5b 8c 69 |.0.KFq....V..[.i| -00000070 87 87 93 0d 05 70 55 a7 4f 12 68 e6 c9 5f 5e 68 |.....pU.O.h.._^h| -00000080 d1 6b 5e 81 2d 92 fc 55 9b a1 5a 95 5b 8d e8 d9 |.k^.-..U..Z.[...| -00000090 e2 ad 01 70 30 4a 7e ba 89 71 26 86 f0 48 6e 35 |...p0J~..q&..Hn5| -000000a0 ec 0f d6 b4 18 7a 84 1d 35 4f 1c 4f 30 af d5 a3 |.....z..5O.O0...| -000000b0 40 6c 64 d2 46 09 bf 6f 14 7c 62 9f 53 a4 a9 14 |@ld.F..o.|b.S...| -000000c0 03 03 00 01 01 16 03 03 00 40 18 81 2d 5b 1d 9e |.........@..-[..| -000000d0 53 fe cf 4a db 0d 62 8c ea e3 14 64 13 29 50 e6 |S..J..b....d.)P.| -000000e0 d3 ce 1f 74 13 f4 af 90 fd ce 10 b7 a6 67 7f 7a |...t.........g.z| -000000f0 47 19 96 56 db b2 c6 4d f8 40 6e 10 54 4f 72 52 |G..V...M.@n.TOrR| -00000100 69 85 e8 c7 26 1a dc 88 af b4 |i...&.....| +00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 b2 |............ ...| +00000010 fb 88 eb fb 79 90 49 09 01 5d d7 d7 a2 2b 5a 0b |....y.I..]...+Z.| +00000020 5d 5a ed a8 66 6c 87 b9 e2 ab 18 1b 16 2e 3e 03 |]Z..fl........>.| +00000030 e2 a0 62 cc 5b a7 eb f1 12 6f fe 4a 3f f5 ea 27 |..b.[....o.J?..'| +00000040 e3 23 21 c2 76 5b e7 47 2e 7b b0 1e 6a e7 5f 3b |.#!.v[.G.{..j._;| +00000050 24 72 86 44 57 cb 1d a7 b4 06 00 86 cd a3 c4 5e |$r.DW..........^| +00000060 ff 87 f6 c2 75 9d f3 23 d4 05 01 7e 0c 27 2f b7 |....u..#...~.'/.| +00000070 bc f8 60 ec eb 79 ca d2 9a 1f f5 41 5e b5 0c cf |..`..y.....A^...| +00000080 89 36 d3 de 1e 3f b6 f5 35 8a 3b 35 82 7b 5b 81 |.6...?..5.;5.{[.| +00000090 40 d4 e3 81 1a b0 23 fc 5b 6b c7 eb 85 7d db 11 |@.....#.[k...}..| +000000a0 98 0e e3 54 d7 a4 2e ef c7 0f e5 6b 27 35 99 48 |...T.......k'5.H| +000000b0 dd 8d a0 d7 2b e4 03 94 0d 8f 2d af a2 e1 59 14 |....+.....-...Y.| +000000c0 03 03 00 01 01 16 03 03 00 40 15 87 25 3f 30 66 |.........@..%?0f| +000000d0 60 13 7d b4 49 e0 c2 46 6e 18 11 71 8f ef 08 8e |`.}.I..Fn..q....| +000000e0 e9 d2 19 9c e5 6c f6 30 87 50 24 bb 0f f6 f0 1d |.....l.0.P$.....| +000000f0 02 4a 42 da ae bd 54 13 ba c2 0f e5 cd dc 27 c6 |.JB...T.......'.| +00000100 2c 59 70 d1 40 72 0f f6 99 35 |,Yp.@r...5| >>> 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 19 9d 27 3f 2f 8b 94 46 ea 60 fb |.......'?/..F.`.| -00000020 26 97 a0 58 c0 c0 99 15 3c 2e aa 2f 69 9e cd 6b |&..X....<../i..k| -00000030 ba d3 76 77 c7 15 03 03 00 30 00 00 00 00 00 00 |..vw.....0......| -00000040 00 00 00 00 00 00 00 00 00 00 43 4e 7b 50 01 f4 |..........CN{P..| -00000050 7f 62 30 f1 9c 3c eb 6a b5 a7 33 3e 39 0f 26 63 |.b0..<.j..3>9.&c| -00000060 e8 16 67 b9 31 67 fc ca 87 c6 |..g.1g....| +00000010 00 00 00 00 00 2e cb 4e 1b 57 75 ce 3a 96 e6 ae |.......N.Wu.:...| +00000020 d9 3e 08 ea 61 bf eb 61 a6 ab d8 56 16 96 28 40 |.>..a..a...V..(@| +00000030 12 62 9a 73 5d 15 03 03 00 30 00 00 00 00 00 00 |.b.s]....0......| +00000040 00 00 00 00 00 00 00 00 00 00 7b cb 38 72 20 a1 |..........{.8r .| +00000050 6f 85 bb 4c 81 bb be b8 95 56 70 61 cd 53 f6 58 |o..L.....Vpa.S.X| +00000060 ec a6 96 ec 0b 56 7c dc b4 b9 |.....V|...| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Firefox-55 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Firefox-55 index 67f8de4..7faf0d0 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Firefox-55 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Firefox-55 @@ -12,9 +12,9 @@ 000000a0 03 08 04 08 05 08 06 04 01 05 01 06 01 02 03 02 |................| 000000b0 01 |.| >>> Flow 2 (server to client) -00000000 16 03 03 00 41 02 00 00 3d 03 03 0a 73 c4 bf 09 |....A...=...s...| -00000010 31 a7 b5 b4 c8 6d 77 de 3e b9 72 7f b5 c1 44 90 |1....mw.>.r...D.| -00000020 be 14 1d 0e 86 1d eb ff a0 08 88 00 c0 14 00 00 |................| +00000000 16 03 03 00 41 02 00 00 3d 03 03 7a 9c 60 df 5e |....A...=..z.`.^| +00000010 e8 ff ae 29 69 92 4c 1a 24 3b 41 81 27 7d bd 69 |...)i.L.$;A.'}.i| +00000020 dd bc 75 56 94 70 52 a6 37 42 7e 00 c0 14 00 00 |..uV.pR.7B~.....| 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 59 0b 00 02 55 00 |..........Y...U.| 00000050 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 |.R..O0..K0......| @@ -55,49 +55,49 @@ 00000280 40 83 61 c9 4c 72 2b 9d ae db 46 06 06 4d f4 c1 |@.a.Lr+...F..M..| 00000290 b3 3e c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 |.>...B...=.`.\!.| 000002a0 3b e9 fa e7 16 03 03 00 ac 0c 00 00 a8 03 00 1d |;...............| -000002b0 20 27 6c f0 fd 23 5e 18 26 51 4e e9 41 6e 59 fb | 'l..#^.&QN.AnY.| -000002c0 f4 dd 3d ff 6e cc c1 da 6b 0e 98 f6 c2 eb f4 bd |..=.n...k.......| -000002d0 4e 04 01 00 80 d2 19 69 27 07 3d da d8 7d 83 74 |N......i'.=..}.t| -000002e0 83 6c 24 4a a8 e8 a2 7f 3e 56 55 32 22 ae d0 f5 |.l$J....>VU2"...| -000002f0 e7 6f b0 60 7d c4 37 4e 24 53 cd 52 4d 18 81 dc |.o.`}.7N$S.RM...| -00000300 5f 22 d8 02 7c 83 f5 0c 75 da 76 a3 2e 2f 93 43 |_"..|...u.v../.C| -00000310 96 99 2a ee 1b 74 62 07 6e 37 10 4f c7 e0 22 1a |..*..tb.n7.O..".| -00000320 e8 bd 74 b8 64 96 1c 74 e1 42 d7 0e 73 e8 fb a3 |..t.d..t.B..s...| -00000330 36 65 40 01 39 e0 54 b0 06 e2 f2 b5 e1 da 9c a6 |6e@.9.T.........| -00000340 1e d2 56 ca 7c a3 aa 96 f9 3e 9c 44 36 9c 97 20 |..V.|....>.D6.. | -00000350 dc 4f f6 ed b7 16 03 03 00 04 0e 00 00 00 |.O............| +000002b0 20 63 5c 5b ea 98 90 2e 00 c0 ab d3 01 8b 1b 43 | c\[...........C| +000002c0 54 a4 66 70 92 16 15 4d 94 4b ef 21 79 9c c9 3a |T.fp...M.K.!y..:| +000002d0 1a 04 01 00 80 c9 08 18 31 fd d0 88 69 ee 18 99 |........1...i...| +000002e0 97 09 47 30 11 26 b3 fd c5 cc ef 1f 27 7f 0a 06 |..G0.&......'...| +000002f0 53 35 8d 12 fd c3 6a e0 40 0b 20 ff ed e1 ef cb |S5....j.@. .....| +00000300 36 cf 15 c5 61 7b c8 db 6c e5 fe 15 61 42 62 73 |6...a{..l...aBbs| +00000310 45 fc e1 5f 50 a4 5f d6 cb 93 b9 e1 dd 07 eb 02 |E.._P._.........| +00000320 08 a1 0e a6 24 1f 27 96 c2 19 5f f2 46 5e 1c 48 |....$.'..._.F^.H| +00000330 5c db 2c 6e 2d f4 d8 9e e6 43 4b 8f b9 9a 29 f4 |\.,n-....CK...).| +00000340 b0 d6 f7 19 4f 4b 69 ec a2 5b d8 4b dc 8b 0f ff |....OKi..[.K....| +00000350 e4 dd 6e c8 b6 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 40 00 00 00 00 00 00 00 00 00 00 00 |....@...........| -00000040 00 00 00 00 00 19 0b fc eb 24 9f c3 c9 a3 73 eb |.........$....s.| -00000050 84 5f cf 0e 6b 10 9f 9c 2c 0a 67 63 65 82 d8 c9 |._..k...,.gce...| -00000060 ae ae 2b e8 6f 37 6a eb 20 e3 29 50 fd 87 68 95 |..+.o7j. .)P..h.| -00000070 fc 39 1d ed 59 |.9..Y| +00000040 00 00 00 00 00 43 ba e2 1c 1c 5f d4 81 29 11 4d |.....C...._..).M| +00000050 33 e9 86 19 aa 0d 06 cc 07 b8 f8 86 83 cb 6e 53 |3.............nS| +00000060 58 7b 84 7c d0 ab 8c 67 41 62 8b 1b a4 58 16 1a |X{.|...gAb...X..| +00000070 fb 71 e2 bd e7 |.q...| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 5a |............ ..Z| -00000010 58 1d 05 2f af 60 09 fa 20 8c 1e 34 fb bd 97 82 |X../.`.. ..4....| -00000020 c8 a9 28 80 12 08 c1 cb 02 3f 91 fd b8 ae 0b 6c |..(......?.....l| -00000030 83 7c ce 42 40 25 3f 85 55 01 f3 66 50 e4 a2 a2 |.|.B@%?.U..fP...| -00000040 fe 0b ae f2 6c 13 6b 38 38 f6 3d 82 42 60 48 ae |....l.k88.=.B`H.| -00000050 b7 f0 21 6b 3f c1 83 e1 fd bd 98 83 87 8f 2e 01 |..!k?...........| -00000060 01 ff de 6c 16 99 59 a6 14 a2 67 56 18 a5 0c b7 |...l..Y...gV....| -00000070 49 07 fe ea f0 22 54 0f 25 6d e6 be 45 96 f2 54 |I...."T.%m..E..T| -00000080 3f 25 d3 6e 63 dc c0 b5 59 51 c2 0d df b4 f3 63 |?%.nc...YQ.....c| -00000090 a3 a1 b6 3f dc a6 7b e3 2c 2d 66 d9 75 0d 98 11 |...?..{.,-f.u...| -000000a0 2f c6 56 9f 91 ff 85 6e ad 97 7e 13 21 bc 2d c4 |/.V....n..~.!.-.| -000000b0 20 8c eb 2f 37 6e 6d 5b e1 0d 87 e1 9c 6a b1 14 | ../7nm[.....j..| -000000c0 03 03 00 01 01 16 03 03 00 40 ed 99 6b 4a 4f ad |.........@..kJO.| -000000d0 6d cf c3 0f ff ea 01 93 8c 74 0b 53 50 72 af 14 |m........t.SPr..| -000000e0 0d 7f e5 2a 64 15 c4 3c 66 3a 33 34 46 ef 4e 01 |...*d...].y%.r.....| -00000100 9b 0d be 13 d7 c4 3e 3f 66 d4 |......>?f.| +00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 be |............ ...| +00000010 0a 25 50 88 e5 51 7e 01 6d 78 60 1b 00 b7 97 6b |.%P..Q~.mx`....k| +00000020 2d 54 28 59 b3 c2 e6 9f f3 c4 59 ee 64 43 19 8f |-T(Y......Y.dC..| +00000030 5c ee a0 06 e8 ce 31 6d e7 8a 33 5e 08 6c f1 a9 |\.....1m..3^.l..| +00000040 1b 4e 86 7f 50 60 70 02 74 3d 13 3b 31 04 4d a4 |.N..P`p.t=.;1.M.| +00000050 05 2e 45 75 20 c9 d7 d8 a0 9f 7d e1 5d 0d c0 9b |..Eu .....}.]...| +00000060 d7 2c 00 4f 67 22 1e 5d 39 e1 dd 67 47 49 0c cd |.,.Og".]9..gGI..| +00000070 13 06 0d 98 8d 20 ea 02 ad c1 19 a2 55 32 05 a7 |..... ......U2..| +00000080 92 c2 90 86 5e c5 f7 2b 7a 92 af f2 f3 d2 bb fe |....^..+z.......| +00000090 98 7c 23 70 8f 43 26 54 b7 9e 7b a8 24 80 f9 46 |.|#p.C&T..{.$..F| +000000a0 26 03 5e 8a e9 a1 c5 ac b9 b0 74 e8 19 7c 86 c5 |&.^.......t..|..| +000000b0 dd 7a 29 ae 61 ce 3a bc 78 4c d5 bc 71 78 b6 14 |.z).a.:.xL..qx..| +000000c0 03 03 00 01 01 16 03 03 00 40 aa 8d a6 de 42 89 |.........@....B.| +000000d0 7d 7d eb b6 9a 2f 58 1c 32 b9 14 71 e7 24 fd a0 |}}.../X.2..q.$..| +000000e0 73 33 f0 62 bb f2 03 c2 44 47 c4 d4 49 a4 08 a0 |s3.b....DG..I...| +000000f0 d2 b3 29 e8 99 d3 8c 23 1f c6 25 38 2a df 3a a4 |..)....#..%8*.:.| +00000100 9a 33 85 0f 4b 9d 52 c5 da 71 |.3..K.R..q| >>> 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 ac fd cb 8a 38 74 27 02 40 6b ae |.........8t'.@k.| -00000020 55 d6 a0 6c b5 e1 f1 1b fa ae 2c e6 e6 2b a3 23 |U..l......,..+.#| -00000030 f1 72 2f fa 5f 15 03 03 00 30 00 00 00 00 00 00 |.r/._....0......| -00000040 00 00 00 00 00 00 00 00 00 00 37 e6 65 13 95 a6 |..........7.e...| -00000050 79 6f 65 74 a3 3c c6 c6 2f 6e 34 fe 04 03 27 3e |yoet.<../n4...'>| -00000060 d6 c6 27 fe 46 68 08 0b 68 d6 |..'.Fh..h.| +00000010 00 00 00 00 00 4c 1a fd 9e 4e 68 7f 34 c7 f0 fc |.....L...Nh.4...| +00000020 43 8f 1f b7 2c 44 82 ee 7a ea ff 67 2a dc ad da |C...,D..z..g*...| +00000030 dd 71 fe 19 a3 15 03 03 00 30 00 00 00 00 00 00 |.q.......0......| +00000040 00 00 00 00 00 00 00 00 00 00 78 27 0b c1 71 8d |..........x'..q.| +00000050 91 3d b3 d4 58 45 b7 1e 1b 1f 20 75 a6 d2 90 0e |.=..XE.... u....| +00000060 88 ce 59 21 42 77 03 e4 be 31 |..Y!Bw...1| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Golang-0 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Golang-0 new file mode 100644 index 0000000..4928a4b --- /dev/null +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Golang-0 @@ -0,0 +1,91 @@ +>>> Flow 1 (client to server) +00000000 16 03 01 00 91 01 00 00 8d 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 00 00 2c cc a8 |.............,..| +00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| +00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| +00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| +00000090 01 00 00 12 00 00 |......| +>>> Flow 2 (server to client) +00000000 16 03 03 00 59 02 00 00 55 03 03 61 ea d8 59 f4 |....Y...U..a..Y.| +00000010 78 cf d6 4a 82 f1 5a 8c 56 fa 55 3f 18 de 3f 8d |x..J..Z.V.U?..?.| +00000020 ec 9d f1 93 01 da a7 22 26 b2 c8 20 77 c9 6a 4a |......."&.. w.jJ| +00000030 b8 7e 8d 68 8a a4 31 79 a8 d9 c8 50 66 e1 06 22 |.~.h..1y...Pf.."| +00000040 b8 62 a4 dd ef 49 89 f6 1c b3 4f 1d c0 14 00 00 |.b...I....O.....| +00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| +00000060 03 02 59 0b 00 02 55 00 02 52 00 02 4f 30 82 02 |..Y...U..R..O0..| +00000070 4b 30 82 01 b4 a0 03 02 01 02 02 09 00 e8 f0 9d |K0..............| +00000080 3f e2 5b ea a6 30 0d 06 09 2a 86 48 86 f7 0d 01 |?.[..0...*.H....| +00000090 01 0b 05 00 30 1f 31 0b 30 09 06 03 55 04 0a 13 |....0.1.0...U...| +000000a0 02 47 6f 31 10 30 0e 06 03 55 04 03 13 07 47 6f |.Go1.0...U....Go| +000000b0 20 52 6f 6f 74 30 1e 17 0d 31 36 30 31 30 31 30 | Root0...1601010| +000000c0 30 30 30 30 30 5a 17 0d 32 35 30 31 30 31 30 30 |00000Z..25010100| +000000d0 30 30 30 30 5a 30 1a 31 0b 30 09 06 03 55 04 0a |0000Z0.1.0...U..| +000000e0 13 02 47 6f 31 0b 30 09 06 03 55 04 03 13 02 47 |..Go1.0...U....G| +000000f0 6f 30 81 9f 30 0d 06 09 2a 86 48 86 f7 0d 01 01 |o0..0...*.H.....| +00000100 01 05 00 03 81 8d 00 30 81 89 02 81 81 00 db 46 |.......0.......F| +00000110 7d 93 2e 12 27 06 48 bc 06 28 21 ab 7e c4 b6 a2 |}...'.H..(!.~...| +00000120 5d fe 1e 52 45 88 7a 36 47 a5 08 0d 92 42 5b c2 |]..RE.z6G....B[.| +00000130 81 c0 be 97 79 98 40 fb 4f 6d 14 fd 2b 13 8b c2 |....y.@.Om..+...| +00000140 a5 2e 67 d8 d4 09 9e d6 22 38 b7 4a 0b 74 73 2b |..g....."8.J.ts+| +00000150 c2 34 f1 d1 93 e5 96 d9 74 7b f3 58 9f 6c 61 3c |.4......t{.X.la<| +00000160 c0 b0 41 d4 d9 2b 2b 24 23 77 5b 1c 3b bd 75 5d |..A..++$#w[.;.u]| +00000170 ce 20 54 cf a1 63 87 1d 1e 24 c4 f3 1d 1a 50 8b |. T..c...$....P.| +00000180 aa b6 14 43 ed 97 a7 75 62 f4 14 c8 52 d7 02 03 |...C...ub...R...| +00000190 01 00 01 a3 81 93 30 81 90 30 0e 06 03 55 1d 0f |......0..0...U..| +000001a0 01 01 ff 04 04 03 02 05 a0 30 1d 06 03 55 1d 25 |.........0...U.%| +000001b0 04 16 30 14 06 08 2b 06 01 05 05 07 03 01 06 08 |..0...+.........| +000001c0 2b 06 01 05 05 07 03 02 30 0c 06 03 55 1d 13 01 |+.......0...U...| +000001d0 01 ff 04 02 30 00 30 19 06 03 55 1d 0e 04 12 04 |....0.0...U.....| +000001e0 10 9f 91 16 1f 43 43 3e 49 a6 de 6d b6 80 d7 9f |.....CC>I..m....| +000001f0 60 30 1b 06 03 55 1d 23 04 14 30 12 80 10 48 13 |`0...U.#..0...H.| +00000200 49 4d 13 7e 16 31 bb a3 01 d5 ac ab 6e 7b 30 19 |IM.~.1......n{0.| +00000210 06 03 55 1d 11 04 12 30 10 82 0e 65 78 61 6d 70 |..U....0...examp| +00000220 6c 65 2e 67 6f 6c 61 6e 67 30 0d 06 09 2a 86 48 |le.golang0...*.H| +00000230 86 f7 0d 01 01 0b 05 00 03 81 81 00 9d 30 cc 40 |.............0.@| +00000240 2b 5b 50 a0 61 cb ba e5 53 58 e1 ed 83 28 a9 58 |+[P.a...SX...(.X| +00000250 1a a9 38 a4 95 a1 ac 31 5a 1a 84 66 3d 43 d3 2d |..8....1Z..f=C.-| +00000260 d9 0b f2 97 df d3 20 64 38 92 24 3a 00 bc cf 9c |...... d8.$:....| +00000270 7d b7 40 20 01 5f aa d3 16 61 09 a2 76 fd 13 c3 |}.@ ._...a..v...| +00000280 cc e1 0c 5c ee b1 87 82 f1 6c 04 ed 73 bb b3 43 |...\.....l..s..C| +00000290 77 8d 0c 1c f1 0f a1 d8 40 83 61 c9 4c 72 2b 9d |w.......@.a.Lr+.| +000002a0 ae db 46 06 06 4d f4 c1 b3 3e c0 d1 bd 42 d4 db |..F..M...>...B..| +000002b0 fe 3d 13 60 84 5c 21 d3 3b e9 fa e7 16 03 03 00 |.=.`.\!.;.......| +000002c0 ac 0c 00 00 a8 03 00 1d 20 52 14 8e f1 b5 d6 9b |........ R......| +000002d0 f6 27 00 1d af 3d 18 d3 1f 18 ba 43 a3 52 3a ec |.'...=.....C.R:.| +000002e0 05 85 ea 86 23 48 d7 eb 34 04 01 00 80 7b e2 2e |....#H..4....{..| +000002f0 50 2a e9 e0 2a 71 1a 26 57 e5 6f e0 8b 45 0f 25 |P*..*q.&W.o..E.%| +00000300 59 60 03 b9 a8 9b 56 8c b6 a7 75 1d 00 60 f2 db |Y`....V...u..`..| +00000310 a5 cd 7b 64 21 34 79 dc 28 47 1b 99 9b 86 83 03 |..{d!4y.(G......| +00000320 0b 26 33 66 af 14 c8 d1 9d 1e f3 77 d9 b7 1f a6 |.&3f.......w....| +00000330 12 f9 92 53 10 35 1e fd 34 32 07 6d c9 10 81 cd |...S.5..42.m....| +00000340 8f b0 94 f0 2a 68 bd 43 90 24 d4 d6 ec 73 84 64 |....*h.C.$...s.d| +00000350 eb f5 c6 94 f4 68 11 cd d8 7a a5 0a 67 2e 3d 85 |.....h...z..g.=.| +00000360 a7 6c 2d f5 d3 2f 7b f2 88 53 7a b2 bd 16 03 03 |.l-../{..Sz.....| +00000370 00 04 0e 00 00 00 |......| +>>> 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 95 98 0a ed dc fe 96 26 f6 3e 99 |............&.>.| +00000050 e8 be 39 3b a9 65 2d 28 cd f6 79 11 c1 74 91 11 |..9;.e-(..y..t..| +00000060 e9 aa 4c e9 eb 2c b8 bb bd 1d 39 0f e1 98 a5 a8 |..L..,....9.....| +00000070 6d 1d 3e d0 69 |m.>.i| +>>> Flow 4 (server to client) +00000000 14 03 03 00 01 01 16 03 03 00 40 dd 7c 68 3c f7 |..........@.|h<.| +00000010 53 dd 87 e3 20 57 35 46 77 a3 6e eb 33 40 7f 4e |S... W5Fw.n.3@.N| +00000020 2d 63 62 a1 61 93 ce 00 a0 fa 4b 49 4b fd 46 21 |-cb.a.....KIK.F!| +00000030 3c d2 ed 2a 93 c8 1a e9 84 1e 9d 8f 4e 28 b6 7c |<..*........N(.|| +00000040 b4 ce fe 93 6d ee f1 0e 50 26 29 |....m...P&)| +>>> 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 40 23 3b e4 23 ed 38 0a c3 80 f9 |.....@#;.#.8....| +00000020 98 d1 9a bb 46 7c 50 2d 32 ca 6f 65 e9 0e 45 44 |....F|P-2.oe..ED| +00000030 a6 e3 1e 87 49 15 03 03 00 30 00 00 00 00 00 00 |....I....0......| +00000040 00 00 00 00 00 00 00 00 00 00 36 64 08 15 2a 19 |..........6d..*.| +00000050 d9 f2 83 3f c5 0e 30 32 37 fa de 4d a3 43 84 47 |...?..027..M.C.G| +00000060 f5 c8 ab 9f b2 05 e8 39 e7 b2 |.......9..| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-CHACHA20-POLY1305-Chrome-58 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-CHACHA20-POLY1305-Chrome-58 index df9c06a..5893c9d 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-CHACHA20-POLY1305-Chrome-58 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-CHACHA20-POLY1305-Chrome-58 @@ -12,9 +12,9 @@ 000000a0 50 00 00 00 0b 00 02 01 00 00 0a 00 0a 00 08 0a |P...............| 000000b0 0a 00 1d 00 17 00 18 1a 1a 00 01 00 |............| >>> Flow 2 (server to client) -00000000 16 03 03 00 41 02 00 00 3d 03 03 44 40 07 d6 94 |....A...=..D@...| -00000010 92 6d 44 e3 e2 3d 78 4a 5e 1c f0 d2 bf 1c 27 b0 |.mD..=xJ^.....'.| -00000020 29 58 41 7a e8 57 c6 da 60 96 49 00 cc a8 00 00 |)XAz.W..`.I.....| +00000000 16 03 03 00 41 02 00 00 3d 03 03 84 6d f4 98 e1 |....A...=...m...| +00000010 cf 9b ce d3 ce 72 ec dc 55 71 95 2b 18 24 45 58 |.....r..Uq.+.$EX| +00000020 c3 9f 05 85 30 b1 50 91 51 99 77 00 cc a8 00 00 |....0.P.Q.w.....| 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 59 0b 00 02 55 00 |..........Y...U.| 00000050 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 |.R..O0..K0......| @@ -55,42 +55,42 @@ 00000280 40 83 61 c9 4c 72 2b 9d ae db 46 06 06 4d f4 c1 |@.a.Lr+...F..M..| 00000290 b3 3e c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 |.>...B...=.`.\!.| 000002a0 3b e9 fa e7 16 03 03 00 ac 0c 00 00 a8 03 00 1d |;...............| -000002b0 20 1a 53 26 b4 3d 45 a3 45 17 34 56 49 e9 c3 53 | .S&.=E.E.4VI..S| -000002c0 ba 0c c0 1e 04 94 15 ab 76 19 ec c0 42 28 03 f6 |........v...B(..| -000002d0 35 04 01 00 80 ae 85 65 51 94 8a 6e 04 b1 37 8a |5......eQ..n..7.| -000002e0 8f 2d 49 f7 ad 80 0a e8 35 1e 74 3d 6d 6e a5 0e |.-I.....5.t=mn..| -000002f0 3a 3b dc 21 91 b5 29 92 a4 47 79 95 d8 f0 ff 17 |:;.!..)..Gy.....| -00000300 50 7a 68 a3 16 bc 2a 05 f2 00 bb 64 51 50 3b b5 |Pzh...*....dQP;.| -00000310 85 cb 4e ef e8 bb 0d 70 16 e9 7f 42 19 ed 9d 57 |..N....p...B...W| -00000320 fc 85 88 0e 0f 01 aa b7 37 7e 5d 6a d9 fd 01 55 |........7~]j...U| -00000330 e5 e0 ae 63 9f 79 50 f3 74 4b d6 32 df 9b f0 4f |...c.yP.tK.2...O| -00000340 ca 2b 63 3d aa 51 99 d2 a8 07 93 20 ee 36 e2 76 |.+c=.Q..... .6.v| -00000350 ac 41 b8 2f f8 16 03 03 00 04 0e 00 00 00 |.A./..........| +000002b0 20 f6 18 93 be 34 9f 17 84 a9 a3 10 6b d9 71 55 | ....4......k.qU| +000002c0 5b dd bc e8 fb 9a 3f 89 b4 e1 9d bb 87 68 b8 eb |[.....?......h..| +000002d0 0e 04 01 00 80 92 80 47 0f 2a 8c 4b d5 0e c9 95 |.......G.*.K....| +000002e0 27 1a 01 a6 79 95 4d 61 48 ab 8f f4 4b 25 70 6d |'...y.MaH...K%pm| +000002f0 1f a7 03 66 96 40 a1 1d 60 b6 91 2e 0e 48 dc 3e |...f.@..`....H.>| +00000300 83 8b f0 f6 e1 94 11 64 53 88 3c 74 04 49 90 6e |.......dS.>> 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 ac 74 48 25 67 b6 c1 1f 70 16 9c |.... .tH%g...p..| -00000040 8f ed 42 04 12 12 76 0f f7 4d 2d 3c ce a7 29 b5 |..B...v..M-<..).| -00000050 ae aa df b4 38 |....8| +00000030 16 03 03 00 20 31 ac 29 6b 15 fd 00 1d 8d 24 9d |.... 1.)k.....$.| +00000040 da 9f fd db b6 a9 77 d6 5e b1 8e ab 8d f5 06 08 |......w.^.......| +00000050 63 5c 30 0d 64 |c\0.d| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 52 |............ ..R| -00000010 43 3a fb 8c c3 39 3b e9 9d 7f 6b f8 bd 4e 9e 6e |C:...9;...k..N.n| -00000020 89 9c 01 86 c7 2b 3d 3b 21 1f 60 7d e1 49 bc 23 |.....+=;!.`}.I.#| -00000030 31 73 40 8d 32 c0 c8 a0 3b 9c ae c4 c3 de b6 0b |1s@.2...;.......| -00000040 17 6a 56 fb 27 b0 06 41 f5 41 57 fe 2b 65 3b 91 |.jV.'..A.AW.+e;.| -00000050 8d 06 8d 30 8d d5 da cb 77 4a d5 d6 1c 11 29 e8 |...0....wJ....).| -00000060 63 79 e5 d9 a3 5a dd f7 05 a6 40 62 2f 62 80 a6 |cy...Z....@b/b..| -00000070 f0 71 f8 02 b5 6b 15 fc 81 bc 1f 27 9e 4b 05 0b |.q...k.....'.K..| -00000080 5f 66 18 79 eb 69 63 9b 09 cd af 0f f0 79 b7 1f |_f.y.ic......y..| -00000090 ce 9c ec 8d 2d 2d 2a 3e 30 7f 6a 8d 5c 1a 90 21 |....--*>0.j.\..!| -000000a0 0f ba 7c 02 81 0c 46 e2 0e 3b 16 7f 30 b0 93 20 |..|...F..;..0.. | -000000b0 74 02 6d 15 b1 df ef 7a ad e1 7e db 5d bc 0e 14 |t.m....z..~.]...| -000000c0 03 03 00 01 01 16 03 03 00 20 1c 2f 95 64 8e ce |......... ./.d..| -000000d0 a6 32 87 39 1e 78 1e c6 1a 2e b9 7a 5c b2 4f fc |.2.9.x.....z\.O.| -000000e0 63 d9 94 cc 58 cc 7b 6c 52 46 |c...X.{lRF| +00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 f7 |............ ...| +00000010 d6 21 e7 8a 44 e5 d7 2c c4 d4 d9 34 cf 79 25 59 |.!..D..,...4.y%Y| +00000020 7d b5 d0 6a ba 6f 62 b4 56 ce 5c 93 32 d2 fd bb |}..j.ob.V.\.2...| +00000030 29 02 9d 84 1b 95 56 ca 14 ba 56 8c 45 0e 55 74 |).....V...V.E.Ut| +00000040 db a5 35 f9 8d 4b 92 2d e2 58 b8 08 8b ee b9 2a |..5..K.-.X.....*| +00000050 a1 9d a2 7b 5b 95 fc 90 cb 8c 48 36 79 60 06 24 |...{[.....H6y`.$| +00000060 a3 ae bd 95 e5 d1 40 c2 ba 20 b8 ff 11 75 31 04 |......@.. ...u1.| +00000070 ba 87 67 9f 39 e5 df b6 bc bb d0 0c 03 5c 47 a7 |..g.9........\G.| +00000080 bd ed 67 bd de 51 b2 c6 80 81 50 19 f6 a8 8a 57 |..g..Q....P....W| +00000090 de 74 89 92 3d 60 41 2e 83 16 3e f8 c0 f4 00 74 |.t..=`A...>....t| +000000a0 80 12 9d 6e 17 c1 a4 f8 a4 45 68 08 62 5a 9f 09 |...n.....Eh.bZ..| +000000b0 0f cc cd 07 50 0f 98 b5 1c e5 32 aa 30 f8 cd 14 |....P.....2.0...| +000000c0 03 03 00 01 01 16 03 03 00 20 1c fa 4c c0 ec ea |......... ..L...| +000000d0 36 ef 8d 9a d9 e4 fa 57 bf 52 f0 78 90 ec ae 37 |6......W.R.x...7| +000000e0 49 24 b0 5f a8 7f 6b e5 4b d4 |I$._..k.K.| >>> Flow 5 (client to server) -00000000 17 03 03 00 16 54 f1 1f ab 20 7a d1 df b0 00 ed |.....T... z.....| -00000010 10 78 34 ac 44 de 6c 41 a7 c1 e8 15 03 03 00 12 |.x4.D.lA........| -00000020 9f 0b 05 65 57 db b0 ef 28 1d b8 91 a0 84 86 89 |...eW...(.......| -00000030 4e f8 |N.| +00000000 17 03 03 00 16 12 c8 66 f1 dc 08 8e bd 18 84 f0 |.......f........| +00000010 1d a1 64 b7 fa 25 2c ec 5e b4 96 15 03 03 00 12 |..d..%,.^.......| +00000020 83 f7 35 f1 51 13 ba 48 7a 10 4c ca 18 9b a7 54 |..5.Q..Hz.L....T| +00000030 4d 21 |M!| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-CHACHA20-POLY1305-Firefox-55 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-CHACHA20-POLY1305-Firefox-55 index 9581844..3533885 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-CHACHA20-POLY1305-Firefox-55 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-CHACHA20-POLY1305-Firefox-55 @@ -12,9 +12,9 @@ 000000a0 03 08 04 08 05 08 06 04 01 05 01 06 01 02 03 02 |................| 000000b0 01 |.| >>> Flow 2 (server to client) -00000000 16 03 03 00 41 02 00 00 3d 03 03 85 f5 1f 0b 53 |....A...=......S| -00000010 af 67 2f 82 ef 9e fe 05 cd 06 f3 0f bd 72 58 9d |.g/..........rX.| -00000020 78 6d 48 e7 ee 26 53 25 d4 f9 8d 00 cc a8 00 00 |xmH..&S%........| +00000000 16 03 03 00 41 02 00 00 3d 03 03 19 dc 09 f5 ca |....A...=.......| +00000010 9a 10 b6 e7 c2 a6 d0 d4 0e 9f 54 90 4b a7 de d0 |..........T.K...| +00000020 fe aa 00 4e 03 9a b9 93 38 5b 12 00 cc a8 00 00 |...N....8[......| 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 59 0b 00 02 55 00 |..........Y...U.| 00000050 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 |.R..O0..K0......| @@ -55,42 +55,42 @@ 00000280 40 83 61 c9 4c 72 2b 9d ae db 46 06 06 4d f4 c1 |@.a.Lr+...F..M..| 00000290 b3 3e c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 |.>...B...=.`.\!.| 000002a0 3b e9 fa e7 16 03 03 00 ac 0c 00 00 a8 03 00 1d |;...............| -000002b0 20 d3 83 73 6c a1 ac ff 0e 05 b0 d7 c3 84 44 e0 | ..sl.........D.| -000002c0 61 87 68 06 68 51 d9 b1 c1 6d f1 3b 93 58 2e 78 |a.h.hQ...m.;.X.x| -000002d0 08 04 01 00 80 a9 40 98 18 6a 5c 70 88 17 68 d1 |......@..j\p..h.| -000002e0 dd cb ed 6b 1c d4 b5 61 b1 6d f4 80 94 e5 e3 74 |...k...a.m.....t| -000002f0 c9 5f 6b 8b af 0a 0f b5 8d 06 30 70 77 30 1e eb |._k.......0pw0..| -00000300 c7 7e 16 fe bf be 4a 00 cd 01 1c f9 ec 33 92 10 |.~....J......3..| -00000310 e7 aa 5c 19 ef 1c ff 54 3a 7f 7d 8a c9 ef 97 63 |..\....T:.}....c| -00000320 e0 f4 d5 2d f0 61 5a f8 73 60 95 23 ad a1 89 dc |...-.aZ.s`.#....| -00000330 f0 0d 76 d5 37 de 7d 11 6c 72 89 f1 28 fd 1a b5 |..v.7.}.lr..(...| -00000340 c5 d7 03 04 a8 08 66 9d 3c 27 45 54 32 3d 6b 69 |......f.<'ET2=ki| -00000350 c0 b3 8e 47 ae 16 03 03 00 04 0e 00 00 00 |...G..........| +000002b0 20 6f 6f 65 65 85 53 d6 e3 89 71 7b 05 a3 87 11 | ooee.S...q{....| +000002c0 e7 b2 45 5e 6e d6 8d f1 ae 5a ad 12 f5 ac 7b 55 |..E^n....Z....{U| +000002d0 75 04 01 00 80 6d 2b 9d 89 f5 82 5e 8b 17 6c 98 |u....m+....^..l.| +000002e0 9a 2c 5e 44 86 29 d7 ee 62 3a 00 28 fd 26 14 01 |.,^D.)..b:.(.&..| +000002f0 c5 d5 23 bc 94 4a e9 09 f1 7f e4 c3 a1 60 2e 2b |..#..J.......`.+| +00000300 31 3c 88 a1 db 30 9c 59 c4 c3 ba 6a 2c f1 0e 78 |1<...0.Y...j,..x| +00000310 eb e5 10 c1 28 00 59 57 8a c5 76 1a f2 80 98 a5 |....(.YW..v.....| +00000320 92 5d 49 38 b1 00 ec a9 84 34 d5 59 d0 01 54 fd |.]I8.....4.Y..T.| +00000330 28 31 c7 78 91 73 11 3e 12 6a af 1b 15 6f 21 83 |(1.x.s.>.j...o!.| +00000340 53 45 78 ce 69 86 60 b5 4d 9e 77 35 64 ad 9c ae |SEx.i.`.M.w5d...| +00000350 0f d7 91 47 fa 16 03 03 00 04 0e 00 00 00 |...G..........| >>> 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 c1 16 85 92 1d c7 64 80 a4 2c e0 |.... ......d..,.| -00000040 81 68 4c da af 7a 7b aa cd 66 a0 f3 38 17 f5 d2 |.hL..z{..f..8...| -00000050 30 b8 f4 47 de |0..G.| +00000030 16 03 03 00 20 5c a7 89 46 cf 18 78 60 46 7c 66 |.... \..F..x`F|f| +00000040 f3 fd 51 5e 99 1a 7c 40 b1 c8 91 4a 90 71 0d 81 |..Q^..|@...J.q..| +00000050 f3 25 7c cc e4 |.%|..| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 6b |............ ..k| -00000010 ef 78 75 f9 61 1d a8 e3 be 99 5c 65 a4 fc 79 ef |.xu.a.....\e..y.| -00000020 93 f2 e8 d2 ec 03 2a 0b 61 5a fc 13 fc 58 80 0f |......*.aZ...X..| -00000030 c8 b5 d1 2d 45 ad 5e be fc 46 aa 62 d2 c2 c9 e6 |...-E.^..F.b....| -00000040 ba ec c6 7f 59 20 c6 2a a9 0d d2 bd be a9 d8 58 |....Y .*.......X| -00000050 6c ec d5 17 01 01 76 10 fc 66 3a 07 e1 22 a8 9c |l.....v..f:.."..| -00000060 ee c5 55 11 ec 63 b2 b6 0e 74 61 e1 f4 84 78 76 |..U..c...ta...xv| -00000070 6f ea 9c 22 3f 1d 57 59 d8 99 e0 33 35 14 63 af |o.."?.WY...35.c.| -00000080 67 e3 52 21 03 f9 c3 b1 05 e5 19 e7 c5 0a 77 81 |g.R!..........w.| -00000090 3e 54 a0 74 be 8e 2f 52 7c 26 74 f0 e7 27 15 25 |>T.t../R|&t..'.%| -000000a0 a2 7d 61 3e 4a 4a 0c 47 01 41 1c 88 7c f0 51 f2 |.}a>JJ.G.A..|.Q.| -000000b0 df b2 2b a2 b8 79 1a d1 80 b4 4e d7 80 a5 50 14 |..+..y....N...P.| -000000c0 03 03 00 01 01 16 03 03 00 20 b2 d0 be ac ab 55 |......... .....U| -000000d0 a6 26 22 56 1b ec e2 83 7c 44 09 88 7e 60 77 37 |.&"V....|D..~`w7| -000000e0 91 9d 9e 33 34 52 00 3d 3e d7 |...34R.=>.| +00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 dd |............ ...| +00000010 ad 9d 9d 81 5d 5f 1f 44 53 36 f4 76 ac 97 48 ed |....]_.DS6.v..H.| +00000020 5b 21 bf 3f c4 fc 80 31 d1 05 a6 ba 00 a5 e3 1c |[!.?...1........| +00000030 51 07 13 37 df 30 4f 8a df 5b 27 e1 62 a5 0f c2 |Q..7.0O..['.b...| +00000040 5c d9 7e 74 77 73 20 0e 51 c2 40 bb 1b 76 a7 6c |\.~tws .Q.@..v.l| +00000050 9c 8b 4c a8 0f 7a 86 b6 a4 4f ed 76 7e a2 3a 3f |..L..z...O.v~.:?| +00000060 55 19 99 85 89 d6 ad f8 6b 03 7a 60 ac e6 48 d2 |U.......k.z`..H.| +00000070 75 64 25 76 f0 54 b7 f9 c9 79 35 8f be af 28 37 |ud%v.T...y5...(7| +00000080 ff 20 57 c6 da c6 f6 e1 7b ce cc bd 58 49 f3 d7 |. W.....{...XI..| +00000090 72 57 2e b3 19 dc 86 ce c1 9f 51 7e 19 58 de 21 |rW........Q~.X.!| +000000a0 f8 cc ba 43 d5 92 d1 e0 9d 85 ed 18 ff c7 46 f5 |...C..........F.| +000000b0 41 6a 04 0d ce 70 4f 79 2c d3 6e 7e 72 ae f9 14 |Aj...pOy,.n~r...| +000000c0 03 03 00 01 01 16 03 03 00 20 1f 3a c1 a6 75 a0 |......... .:..u.| +000000d0 ac 2d 98 d7 48 56 58 97 3b 07 8c 7a 03 b3 d4 c1 |.-..HVX.;..z....| +000000e0 00 1e 35 f4 27 67 a8 c9 f2 2f |..5.'g.../| >>> Flow 5 (client to server) -00000000 17 03 03 00 16 d8 15 29 89 24 bb f7 a7 1a c7 f9 |.......).$......| -00000010 60 e7 ce c4 e0 12 8a c7 a4 d1 72 15 03 03 00 12 |`.........r.....| -00000020 f7 0a 41 1c 87 97 3f bf 27 16 12 40 1f e2 b0 5e |..A...?.'..@...^| -00000030 53 3e |S>| +00000000 17 03 03 00 16 48 a3 bf 4b 8f b3 4e 13 f4 0c 99 |.....H..K..N....| +00000010 f9 07 b9 a2 c7 b3 4f 58 0f 87 fe 15 03 03 00 12 |......OX........| +00000020 6c 46 f0 52 79 78 79 86 e0 b8 b7 c0 46 11 e4 5a |lF.Ryxy.....F..Z| +00000030 be eb |..| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-CHACHA20-POLY1305-Golang-0 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-CHACHA20-POLY1305-Golang-0 new file mode 100644 index 0000000..9692542 --- /dev/null +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-CHACHA20-POLY1305-Golang-0 @@ -0,0 +1,81 @@ +>>> Flow 1 (client to server) +00000000 16 03 01 00 67 01 00 00 63 03 03 00 00 00 00 00 |....g...c.......| +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 00 00 02 cc a8 |................| +00000030 01 00 00 38 00 05 00 05 01 00 00 00 00 00 0a 00 |...8............| +00000040 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| +00000050 00 00 0d 00 0e 00 0c 04 01 04 03 05 01 05 03 02 |................| +00000060 01 02 03 ff 01 00 01 00 00 12 00 00 |............| +>>> Flow 2 (server to client) +00000000 16 03 03 00 59 02 00 00 55 03 03 7c 86 af f7 7c |....Y...U..|...|| +00000010 80 7e dc 8a e9 e7 b4 cf 64 ae eb 53 17 02 a6 1f |.~......d..S....| +00000020 1f 35 2f 11 a6 b3 12 65 28 fa f2 20 50 93 8c c8 |.5/....e(.. P...| +00000030 3d b8 97 ff b4 e3 a1 b2 5b 44 5a 5c 63 ba ce a4 |=.......[DZ\c...| +00000040 c2 5c eb 58 a3 53 ba eb c8 25 79 0e cc a8 00 00 |.\.X.S...%y.....| +00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| +00000060 03 02 59 0b 00 02 55 00 02 52 00 02 4f 30 82 02 |..Y...U..R..O0..| +00000070 4b 30 82 01 b4 a0 03 02 01 02 02 09 00 e8 f0 9d |K0..............| +00000080 3f e2 5b ea a6 30 0d 06 09 2a 86 48 86 f7 0d 01 |?.[..0...*.H....| +00000090 01 0b 05 00 30 1f 31 0b 30 09 06 03 55 04 0a 13 |....0.1.0...U...| +000000a0 02 47 6f 31 10 30 0e 06 03 55 04 03 13 07 47 6f |.Go1.0...U....Go| +000000b0 20 52 6f 6f 74 30 1e 17 0d 31 36 30 31 30 31 30 | Root0...1601010| +000000c0 30 30 30 30 30 5a 17 0d 32 35 30 31 30 31 30 30 |00000Z..25010100| +000000d0 30 30 30 30 5a 30 1a 31 0b 30 09 06 03 55 04 0a |0000Z0.1.0...U..| +000000e0 13 02 47 6f 31 0b 30 09 06 03 55 04 03 13 02 47 |..Go1.0...U....G| +000000f0 6f 30 81 9f 30 0d 06 09 2a 86 48 86 f7 0d 01 01 |o0..0...*.H.....| +00000100 01 05 00 03 81 8d 00 30 81 89 02 81 81 00 db 46 |.......0.......F| +00000110 7d 93 2e 12 27 06 48 bc 06 28 21 ab 7e c4 b6 a2 |}...'.H..(!.~...| +00000120 5d fe 1e 52 45 88 7a 36 47 a5 08 0d 92 42 5b c2 |]..RE.z6G....B[.| +00000130 81 c0 be 97 79 98 40 fb 4f 6d 14 fd 2b 13 8b c2 |....y.@.Om..+...| +00000140 a5 2e 67 d8 d4 09 9e d6 22 38 b7 4a 0b 74 73 2b |..g....."8.J.ts+| +00000150 c2 34 f1 d1 93 e5 96 d9 74 7b f3 58 9f 6c 61 3c |.4......t{.X.la<| +00000160 c0 b0 41 d4 d9 2b 2b 24 23 77 5b 1c 3b bd 75 5d |..A..++$#w[.;.u]| +00000170 ce 20 54 cf a1 63 87 1d 1e 24 c4 f3 1d 1a 50 8b |. T..c...$....P.| +00000180 aa b6 14 43 ed 97 a7 75 62 f4 14 c8 52 d7 02 03 |...C...ub...R...| +00000190 01 00 01 a3 81 93 30 81 90 30 0e 06 03 55 1d 0f |......0..0...U..| +000001a0 01 01 ff 04 04 03 02 05 a0 30 1d 06 03 55 1d 25 |.........0...U.%| +000001b0 04 16 30 14 06 08 2b 06 01 05 05 07 03 01 06 08 |..0...+.........| +000001c0 2b 06 01 05 05 07 03 02 30 0c 06 03 55 1d 13 01 |+.......0...U...| +000001d0 01 ff 04 02 30 00 30 19 06 03 55 1d 0e 04 12 04 |....0.0...U.....| +000001e0 10 9f 91 16 1f 43 43 3e 49 a6 de 6d b6 80 d7 9f |.....CC>I..m....| +000001f0 60 30 1b 06 03 55 1d 23 04 14 30 12 80 10 48 13 |`0...U.#..0...H.| +00000200 49 4d 13 7e 16 31 bb a3 01 d5 ac ab 6e 7b 30 19 |IM.~.1......n{0.| +00000210 06 03 55 1d 11 04 12 30 10 82 0e 65 78 61 6d 70 |..U....0...examp| +00000220 6c 65 2e 67 6f 6c 61 6e 67 30 0d 06 09 2a 86 48 |le.golang0...*.H| +00000230 86 f7 0d 01 01 0b 05 00 03 81 81 00 9d 30 cc 40 |.............0.@| +00000240 2b 5b 50 a0 61 cb ba e5 53 58 e1 ed 83 28 a9 58 |+[P.a...SX...(.X| +00000250 1a a9 38 a4 95 a1 ac 31 5a 1a 84 66 3d 43 d3 2d |..8....1Z..f=C.-| +00000260 d9 0b f2 97 df d3 20 64 38 92 24 3a 00 bc cf 9c |...... d8.$:....| +00000270 7d b7 40 20 01 5f aa d3 16 61 09 a2 76 fd 13 c3 |}.@ ._...a..v...| +00000280 cc e1 0c 5c ee b1 87 82 f1 6c 04 ed 73 bb b3 43 |...\.....l..s..C| +00000290 77 8d 0c 1c f1 0f a1 d8 40 83 61 c9 4c 72 2b 9d |w.......@.a.Lr+.| +000002a0 ae db 46 06 06 4d f4 c1 b3 3e c0 d1 bd 42 d4 db |..F..M...>...B..| +000002b0 fe 3d 13 60 84 5c 21 d3 3b e9 fa e7 16 03 03 00 |.=.`.\!.;.......| +000002c0 ac 0c 00 00 a8 03 00 1d 20 e0 0e 7b 21 12 d8 ff |........ ..{!...| +000002d0 73 75 03 87 17 f4 a3 11 65 67 5e 24 5f 13 b8 19 |su......eg^$_...| +000002e0 8a 7b 2b 46 e0 22 73 2c 1a 04 01 00 80 b4 14 e8 |.{+F."s,........| +000002f0 1e d7 84 b6 9d 28 c9 42 b5 32 70 0b 47 83 bd c9 |.....(.B.2p.G...| +00000300 57 40 f4 df cf 21 4f 12 7a d8 42 9a 52 30 18 b2 |W@...!O.z.B.R0..| +00000310 a3 d7 23 4f 41 ad bc 4e 56 0c 3d 80 94 4a aa 7a |..#OA..NV.=..J.z| +00000320 c3 5c 70 6f 53 cd ef 22 46 79 ab 11 bc 9b b7 dd |.\poS.."Fy......| +00000330 2d 89 20 2a 4e d7 cf fa 01 b3 6d 9e 99 bb 17 7c |-. *N.....m....|| +00000340 1a 8c 9c 99 12 31 54 e1 1a 94 e4 36 ce 31 7e 12 |.....1T....6.1~.| +00000350 fc db 6d 52 07 47 81 77 33 6e f9 54 2f fd 67 fe |..mR.G.w3n.T/.g.| +00000360 69 0d 4d 7c 5b 70 75 6e b7 ce fe d8 1e 16 03 03 |i.M|[pun........| +00000370 00 04 0e 00 00 00 |......| +>>> 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 77 09 e3 03 75 9b ad df 84 99 b9 |.... w...u......| +00000040 64 31 f5 53 0e 22 3e 29 0b dc 35 44 b3 d7 93 03 |d1.S.">)..5D....| +00000050 a0 a8 af 2e 83 |.....| +>>> Flow 4 (server to client) +00000000 14 03 03 00 01 01 16 03 03 00 20 55 65 9b 41 9a |.......... Ue.A.| +00000010 30 cb 82 fa 78 d4 ad b0 d4 8d ed c2 e6 a2 d5 ef |0...x...........| +00000020 b1 9f 64 7d f4 42 47 94 bf ed 81 |..d}.BG....| +>>> Flow 5 (client to server) +00000000 17 03 03 00 16 5d 38 4a b2 5b cd 64 ff 97 ab bc |.....]8J.[.d....| +00000010 7f 03 07 20 6e c2 0d 21 a1 f5 a0 15 03 03 00 12 |... n..!........| +00000020 7c ad c1 ab 50 3c 29 62 a8 3a 63 40 5d 5b 80 ec ||...P<)b.:c@][..| +00000030 00 6c |.l| diff --git a/testdata/Client-TLSv12-UTLS-setclienthello-ECDHE-RSA-AES128-GCM-SHA256-Chrome-58 b/testdata/Client-TLSv12-UTLS-setclienthello-ECDHE-RSA-AES128-GCM-SHA256-Chrome-58 new file mode 100644 index 0000000..22f45cc --- /dev/null +++ b/testdata/Client-TLSv12-UTLS-setclienthello-ECDHE-RSA-AES128-GCM-SHA256-Chrome-58 @@ -0,0 +1,98 @@ +>>> Flow 1 (client to server) +00000000 16 03 01 00 b7 01 00 00 b3 03 03 43 75 73 74 6f |...........Custo| +00000010 6d 20 43 6c 69 65 6e 74 52 61 6e 64 6f 6d 20 68 |m ClientRandom h| +00000020 5e 78 62 77 38 62 66 30 73 6e 33 00 00 1c 4a 4a |^xbw8bf0sn3...JJ| +00000030 c0 2b c0 2f c0 2c c0 30 cc a9 cc a8 c0 13 c0 14 |.+./.,.0........| +00000040 00 9c 00 9d 00 2f 00 35 00 0a 01 00 00 6e 7a 7a |...../.5.....nzz| +00000050 00 00 ff 01 00 01 00 00 00 00 05 00 03 00 00 00 |................| +00000060 00 17 00 00 00 23 00 00 00 0d 00 14 00 12 04 03 |.....#..........| +00000070 08 04 04 01 05 03 08 05 05 01 08 06 06 01 02 01 |................| +00000080 00 05 00 05 01 00 00 00 00 00 12 00 00 00 10 00 |................| +00000090 0e 00 0c 02 68 32 08 68 74 74 70 2f 31 2e 31 75 |....h2.http/1.1u| +000000a0 50 00 00 00 0b 00 02 01 00 00 0a 00 0a 00 08 7a |P..............z| +000000b0 7a 00 1d 00 17 00 18 6a 6a 00 01 00 |z......jj...| +>>> Flow 2 (server to client) +00000000 16 03 03 00 41 02 00 00 3d 03 03 18 2e 4c 06 34 |....A...=....L.4| +00000010 c1 c1 0c 0a 8a 32 d1 63 c6 da ef 73 47 31 ba 73 |.....2.c...sG1.s| +00000020 09 d6 2c 34 b8 50 ff 62 a8 57 ce 00 c0 2f 00 00 |..,4.P.b.W.../..| +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 59 0b 00 02 55 00 |..........Y...U.| +00000050 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 |.R..O0..K0......| +00000060 01 02 02 09 00 e8 f0 9d 3f e2 5b ea a6 30 0d 06 |........?.[..0..| +00000070 09 2a 86 48 86 f7 0d 01 01 0b 05 00 30 1f 31 0b |.*.H........0.1.| +00000080 30 09 06 03 55 04 0a 13 02 47 6f 31 10 30 0e 06 |0...U....Go1.0..| +00000090 03 55 04 03 13 07 47 6f 20 52 6f 6f 74 30 1e 17 |.U....Go Root0..| +000000a0 0d 31 36 30 31 30 31 30 30 30 30 30 30 5a 17 0d |.160101000000Z..| +000000b0 32 35 30 31 30 31 30 30 30 30 30 30 5a 30 1a 31 |250101000000Z0.1| +000000c0 0b 30 09 06 03 55 04 0a 13 02 47 6f 31 0b 30 09 |.0...U....Go1.0.| +000000d0 06 03 55 04 03 13 02 47 6f 30 81 9f 30 0d 06 09 |..U....Go0..0...| +000000e0 2a 86 48 86 f7 0d 01 01 01 05 00 03 81 8d 00 30 |*.H............0| +000000f0 81 89 02 81 81 00 db 46 7d 93 2e 12 27 06 48 bc |.......F}...'.H.| +00000100 06 28 21 ab 7e c4 b6 a2 5d fe 1e 52 45 88 7a 36 |.(!.~...]..RE.z6| +00000110 47 a5 08 0d 92 42 5b c2 81 c0 be 97 79 98 40 fb |G....B[.....y.@.| +00000120 4f 6d 14 fd 2b 13 8b c2 a5 2e 67 d8 d4 09 9e d6 |Om..+.....g.....| +00000130 22 38 b7 4a 0b 74 73 2b c2 34 f1 d1 93 e5 96 d9 |"8.J.ts+.4......| +00000140 74 7b f3 58 9f 6c 61 3c c0 b0 41 d4 d9 2b 2b 24 |t{.X.la<..A..++$| +00000150 23 77 5b 1c 3b bd 75 5d ce 20 54 cf a1 63 87 1d |#w[.;.u]. T..c..| +00000160 1e 24 c4 f3 1d 1a 50 8b aa b6 14 43 ed 97 a7 75 |.$....P....C...u| +00000170 62 f4 14 c8 52 d7 02 03 01 00 01 a3 81 93 30 81 |b...R.........0.| +00000180 90 30 0e 06 03 55 1d 0f 01 01 ff 04 04 03 02 05 |.0...U..........| +00000190 a0 30 1d 06 03 55 1d 25 04 16 30 14 06 08 2b 06 |.0...U.%..0...+.| +000001a0 01 05 05 07 03 01 06 08 2b 06 01 05 05 07 03 02 |........+.......| +000001b0 30 0c 06 03 55 1d 13 01 01 ff 04 02 30 00 30 19 |0...U.......0.0.| +000001c0 06 03 55 1d 0e 04 12 04 10 9f 91 16 1f 43 43 3e |..U..........CC>| +000001d0 49 a6 de 6d b6 80 d7 9f 60 30 1b 06 03 55 1d 23 |I..m....`0...U.#| +000001e0 04 14 30 12 80 10 48 13 49 4d 13 7e 16 31 bb a3 |..0...H.IM.~.1..| +000001f0 01 d5 ac ab 6e 7b 30 19 06 03 55 1d 11 04 12 30 |....n{0...U....0| +00000200 10 82 0e 65 78 61 6d 70 6c 65 2e 67 6f 6c 61 6e |...example.golan| +00000210 67 30 0d 06 09 2a 86 48 86 f7 0d 01 01 0b 05 00 |g0...*.H........| +00000220 03 81 81 00 9d 30 cc 40 2b 5b 50 a0 61 cb ba e5 |.....0.@+[P.a...| +00000230 53 58 e1 ed 83 28 a9 58 1a a9 38 a4 95 a1 ac 31 |SX...(.X..8....1| +00000240 5a 1a 84 66 3d 43 d3 2d d9 0b f2 97 df d3 20 64 |Z..f=C.-...... d| +00000250 38 92 24 3a 00 bc cf 9c 7d b7 40 20 01 5f aa d3 |8.$:....}.@ ._..| +00000260 16 61 09 a2 76 fd 13 c3 cc e1 0c 5c ee b1 87 82 |.a..v......\....| +00000270 f1 6c 04 ed 73 bb b3 43 77 8d 0c 1c f1 0f a1 d8 |.l..s..Cw.......| +00000280 40 83 61 c9 4c 72 2b 9d ae db 46 06 06 4d f4 c1 |@.a.Lr+...F..M..| +00000290 b3 3e c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 |.>...B...=.`.\!.| +000002a0 3b e9 fa e7 16 03 03 00 ac 0c 00 00 a8 03 00 1d |;...............| +000002b0 20 32 9c 01 0a b4 71 d0 4c 11 d4 1b ed f0 bb 15 | 2....q.L.......| +000002c0 42 44 ca 6e ac ef 80 81 47 00 98 91 6b ca f9 84 |BD.n....G...k...| +000002d0 07 04 01 00 80 b7 c7 38 7c 11 6a 91 ac 5f cd 5a |.......8|.j.._.Z| +000002e0 2f ba 43 19 29 13 90 36 e3 6d 70 26 f3 b1 22 ac |/.C.)..6.mp&..".| +000002f0 bf 18 df a6 4e e4 ca db a0 3c 9f 09 c0 54 b3 46 |....N....<...T.F| +00000300 bb f0 73 9d 7d 3e 48 4c 62 19 81 1a 35 12 48 83 |..s.}>HLb...5.H.| +00000310 b1 38 55 9e 15 ff d5 87 f7 4a fb 08 a0 f4 83 19 |.8U......J......| +00000320 74 e4 13 dc 86 6a fc a3 6c ea fa 51 bf 19 28 52 |t....j..l..Q..(R| +00000330 71 ee 62 e8 2f 0f 0e 69 66 23 00 57 9b 9b d4 52 |q.b./..if#.W...R| +00000340 20 6b e2 ec 43 f5 f1 81 4f 60 ff 21 f4 c5 2b 77 | k..C...O`.!..+w| +00000350 34 3d 7f c1 d6 16 03 03 00 04 0e 00 00 00 |4=............| +>>> 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 28 00 00 00 00 00 00 00 00 84 2c 29 |....(.........,)| +00000040 c1 95 98 9f 48 f1 56 1e 10 25 91 67 21 0e f8 39 |....H.V..%.g!..9| +00000050 d4 d6 d6 29 61 e3 5c 94 75 9d b7 5f c3 |...)a.\.u.._.| +>>> Flow 4 (server to client) +00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 c9 |............ ...| +00000010 ae ac 2f fe 3a 8c af 7a e9 8c 8f cd c7 f1 5c b0 |../.:..z......\.| +00000020 68 b4 9a 43 70 ad 94 e9 ab 83 f2 54 3e fa f0 ea |h..Cp......T>...| +00000030 c0 dc 3d 2a 84 75 50 71 4d ef 41 91 b1 52 2d ec |..=*.uPqM.A..R-.| +00000040 00 93 07 16 68 aa d3 10 f7 23 26 78 da 12 68 e0 |....h....#&x..h.| +00000050 4c ab c3 8f e8 0d 30 fe 6f 08 96 50 12 e1 c2 18 |L.....0.o..P....| +00000060 6c e2 b6 96 d6 e0 d7 08 58 06 7d bb d2 a9 54 71 |l.......X.}...Tq| +00000070 b1 12 e3 61 60 2b b4 8b 45 24 a9 52 05 d5 f4 da |...a`+..E$.R....| +00000080 12 25 c9 84 85 29 3e 03 6e 53 6e a1 8c 31 a6 c2 |.%...)>.nSn..1..| +00000090 82 99 30 73 86 98 3d df b6 fc c3 4e c3 c4 d5 44 |..0s..=....N...D| +000000a0 8d d0 9f ee f0 af d0 1e 84 33 27 35 83 85 68 14 |.........3'5..h.| +000000b0 c2 3b ec c5 8e 96 97 6f 6b ef 77 18 95 33 c0 14 |.;.....ok.w..3..| +000000c0 03 03 00 01 01 16 03 03 00 28 2d 9e e6 e4 9f c9 |.........(-.....| +000000d0 6b a0 4e 73 b8 3a c6 73 a4 fe 48 4e d9 4c a4 6e |k.Ns.:.s..HN.L.n| +000000e0 2a e7 6a 77 28 43 1a 5d 68 1e db 86 96 fe fa bc |*.jw(C.]h.......| +000000f0 4d 74 |Mt| +>>> Flow 5 (client to server) +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 ea bb 0a |................| +00000010 3d a2 0d 4a 35 50 0d fd af e8 f4 05 c2 b7 9f 3f |=..J5P.........?| +00000020 80 0a a9 15 03 03 00 1a 00 00 00 00 00 00 00 02 |................| +00000030 63 9b 0d 07 b1 df ba e6 88 0e 76 39 a1 d9 f6 e8 |c.........v9....| +00000040 de e8 |..| diff --git a/u_conn_test.go b/u_conn_test.go index 3fab756..e69296b 100644 --- a/u_conn_test.go +++ b/u_conn_test.go @@ -16,14 +16,6 @@ import ( "time" ) -/* -TODO: -Reuse examples in tests? -Add tests for randomized and no parrot -Add session ticket tests -Add set client random tests -*/ - func TestUTLSMarshalNoOp(t *testing.T) { // we rely on str := "We rely on clientHelloMsg.marshal() not doing anything if clientHelloMsg.raw is set" @@ -38,173 +30,6 @@ func TestUTLSMarshalNoOp(t *testing.T) { } } -func runUTLSClientTestForVersion(t *testing.T, template *clientTest, prefix, option string, helloID ClientHelloID) { - test := *template - test.name = prefix + test.name - if len(test.command) == 0 { - test.command = defaultClientCommand - } - test.command = append([]string(nil), test.command...) - test.command = append(test.command, option) - test.runUTLS(t, *update, helloID) -} - -func runUTLSClientTestTLS12(t *testing.T, template *clientTest, helloID ClientHelloID) { - runUTLSClientTestForVersion(t, template, "TLSv12-", "-tls1_2", helloID) -} - -func (test *clientTest) runUTLS(t *testing.T, write bool, helloID ClientHelloID) { - checkOpenSSLVersion(t) - - var clientConn, serverConn net.Conn - var recordingConn *recordingConn - var childProcess *exec.Cmd - var stdin opensslInput - var stdout *opensslOutputSink - - if write { - var err error - recordingConn, childProcess, stdin, stdout, err = test.connFromCommand() - if err != nil { - t.Fatalf("Failed to start subcommand: %s", err) - } - clientConn = recordingConn - } else { - clientConn, serverConn = net.Pipe() - } - - config := test.config - if config == nil { - t.Error("Explicit config is mandatory") - return - } - client := UClient(clientConn, config, helloID) - - doneChan := make(chan bool) - go func() { - defer func() { doneChan <- true }() - defer clientConn.Close() - defer client.Close() - - err := client.Handshake() - if err != nil { - t.Errorf("Client.Handshake() failed: %s", err) - return - } - - if _, err := client.Write([]byte("hello\n")); err != nil { - t.Errorf("Client.Write failed: %s", err) - return - } - - for i := 1; i <= test.numRenegotiations; i++ { - // The initial handshake will generate a - // handshakeComplete signal which needs to be quashed. - if i == 1 && write { - <-stdout.handshakeComplete - } - - // OpenSSL will try to interleave application data and - // a renegotiation if we send both concurrently. - // Therefore: ask OpensSSL to start a renegotiation, run - // a goroutine to call client.Read and thus process the - // renegotiation request, watch for OpenSSL's stdout to - // indicate that the handshake is complete and, - // finally, have OpenSSL write something to cause - // client.Read to complete. - if write { - stdin <- opensslRenegotiate - } - - signalChan := make(chan struct{}) - - go func() { - defer func() { signalChan <- struct{}{} }() - - buf := make([]byte, 256) - n, err := client.Read(buf) - - if test.checkRenegotiationError != nil { - newErr := test.checkRenegotiationError(i, err) - if err != nil && newErr == nil { - return - } - err = newErr - } - - if err != nil { - t.Errorf("Client.Read failed after renegotiation #%d: %s", i, err) - return - } - - buf = buf[:n] - if !bytes.Equal([]byte(opensslSentinel), buf) { - t.Errorf("Client.Read returned %q, but wanted %q", string(buf), opensslSentinel) - } - - if expected := i + 1; client.handshakes != expected { - t.Errorf("client should have recorded %d handshakes, but believes that %d have occurred", expected, client.handshakes) - } - }() - - if write && test.renegotiationExpectedToFail != i { - <-stdout.handshakeComplete - stdin <- opensslSendSentinel - } - <-signalChan - } - - if test.validate != nil { - if err := test.validate(client.ConnectionState()); err != nil { - t.Errorf("validate callback returned error: %s", err) - } - } - }() - - if !write { - flows, err := test.loadData() - if err != nil { - t.Fatalf("%s: failed to load data from %s: %v", test.name, test.dataPath(), err) - } - for i, b := range flows { - if i%2 == 1 { - serverConn.Write(b) - continue - } - bb := make([]byte, len(b)) - _, err := io.ReadFull(serverConn, bb) - if err != nil { - t.Fatalf("%s #%d: %s", test.name, i, err) - } - if !bytes.Equal(b, bb) { - t.Fatalf("%s #%d: mismatch on read: got:%x want:%x", test.name, i, bb, b) - } - } - serverConn.Close() - } - - <-doneChan - - if write { - path := test.dataPath() - out, err := os.OpenFile(path, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0644) - if err != nil { - t.Fatalf("Failed to create output file: %s", err) - } - defer out.Close() - recordingConn.Close() - close(stdin) - childProcess.Process.Kill() - childProcess.Wait() - if len(recordingConn.flows) < 3 { - os.Stdout.Write(childProcess.Stdout.(*opensslOutputSink).all) - t.Fatalf("Client connection didn't work") - } - recordingConn.WriteTo(out) - fmt.Printf("Wrote %s\n", path) - } -} - func TestUTLSHandshakeClientParrotAndroid_5_1(t *testing.T) { helloID := HelloAndroid_5_1_Browser @@ -222,6 +47,22 @@ func TestUTLSHandshakeClientParrotAndroid_5_1(t *testing.T) { testUTLSHandshakeClientRSA_AES128_GCM_SHA256(t, helloID) } +func TestUTLSHandshakeClientParrotGolang(t *testing.T) { + helloID := HelloGolang + + testUTLSHandshakeClientECDHE_ECDSA_WITH_CHACHA20_POLY1305(t, helloID) + testUTLSHandshakeClientECDHE_RSA_WITH_CHACHA20_POLY1305(t, helloID) + + testUTLSHandshakeClientECDHE_RSA_AES128_GCM_SHA256(t, helloID) + testUTLSHandshakeClientECDHE_ECDSA_AES128_GCM_SHA256(t, helloID) + testUTLSHandshakeClientECDHE_RSA_AES256_CBC_SHA(t, helloID) + testUTLSHandshakeClientECDHE_ECDSA_AES256_CBC_SHA(t, helloID) + testUTLSHandshakeClientECDHE_RSA_AES128_CBC_SHA(t, helloID) + testUTLSHandshakeClientECDHE_ECDSA_AES128_CBC_SHA(t, helloID) + + testUTLSHandshakeClientRSA_AES128_GCM_SHA256(t, helloID) +} + func TestUTLSHandshakeClientParrotAndroid_6_0(t *testing.T) { helloID := HelloAndroid_6_0_Browser // TODO: EC tests below are disabled because latest version of reference OpenSSL doesn't support p256 nor p384 @@ -279,9 +120,31 @@ func TestUTLSHandshakeClientParrotFirefox_55(t *testing.T) { testUTLSHandshakeClientECDHE_RSA_AES128_CBC_SHA(t, helloID) } +func TestUTLSHandshakeClientParrotChrome_58_setclienthello(t *testing.T) { + helloID := HelloChrome_58 + config := getUTLSTestConfig() + + opensslCipherName := "ECDHE-RSA-AES128-GCM-SHA256" + test := &clientTest{ + name: "UTLS-setclienthello-" + opensslCipherName + "-" + helloID.Str(), + command: []string{"openssl", "s_server", "-cipher", opensslCipherName}, + config: config, + } + + runUTLSClientTestTLS12(t, test, helloID) +} + +/* +* + HELPER FUNCTIONS BELOW +* +*/ + func getUTLSTestConfig() *Config { testUTLSConfig := &Config{ - Time: func() time.Time { return time.Unix(0, 0) }, + Time: func() time.Time { + return time.Unix(0, 0) + }, Rand: zeroSource{}, InsecureSkipVerify: true, MinVersion: VersionSSL30, @@ -437,3 +300,182 @@ func testUTLSHandshakeClientECDHE_ECDSA_WITH_CHACHA20_POLY1305(t *testing.T, hel runUTLSClientTestTLS12(t, test, helloID) } + +func runUTLSClientTestForVersion(t *testing.T, template *clientTest, prefix, option string, helloID ClientHelloID) { + test := *template + test.name = prefix + test.name + if len(test.command) == 0 { + test.command = defaultClientCommand + } + test.command = append([]string(nil), test.command...) + test.command = append(test.command, option) + test.runUTLS(t, *update, helloID) +} + +func runUTLSClientTestTLS12(t *testing.T, template *clientTest, helloID ClientHelloID) { + runUTLSClientTestForVersion(t, template, "TLSv12-", "-tls1_2", helloID) +} + +func (test *clientTest) runUTLS(t *testing.T, write bool, helloID ClientHelloID) { + checkOpenSSLVersion(t) + + var clientConn, serverConn net.Conn + var recordingConn *recordingConn + var childProcess *exec.Cmd + var stdin opensslInput + var stdout *opensslOutputSink + + if write { + var err error + recordingConn, childProcess, stdin, stdout, err = test.connFromCommand() + if err != nil { + t.Fatalf("Failed to start subcommand: %s", err) + } + clientConn = recordingConn + } else { + clientConn, serverConn = net.Pipe() + } + + config := test.config + if config == nil { + t.Error("Explicit config is mandatory") + return + } + client := UClient(clientConn, config, helloID) + if strings.HasPrefix(test.name, "TLSv12-UTLS-setclienthello-") { + // TODO: fix this name hack if we ever decide to use non-standard testing object + err := client.SetClientRandom([]byte("Custom ClientRandom h^xbw8bf0sn3")) + if err != nil { + t.Errorf("Client.SetClientRandom() failed: %s", err) + return + } + } + + doneChan := make(chan bool) + go func() { + defer func() { + doneChan <- true + }() + defer clientConn.Close() + defer client.Close() + + err := client.Handshake() + if err != nil { + t.Errorf("Client.Handshake() failed: %s", err) + return + } + + if _, err := client.Write([]byte("hello\n")); err != nil { + t.Errorf("Client.Write failed: %s", err) + return + } + + for i := 1; i <= test.numRenegotiations; i++ { + // The initial handshake will generate a + // handshakeComplete signal which needs to be quashed. + if i == 1 && write { + <-stdout.handshakeComplete + } + + // OpenSSL will try to interleave application data and + // a renegotiation if we send both concurrently. + // Therefore: ask OpensSSL to start a renegotiation, run + // a goroutine to call client.Read and thus process the + // renegotiation request, watch for OpenSSL's stdout to + // indicate that the handshake is complete and, + // finally, have OpenSSL write something to cause + // client.Read to complete. + if write { + stdin <- opensslRenegotiate + } + + signalChan := make(chan struct{}) + + go func() { + defer func() { + signalChan <- struct{}{} + }() + + buf := make([]byte, 256) + n, err := client.Read(buf) + + if test.checkRenegotiationError != nil { + newErr := test.checkRenegotiationError(i, err) + if err != nil && newErr == nil { + return + } + err = newErr + } + + if err != nil { + t.Errorf("Client.Read failed after renegotiation #%d: %s", i, err) + return + } + + buf = buf[:n] + if !bytes.Equal([]byte(opensslSentinel), buf) { + t.Errorf("Client.Read returned %q, but wanted %q", string(buf), opensslSentinel) + } + + if expected := i + 1; client.handshakes != expected { + t.Errorf("client should have recorded %d handshakes, but believes that %d have occurred", expected, client.handshakes) + } + }() + + if write && test.renegotiationExpectedToFail != i { + <-stdout.handshakeComplete + stdin <- opensslSendSentinel + } + <-signalChan + } + + if test.validate != nil { + if err := test.validate(client.ConnectionState()); err != nil { + t.Errorf("validate callback returned error: %s", err) + } + } + }() + + if !write { + flows, err := test.loadData() + if err != nil { + t.Fatalf("%s: failed to load data from %s: %v", test.name, test.dataPath(), err) + } + for i, b := range flows { + if i%2 == 1 { + serverConn.Write(b) + continue + } + bb := make([]byte, len(b)) + _, err := io.ReadFull(serverConn, bb) + if err != nil { + t.Fatalf("%s #%d: %s", test.name, i, err) + } + if !bytes.Equal(b, bb) { + t.Fatalf("%s #%d: mismatch on read: got:%x want:%x", test.name, i, bb, b) + } + } + serverConn.Close() + } + + <-doneChan + + if write { + path := test.dataPath() + out, err := os.OpenFile(path, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0644) + if err != nil { + t.Fatalf("Failed to create output file: %s", err) + } + defer out.Close() + recordingConn.Close() + close(stdin) + childProcess.Process.Kill() + childProcess.Wait() + if len(recordingConn.flows) < 3 { + os.Stdout.Write(childProcess.Stdout.(*opensslOutputSink).all) + t.Fatalf("Client connection didn't work") + } + recordingConn.WriteTo(out) + fmt.Printf("Wrote %s\n", path) + } +}