From 308865730930c2f5a9b4f0afccb47f887c068056 Mon Sep 17 00:00:00 2001 From: thomashuang Date: Sat, 22 Feb 2014 02:41:26 +0800 Subject: [PATCH] Fix kep default options consistent --- shadowsocks/local.py | 12 ++++++------ shadowsocks/server.py | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/shadowsocks/local.py b/shadowsocks/local.py index a7da88b..d2e6bcd 100755 --- a/shadowsocks/local.py +++ b/shadowsocks/local.py @@ -176,12 +176,12 @@ class ShadowSocksServer(object): def default_options(self): return { - "server": "127.0.0.1", - "server_port": 8388, - "local_port": 1081, - "password": "Keep Your Password", - "timeout": 60, - "method": "aes-128-cfb", + "server":"localhost", + "server_port":8388, + "local_port":1080, + "password":"barfoo!", + "timeout":600, + "method":"table" "IPv6": False } diff --git a/shadowsocks/server.py b/shadowsocks/server.py index 1e2d780..ccbb50a 100755 --- a/shadowsocks/server.py +++ b/shadowsocks/server.py @@ -137,12 +137,12 @@ class ShadowSocksServer(object): def default_options(self): return { - "server": "127.0.0.1", - "server_port": 8388, - "local_port": 1081, - "password": "Keep Your Password", - "timeout": 60, - "method": "aes-128-cfb", + "server":"localhost", + "server_port":8388, + "local_port":1080, + "password":"barfoo!", + "timeout":600, + "method":"table" "IPv6": False }