From 959aad3f412808f6fd2aa522a790ce29786cf60c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=B4=E5=A8=83=E9=85=B1?= Date: Wed, 4 Jan 2017 22:46:39 +0800 Subject: [PATCH] multiuser in single port protocol --- shadowsocks/obfsplugin/auth.py | 31 ++++++++---- shadowsocks/obfsplugin/plain.py | 5 +- shadowsocks/obfsplugin/verify.py | 8 +-- shadowsocks/tcprelay.py | 48 +++++++++++++++++- shadowsocks/udprelay.py | 84 ++++++++++++++++++++++++++------ 5 files changed, 144 insertions(+), 32 deletions(-) diff --git a/shadowsocks/obfsplugin/auth.py b/shadowsocks/obfsplugin/auth.py index 081fe9d..0244680 100644 --- a/shadowsocks/obfsplugin/auth.py +++ b/shadowsocks/obfsplugin/auth.py @@ -1103,8 +1103,8 @@ class auth_aes128(auth_base): length = len(buf) data = buf[:-4] if struct.pack('