Skip to content

Commit

Permalink
add auth_akarin
Browse files Browse the repository at this point in the history
  • Loading branch information
AkaneAkaza committed May 30, 2018
1 parent c22abf0 commit 08b8802
Show file tree
Hide file tree
Showing 4 changed files with 807 additions and 4 deletions.
7 changes: 5 additions & 2 deletions shadowsocks/obfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import logging

from shadowsocks import common
from shadowsocks.obfsplugin import plain, http_simple, obfs_tls, verify, auth, auth_chain
from shadowsocks.obfsplugin import plain, http_simple, obfs_tls, verify, auth, auth_chain, auth_akarin


method_supported = {}
Expand All @@ -33,9 +33,12 @@
method_supported.update(verify.obfs_map)
method_supported.update(auth.obfs_map)
method_supported.update(auth_chain.obfs_map)
method_supported.update(auth_akarin.obfs_map)

def mu_protocol():
return ["auth_aes128_md5", "auth_aes128_sha1", "auth_chain_a", "auth_chain_b", "auth_chain_c", "auth_chain_d", "auth_chain_e"]
return {"auth_aes128_md5", "auth_aes128_sha1",
"auth_chain_a", "auth_chain_b", "auth_chain_c", "auth_chain_d", "auth_chain_e", "auth_chain_f",
"auth_akarin_rand", "auth_akarin_spec_a"}

class server_info(object):
def __init__(self, data):
Expand Down
Loading

0 comments on commit 08b8802

Please sign in to comment.