XPlus obfs & don't frag

This commit is contained in:
Toby
2021-04-19 20:52:50 -07:00
parent eb9006bd0d
commit b80db1fc19
11 changed files with 173 additions and 14 deletions

View File

@@ -68,7 +68,7 @@ func client(config *clientConfig) {
// Obfuscator
var obfuscator core.Obfuscator
if len(config.Obfs) > 0 {
obfuscator = obfs.XORObfuscator(config.Obfs)
obfuscator = obfs.NewXPlusObfuscator([]byte(config.Obfs))
}
// ACL
var aclEngine *acl.Engine