Add base for faketls

This commit is contained in:
9seconds
2019-11-04 16:07:20 +03:00
parent f531d90fc4
commit 1e428e13fc
7 changed files with 370 additions and 40 deletions
+21
View File
@@ -0,0 +1,21 @@
package faketls
const (
TLSHandshakeLength = 1 + 2 + 2 + 512
)
var (
faketlsStartBytes = [...]byte{
0x16,
0x03,
0x01,
0x02,
0x00,
0x01,
0x00,
0x01,
0xfc,
0x03,
0x03,
}
)