-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathwithout-tls
24 lines (19 loc) · 1.58 KB
/
without-tls
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
handshake
readPacket
===> read hdr len=4, []byte{0x5b, 0x0, 0x0, 0x0}
===> read data data* len=91 []byte{0xa, 0x35, 0x2e, 0x37, 0x2e, 0x32, 0x33, 0x2d, 0x30, 0x75, 0x62, 0x75, 0x6e, 0x74, 0x75, 0x30, 0x2e, 0x31, 0x36, 0x2e, 0x30, 0x34, 0x2e, 0x31, 0x0, 0x35, 0x0, 0x0, 0x0, 0x4d, 0x2f, 0x8, 0x51, 0x11, 0x41, 0x38, 0x65, 0x0, 0xff, 0xff, 0x8, 0x2, 0x0, 0xff, 0xc1, 0x15, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2e, 0x6, 0x71, 0x51, 0x1, 0x73, 0xf, 0x1a, 0x5d, 0x64, 0x66, 0x47, 0x0, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x5f, 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x0}
writeHandshakeResponsePacket
no tls
writePacket
===> writing data len=88 []byte{0x54, 0x0, 0x0, 0x1, 0x8d, 0xa2, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0, 0x21, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x72, 0x6f, 0x6f, 0x74, 0x0, 0x14, 0xa1, 0xbc, 0xaa, 0xee, 0x82, 0x54, 0xe6, 0xad, 0x64, 0x94, 0x8b, 0x1d, 0x84, 0x11, 0x7b, 0x7f, 0xf0, 0x2a, 0x3f, 0x83, 0x66, 0x6f, 0x6f, 0x0, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x5f, 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x0}
readPacket
===> read hdr len=4, []byte{0x7, 0x0, 0x0, 0x2}
===> read data data* len=7 []byte{0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x0}
writePacket
===> writing data len=5 []byte{0x1, 0x0, 0x0, 0x0, 0xe}
readPacket
===> read hdr len=4, []byte{0x7, 0x0, 0x0, 0x1}
===> read data data* len=7 []byte{0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x0}
success withot tls
writePacket
===> writing data len=5 []byte{0x1, 0x0, 0x0, 0x0, 0x1}