|
@ -249,32 +249,24 @@ def main(): |
|
|
'+2': 'tls1.2_ticket_auth_compatible', |
|
|
'+2': 'tls1.2_ticket_auth_compatible', |
|
|
'2': 'tls1.2_ticket_auth'} |
|
|
'2': 'tls1.2_ticket_auth'} |
|
|
fast_set_protocol = {'0': 'origin', |
|
|
fast_set_protocol = {'0': 'origin', |
|
|
'+ota': 'verify_sha1_compatible', |
|
|
|
|
|
'ota': 'verify_sha1', |
|
|
|
|
|
'a1': 'auth_sha1', |
|
|
|
|
|
'+a1': 'auth_sha1_compatible', |
|
|
|
|
|
'a2': 'auth_sha1_v2', |
|
|
|
|
|
'+a2': 'auth_sha1_v2_compatible', |
|
|
|
|
|
'a4': 'auth_sha1_v4', |
|
|
'a4': 'auth_sha1_v4', |
|
|
'+a4': 'auth_sha1_v4_compatible', |
|
|
'+a4': 'auth_sha1_v4_compatible', |
|
|
'am': 'auth_aes128_md5', |
|
|
'am': 'auth_aes128_md5', |
|
|
'as': 'auth_aes128_sha1', |
|
|
'as': 'auth_aes128_sha1', |
|
|
|
|
|
'ca': 'auth_chain_a', |
|
|
} |
|
|
} |
|
|
fast_set_method = {'a0': 'aes-128-cfb', |
|
|
fast_set_method = {'0': 'none', |
|
|
'a1': 'aes-192-cfb', |
|
|
'a1c': 'aes-128-cfb', |
|
|
'a2': 'aes-256-cfb', |
|
|
'a2c': 'aes-192-cfb', |
|
|
|
|
|
'a3c': 'aes-256-cfb', |
|
|
'r': 'rc4-md5', |
|
|
'r': 'rc4-md5', |
|
|
'r6': 'rc4-md5-6', |
|
|
'r6': 'rc4-md5-6', |
|
|
'c': 'chacha20', |
|
|
'c': 'chacha20', |
|
|
'ci': 'chacha20-ietf', |
|
|
'ci': 'chacha20-ietf', |
|
|
's': 'salsa20', |
|
|
's': 'salsa20', |
|
|
'b': 'bf-cfb', |
|
|
'a1': 'aes-128-ctr', |
|
|
'm0': 'camellia-128-cfb', |
|
|
'a2': 'aes-192-ctr', |
|
|
'm1': 'camellia-192-cfb', |
|
|
'a3': 'aes-256-ctr'} |
|
|
'm2': 'camellia-256-cfb', |
|
|
|
|
|
'a0t': 'aes-128-ctr', |
|
|
|
|
|
'a1t': 'aes-192-ctr', |
|
|
|
|
|
'a2t': 'aes-256-ctr'} |
|
|
|
|
|
try: |
|
|
try: |
|
|
optlist, args = getopt.getopt(sys.argv[1:], shortopts, longopts) |
|
|
optlist, args = getopt.getopt(sys.argv[1:], shortopts, longopts) |
|
|
for key, value in optlist: |
|
|
for key, value in optlist: |
|
|