@ -66,6 +66,11 @@ def main():
tcp_server.start()
for udp_server in udp_servers:
udp_server.start()
try:
while sys.stdin.read():
pass
except KeyboardInterrupt:
os._exit(0)
if int(config['workers']) > 1:
if os.name == 'posix':
@ -1,7 +1,7 @@
{
"server":"127.0.0.1",
"server_port":8388,
"local_port":1080,
"local_port":1081,
"password":"barfoo!",
"timeout":300,
"method":"aes-256-cfb",
"method":"salsa20-ctr",
"server": "127.0.0.1",
"server_port": 8384,
"local_port": 1080,
"local_port": 1081,
"password": "foobar4",
"port_password": {
"8381": "foobar1",
"method":"table",