Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gq-client 1.1.1+ cannot work under macOS #37

Open
silent-x opened this issue Aug 17, 2018 · 3 comments
Open

gq-client 1.1.1+ cannot work under macOS #37

silent-x opened this issue Aug 17, 2018 · 3 comments

Comments

@silent-x
Copy link

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
Copy link
Author

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.

@cbeuw
Copy link
Owner

cbeuw commented Aug 20, 2018

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

@silent-x
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants