@ -73,6 +73,10 @@ def check_config(config):
if config.get('timeout', 300) > 600:
logging.warn('warning: your timeout %d seems too long' %
int(config.get('timeout')))
if config.get('password') in ['mypassword', 'barfoo!']:
logging.error('DON\'T USE DEFAULT PASSWORD! Please change it in your '
'config.json!')
exit(1)
def get_config(is_local):
@ -2,7 +2,7 @@
"server":"127.0.0.1",
"server_port":8388,
"local_port":1081,
"password":"barfoo!",
"password":"aes_password",
"timeout":60,
"method":"aes-256-cfb",
"local_address":"127.0.0.1",
"password":"fastopen_password",
"password":"salsa20_password",
"method":"salsa20-ctr",
"password":"table_password",
"method":"table",
"password":"workers_password",