Shadowsocksx-ng: 全局模式下只有浏览器有效、terminal 和APP都无效

Created on 26 Sep 2018  ·  6Comments  ·  Source: shadowsocks/ShadowsocksX-NG

Describe the bug

全局模式下只有浏览器有效、terminal 和APP都无效
To Reproduce
mac 10.13 没问题 10.14 有问题,查看配置 均在代理中有加,但终端内查看外网IP 还是原有IP。

Expected behavior
全局模式下,所有app 都是用sock5 进行访问

Screenshots
image

System and Shadowsocksx-NG version: (please complete the following information):

  • OS Version: [e.g. 10.13.1]
  • Version [e.g. 22]

ss-local.log
2018-09-26 21:29:44 INFO: initializing ciphers... aes-256-cfb
2018-09-26 21:29:44 INFO: listening at 127.0.0.1:1086
2018-09-26 21:29:44 INFO: tcp port reuse enabled

Application log

默认  21:29:44.034727 +0800   launchservicesd CHECKIN:0x0-0x50050 1163 com.qiuyuzhou.ShadowsocksX-NG
错误  21:29:44.076232 +0800   ShadowsocksX-NG         AEGetDescData of non-desc type 'reco' not a good idea
默认  21:29:44.097362 +0800   ShadowsocksX-NG Call SMLoginItemSetEnabled with [0] success
默认  21:29:44.163122 +0800   ShadowsocksX-NG Install ss-local succeeded.
默认  21:29:44.228659 +0800   ShadowsocksX-NG Install simple-obfs succeeded.
默认  21:29:44.292985 +0800   ShadowsocksX-NG generateSSLocalLauchAgentPlist - File has not been changed.
默认  21:29:44.294041 +0800   ShadowsocksX-NG writeSSLocalConfFile - File has not been changed.
默认  21:29:44.344658 +0800   ShadowsocksX-NG Start ss-local succeeded.
默认  21:29:44.414066 +0800   ShadowsocksX-NG Start privoxy succeeded.
默认  21:29:44.414389 +0800   ShadowsocksX-NG run shadowsocks helper: /Library/Application Support/ShadowsocksX-NG/proxy_conf_helper
默认  21:29:44.467446 +0800   authd   Succeeded authorizing right 'system.services.systemconfiguration.network' by client '/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/Helpers/SCHelper' [1113] for authorization created by '/Library/Application Support/ShadowsocksX-NG/proxy_conf_helper' [1196] (3,0)
默认  21:29:44.482011 +0800   authd   Succeeded authorizing right 'system.services.systemconfiguration.network' by client '/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/Helpers/SCHelper' [1113] for authorization created by '/Library/Application Support/ShadowsocksX-NG/proxy_conf_helper' [1196] (3,0)
默认  21:29:44.499554 +0800   authd   Succeeded authorizing right 'system.services.systemconfiguration.network' by client '/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/Helpers/SCHelper' [1113] for authorization created by '/Library/Application Support/ShadowsocksX-NG/proxy_conf_helper' [1196] (3,0)
默认  21:29:44.512627 +0800   authd   Succeeded authorizing right 'system.services.systemconfiguration.network' by client '/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/Helpers/SCHelper' [1113] for authorization created by '/Library/Application Support/ShadowsocksX-NG/proxy_conf_helper' [1196] (3,0)
默认  21:29:44.514821 +0800   ShadowsocksX-NG pac proxy set to global

Most helpful comment

terminal下需要设定http和https的代理,一般情况下需要如下设定:
export http_proxy=http://127.0.0.1:1087
export https_proxy=http://127.0.0.1:1087

具体的端口可以参看软件中的设定,一般默认的是1087

All 6 comments

terminal下需要设定http和https的代理,一般情况下需要如下设定:
export http_proxy=http://127.0.0.1:1087
export https_proxy=http://127.0.0.1:1087

具体的端口可以参看软件中的设定,一般默认的是1087

看到了,只是不太清楚为什么有的又不用~

可以去试试google的jigsaw的outline客户端

legency notifications@github.com 于 2018年10月11日周四 10:14写道:

看到了,只是不太清楚为什么有的又不用~


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/shadowsocks/ShadowsocksX-NG/issues/906#issuecomment-428794580,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA3yC06fyJKiyz_9yHodvV6DAJd4DDhFks5ujqmXgaJpZM4W6rFo
.

嗯、两个原理不一样。 一个是改代理配置信息,一个是全局拦截请求VPN。

有些受系统保护的程序是不走全局代理的比如装机的curl

legency notifications@github.com 于 2018年10月11日周四 10:18写道:

嗯、两个原理不一样。 一个是改代理配置信息,一个是全局拦截请求VPN。


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/shadowsocks/ShadowsocksX-NG/issues/906#issuecomment-428795317,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA3yCww_eCwK2ELzYLqrqBZBF3jTAHsPks5ujqp5gaJpZM4W6rFo
.

terminal下需要设定http和https的代理,一般情况下需要如下设定:
export http_proxy=http://127.0.0.1:1087
export https_proxy=http://127.0.0.1:1087

具体的端口可以参看软件中的设定,一般默认的是1087

this doesn't work

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ilovebamboo picture ilovebamboo  ·  4Comments

busyfree picture busyfree  ·  4Comments

czhu08 picture czhu08  ·  3Comments

zxf8665905 picture zxf8665905  ·  5Comments

bitweng picture bitweng  ·  4Comments