GoQuiet icon indicating copy to clipboard operation
GoQuiet copied to clipboard

gq-client 1.1.1+ cannot work under macOS

Open silent-x opened this issue 7 years ago • 3 comments

Hi,

First of all. Thanks for the developing an useful obfuscating plugin. I've almost deployed the latest(some from 1.1.2, some from my own build) to all my devices, server, arm and mips32 router, x86 nas. All of them work perfectly.

The only issue I met is 1.1.1+ version could not work under the macOS. Please kindly take a look. Thanks!

shadowsocks-libev 3.2.0

macOS 10.13.6

my client config { "ServerName": "www.apple.com", "Key": "********", "TicketTimeHint": 3600, "Browser": "chrome", "FastOpen": true }

my server config

{ "WebServerAddr":"23.203.245.14:443", "Key":"********", "FastOpen":false }

1.0.2 version works correctly ./gq-client-mac64-1.0.2 -c ./goquiet.json -l 11111 -p 443 -s myserver.com 2018/08/17 11:18:09 Starting standalone mode. Listening for ss on 127.0.0.1:11111

1.1.1 version cannot work ./gq-client-mac64-1.1.1 -c ./goquiet.json -l 11111 -p 443 -s myserver.com 2018/08/17 11:16:54 Starting standalone mode. Listening for ss on 127.0.0.1:11111 2018/08/17 11:16:54 protocol not available

silent-x avatar Aug 17 '18 03:08 silent-x

Just read the changes between 1.0.2 and 1.1.1. Looks this issue is caused by the FastOpen feature. It could work when the FastOpen is set to false in the client config.

silent-x avatar Aug 17 '18 03:08 silent-x

Thanks for your support!

Yes the issue lies with the TCP FastOpen feature. Maybe FastOpen is disabled at the OS level. Can you post the terminal output of

sysctl -a | grep fastopen

cbeuw avatar Aug 20 '18 11:08 cbeuw

The FastOpen should be enabled as shadowsocks-libev also has this configuration point, I've set it to True and no warning comes up.

Here's what I got. Hope this could help.

sudo sysctl -a |grep fastopen net.inet.tcp.fastopen_backlog: 10 net.inet.tcp.fastopen: 3

silent-x avatar Aug 20 '18 12:08 silent-x