remove auth_sha1, auth_sha1_v2, verify_simple, auth_simple, verify_sha1
remove TCP over UDP add UDP part of auth_chain_a
This commit is contained in:
+2
-2
@@ -6,7 +6,7 @@ import time
|
||||
import sys
|
||||
from server_pool import ServerPool
|
||||
import traceback
|
||||
from shadowsocks import common, shell, lru_cache
|
||||
from shadowsocks import common, shell, lru_cache, obfs
|
||||
from configloader import load_config, get_config
|
||||
import importloader
|
||||
|
||||
@@ -123,7 +123,7 @@ class TransferBase(object):
|
||||
|
||||
if allow:
|
||||
allow_users[port] = passwd
|
||||
if 'protocol' in cfg and 'protocol_param' in cfg and common.to_str(cfg['protocol']) in ['auth_aes128_md5', 'auth_aes128_sha1']:
|
||||
if 'protocol' in cfg and 'protocol_param' in cfg and common.to_str(cfg['protocol']) in obfs.mu_protocol():
|
||||
if '#' in common.to_str(cfg['protocol_param']):
|
||||
mu_servers[port] = passwd
|
||||
del allow_users[port]
|
||||
|
||||
Reference in New Issue
Block a user