Open mrlangchen opened 4 years ago
遇到一些问题,有劳解答。
在PAC模式下经常上不了外网,在terminal中输入lsof -iTCP -sTCP:LISTEN -n -P出来的结果如下:
lsof -iTCP -sTCP:LISTEN -n -P
这时,两个shadowsoc端口都是*:1089 (LISTEN),这个时候代理是失效的。
但是当我切换到global模式,代理完全正常。再次输入上面的命令之后,出来的结果没有那两个shadowsoc端口信息:
请问有哪个小伙伴可以解答帮助一下,谢谢!
我的diagnosis记录如下:
----------------------------------- { "DTCompiler" : "com.apple.compilers.llvm.clang.1_0", "DTSDKName" : "macosx10.14", "CFBundleIconName" : "AppIcon", "CFBundleShortVersionString" : "1.9.2", "DTSDKBuild" : "18G74", "NSHumanReadableCopyright" : "Copyright © 2016-2019 qiuyuzhou. All rights reserved. License GPLv3.", "CFBundleDevelopmentRegion" : "en", "LSApplicationCategoryType" : "public.app-category.utilities", "CFBundleIdentifier" : "com.qiuyuzhou.ShadowsocksX-NG", "LSMinimumSystemVersion" : "10.11", "DTPlatformBuild" : "10G8", "CFBundleExecutable" : "ShadowsocksX-NG", "NSPrincipalClass" : "SWBApplication", "CFBundleURLTypes" : [ { "CFBundleURLName" : "shadowsocks", "CFBundleURLSchemes" : [ "ss" ], "CFBundleTypeRole" : "Viewer", "CFBundleURLIconFile" : "menu_icon@2x" } ], "CFBundleName" : "ShadowsocksX-NG", "CFBundleSupportedPlatforms" : [ "MacOSX" ], "BuildMachineOSBuild" : "18G95", "DTPlatformVersion" : "GM", "NSMainNibFile" : "MainMenu", "CFBundleIconFile" : "AppIcon", "LSUIElement" : true, "DTXcodeBuild" : "10G8", "DTXcode" : "1030", "CFBundleInfoDictionaryVersion" : "6.0", "CFBundleNumericVersion" : 16809984, "CFBundlePackageType" : "APPL", "CFBundleVersion" : "1", "CFBundleSignature" : "????" } ----------------------------------- Preferences: ShadowsocksOn=1 ShadowsocksRunningMode=auto LocalSocks5.ListenPort=1086 LocalSocks5.ListenAddress=127.0.0.1 PacServer.ListenAddress=127.0.0.1 PacServer.ListenPort=1089 LocalSocks5.Timeout=60 LocalSocks5.EnableUDPRelay=0 LocalSocks5.EnableVerboseMode=0 GFWListURL=https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt LocalHTTP.ListenAddress=127.0.0.1 LocalHTTP.ListenPort=1087 LocalHTTPOn=1 LocalHTTP.FollowGlobal=1 ProxyExceptions=127.0.0.1, localhost, 192.168.0.0/16, 10.0.0.0/8, FE80::/64, ::1, FD00::/8 ----------------------------------- Active server profile: ServerHost=***************** ServerPort=18761 Method=aes-256-gcm Password=********** Plugin= PluginOptions= ----------------------------------- $ ls -l ~/Library/Application Support/ShadowsocksX-NG/ total 16 drwxr-xr-x 3 mrlangchen staff 96 Sep 30 18:21 kcptun_v20190905 drwxr-xr-x 6 mrlangchen staff 192 Sep 30 18:21 plugins lrwxr-xr-x 1 mrlangchen staff 91 Sep 30 18:21 privoxy -> /Users/mrlangchen/Library/Application Support/ShadowsocksX-NG/privoxy-3.0.26.static/privoxy drwxr-xr-x 3 mrlangchen staff 96 Sep 30 18:21 privoxy-3.0.26.static -rw-r--r-- 1 mrlangchen staff 436 Nov 25 18:22 privoxy.config drwxr-xr-x 3 mrlangchen staff 96 Sep 30 18:21 simple-obfs-0.0.5_1 drwxr-xr-x 12 mrlangchen staff 384 Nov 25 18:05 ss-local-3.2.5 -rw-r--r-- 1 mrlangchen staff 192 Nov 25 18:22 ss-local-config.json lrwxr-xr-x 1 mrlangchen staff 76 Nov 25 18:05 ss-local-latest -> /Users/mrlangchen/Library/Application Support/ShadowsocksX-NG/ss-local-3.2.5 drwxr-xr-x 3 mrlangchen staff 96 Sep 30 18:21 v2ray-plugin_1.1.0 ----------------------------------- $ ls -l ~/Library/LaunchAgents/ total 72 -rw-r--r-- 1 mrlangchen staff 687 Nov 7 17:43 com.adobe.GC.Invoker-1.0.plist -rw-r--r-- 1 mrlangchen staff 491 Nov 1 15:56 com.adobe.ccxprocess.plist -rw-r--r--@ 1 mrlangchen staff 814 May 24 2019 com.google.keystone.agent.plist -rw-r--r--@ 1 mrlangchen staff 920 May 24 2019 com.google.keystone.xpcservice.plist -rw-r--r-- 1 mrlangchen staff 634 Sep 30 16:45 com.macpaw.CleanMyMac4.HealthMonitor.plist -rw-r--r-- 1 mrlangchen staff 751 Nov 25 18:22 com.qiuyuzhou.shadowsocksX-NG.http.plist -rw-r--r-- 1 mrlangchen staff 1081 Nov 25 18:22 com.qiuyuzhou.shadowsocksX-NG.local.plist -rw-r--r-- 1 mrlangchen staff 579 Nov 25 17:57 homebrew.mxcl.shadowsocks-libev.plist -rw-r--r--@ 1 mrlangchen staff 551 Nov 7 18:08 jp.plentycom.boa.SteerMouse.plist ----------------------------------- $ ls -l ~/.ShadowsocksX-NG/ total 2160 -rw-r--r--@ 1 mrlangchen staff 113487 Nov 25 18:20 gfwlist.js -rw-r--r--@ 1 mrlangchen staff 0 Nov 25 14:58 gfwlist.txt -rw-r--r-- 1 mrlangchen staff 989200 Nov 25 14:58 user-rule.txt drwxr-xr-x 7 mrlangchen staff 224 Nov 25 18:21 white ----------------------------------- $ ls -l /Library/Application Support/ShadowsocksX-NG/ total 112 -rwsr-sr-x 1 root admin 54816 Nov 25 14:36 proxy_conf_helper ----------------------------------- $ lsof -PiTCP -sTCP:LISTEN COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME rapportd 2240 mrlangchen 3u IPv4 0x89c590ef4ae66baf 0t0 TCP *:58339 (LISTEN) rapportd 2240 mrlangchen 4u IPv6 0x89c590ef465077af 0t0 TCP *:58339 (LISTEN) ss-local 27385 mrlangchen 8u IPv4 0x89c590ef54f7722f 0t0 TCP localhost:1080 (LISTEN) Shadowsoc 27529 mrlangchen 10u IPv4 0x89c590ef49c1422f 0t0 TCP *:1089 (LISTEN) Shadowsoc 27529 mrlangchen 11u IPv6 0x89c590ef4650a5af 0t0 TCP *:1089 (LISTEN) privoxy 27618 mrlangchen 3u IPv4 0x89c590ef4ad405af 0t0 TCP localhost:1087 (LISTEN) ss-local 27756 mrlangchen 8u IPv4 0x89c590ef4ae1c5af 0t0 TCP localhost:1086 (LISTEN) ----------------------------------- $ ifconfig lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 options=1203<RXCSUM,TXCSUM,TXSTATUS,SW_TIMESTAMP> inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 nd6 options=201<PERFORMNUD,DAD> gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280 stf0: flags=0<> mtu 1280 XHC20: flags=0<> mtu 0 XHC0: flags=0<> mtu 0 en0: flags=8822<BROADCAST,SMART,SIMPLEX,MULTICAST> mtu 1500 options=10b<RXCSUM,TXCSUM,VLAN_HWTAGGING,AV> ether 38:f9:d3:03:6a:09 media: autoselect (none) status: inactive en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 ether 18:81:0e:ed:a0:9a inet 192.168.0.8 netmask 0xfffffc00 broadcast 192.168.3.255 media: autoselect status: active en2: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 options=60<TSO4,TSO6> ether ba:00:50:41:52:00 media: autoselect <full-duplex> status: inactive en3: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 options=60<TSO4,TSO6> ether ba:00:50:41:52:01 media: autoselect <full-duplex> status: inactive bridge0: flags=8822<BROADCAST,SMART,SIMPLEX,MULTICAST> mtu 1500 options=63<RXCSUM,TXCSUM,TSO4,TSO6> ether ba:00:50:41:52:00 Configuration: id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0 maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200 root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0 ipfilter disabled flags 0x2 member: en2 flags=3<LEARNING,DISCOVER> ifmaxaddr 0 port 8 priority 0 path cost 0 member: en3 flags=3<LEARNING,DISCOVER> ifmaxaddr 0 port 9 priority 0 path cost 0 media: <unknown type> status: inactive p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304 ether 0a:81:0e:ed:a0:9a media: autoselect status: inactive awdl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1484 ether 2a:5e:47:e2:02:7e inet6 fe80::285e:47ff:fee2:27e%awdl0 prefixlen 64 scopeid 0xc nd6 options=201<PERFORMNUD,DAD> media: autoselect status: active utun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 2000 inet6 fe80::229d:6a5b:b07b:7e4c%utun0 prefixlen 64 scopeid 0xd nd6 options=201<PERFORMNUD,DAD> ----------------------------------- $ launchctl list | grep com.qiuyuzhou. 27618 0 com.qiuyuzhou.shadowsocksX-NG.http 27529 0 com.qiuyuzhou.ShadowsocksX-NG.2456 - 0 com.qiuyuzhou.ShadowsocksX-NG.LaunchHelper 27756 0 com.qiuyuzhou.shadowsocksX-NG.local -----------------------------------
补充一下: 我的X-NG版本是1.9.2 (1) 系统是Mojave 10.14.5
老毛病了吧,Pac经常抽风的,一般上不了就切一下全局再切回Pac就行了
@daihy8759 现在就是这样的,但是不方便,而且从全局切回来PAC有时候还是不行。 可以设置Manual吗?Manual模式怎么玩?
遇到一些问题,有劳解答。
在PAC模式下经常上不了外网,在terminal中输入
lsof -iTCP -sTCP:LISTEN -n -P
出来的结果如下:这时,两个shadowsoc端口都是*:1089 (LISTEN),这个时候代理是失效的。
但是当我切换到global模式,代理完全正常。再次输入上面的命令之后,出来的结果没有那两个shadowsoc端口信息:
请问有哪个小伙伴可以解答帮助一下,谢谢!
我的diagnosis记录如下: