-
Notifications
You must be signed in to change notification settings - Fork 8k
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
Supports simple-obfs with SIP003 #587
Conversation
Good Job! |
thank you @timothyqiu |
@timothyqiu -- BAD ASS! |
@timothyqiu Thanks! Is it possible for you to provide the compiled dmg version on your git page? |
Did this ever get merged? |
life time~ |
@timothyqiu -- did you consider requesting the repo admin to review? He's not been requested. |
@ortonomy I thought creating a pull request without saying "WIP" means requesting review... 😅 Anyway, recent commits in the @qiuyuzhou Please review. |
@timothyqiu Thanks for requesting the review. The latest Obfs plugin version was 0.05. Do you think it's necessary to update it to 0.05? I looked through it briefly and it seemed like the differences were a failover option and multiple bug fixes. |
@g3org3z I think 0.0.2 may be better because the There's also another consideration: |
@timothyqiu 有 dmg 输出么,貌似这里都不维护了,作者都不管 |
thx |
This PR hopefully resolves #406 and #576
To use
simple-obfs
, open the Server Preferences window, set the text fields to something like:obfs-local
obfs=http;obfs-host=www.bing.com
I took the prebuilt
obfs-local
binary from Homebrew bintray. Version 0.0.2 for El Capitan is used because it's the version withss-local
3.0.5 andREADME.md
says macOS 10.11+ is supported.Changes to the
~/Library/Application Support/ShadowsocksX-NG
directory:simple-obfs-0.0.2/obfs-local
will be copied from the main bundleplugins/obfs-local
will be a symlink tosimple-obfs-0.0.2/obfs-local
Two extra fields are added to
ServerProfile
:plugin
andpluginOptions
, they will be serialized to theUserDefaults
asPlugin
andPluginOptions
.The JSON config will also have
plugin
andplugin_opts
ifplugin
is not empty. Theplugin
field in JSON config will have aplugins
prefix (i.e.plugins/obfs-local
ifplugin
is set toobfs-local
). This is required sincess-local
only searches for the plugin inPATH
.The SIP002 QR code can be scanned correctly by the latest Android Shadowsocks client.
Something that can be fixed / done in the future:
plugins
directory.)plugins/
prefix to theplugin
config?