shadowsocks / ShadowsocksX-NG

Next Generation of ShadowsocksX
GNU General Public License v3.0
32.38k stars 7.94k forks source link

macos 10.14+ 代理经常失效 #1144

Open nthsky opened 4 years ago

nthsky commented 4 years ago

10.14 10.15都是,开启了过后无效,有时候是切换了全局过后就失效了,看请求走的本地sock5地址且200,但是no response 重启电脑后正常,但是一切换模式又失效 手机上用ss-android一直是好的 诊断日志如下


{ "BuildMachineOSBuild" : "18G95", "NSHumanReadableCopyright" : "Copyright © 2016-2019 qiuyuzhou. All rights reserved. License GPLv3.", "CFBundleExecutable" : "ShadowsocksX-NG", "NSMainNibFile" : "MainMenu", "DTSDKBuild" : "18G74", "CFBundleName" : "ShadowsocksX-NG", "CFBundleIconName" : "AppIcon", "CFBundleVersion" : "1", "CFBundleIdentifier" : "com.qiuyuzhou.ShadowsocksX-NG", "CFBundleSupportedPlatforms" : [ "MacOSX" ], "CFBundleDevelopmentRegion" : "en", "CFBundlePackageType" : "APPL", "CFBundleURLTypes" : [ { "CFBundleTypeRole" : "Viewer", "CFBundleURLIconFile" : "menu_icon@2x", "CFBundleURLSchemes" : [ "ss" ], "CFBundleURLName" : "shadowsocks" } ], "LSApplicationCategoryType" : "public.app-category.utilities", "DTSDKName" : "macosx10.14", "DTPlatformBuild" : "10G8", "LSMinimumSystemVersion" : "10.11", "CFBundleNumericVersion" : 16809984, "DTPlatformVersion" : "GM", "CFBundleShortVersionString" : "1.9.2", "CFBundleSignature" : "????", "DTXcodeBuild" : "10G8", "CFBundleIconFile" : "AppIcon", "CFBundleInfoDictionaryVersion" : "6.0", "DTXcode" : "1030", "DTCompiler" : "com.apple.compilers.llvm.clang.1_0", "NSPrincipalClass" : "SWBApplication", "LSUIElement" : true }

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=35971 Method=aes-256-gcm Password=** Plugin= PluginOptions=

$ ls -l ~/Library/Application Support/ShadowsocksX-NG/ total 16 drwxr-xr-x 3 sky staff 96 Oct 9 13:43 kcptun_v20190905 drwxr-xr-x 6 sky staff 192 Oct 9 13:43 plugins lrwxr-xr-x 1 sky staff 84 Oct 9 13:43 privoxy -> /Users/sky/Library/Application Support/ShadowsocksX-NG/privoxy-3.0.26.static/privoxy drwxr-xr-x 3 sky staff 96 Oct 9 13:43 privoxy-3.0.26.static -rw-r--r-- 1 sky staff 436 Oct 9 14:35 privoxy.config drwxr-xr-x 3 sky staff 96 Oct 9 13:43 simple-obfs-0.0.5_1 drwxr-xr-x 12 sky staff 384 Oct 9 13:47 ss-local-3.2.5 -rw-r--r-- 1 sky staff 192 Oct 9 14:35 ss-local-config.json lrwxr-xr-x 1 sky staff 69 Oct 9 13:47 ss-local-latest -> /Users/sky/Library/Application Support/ShadowsocksX-NG/ss-local-3.2.5 drwxr-xr-x 3 sky staff 96 Oct 9 13:43 v2ray-plugin_1.1.0

$ ls -l ~/Library/LaunchAgents/ total 104 -rw-r--r-- 1 sky staff 688 Aug 3 2018 com.adobe.GC.Invoker-1.0.plist -rw-r--r--@ 1 sky staff 807 Oct 3 02:08 com.google.keystone.agent.plist -rw-r--r--@ 1 sky staff 913 Oct 3 02:08 com.google.keystone.xpcservice.plist -rw-r--r-- 1 sky staff 613 Oct 9 11:31 com.jetbrains.toolbox.plist -rw-r--r-- 1 sky staff 657 Sep 11 16:28 com.macpaw.CleanMyMac4.HealthMonitor.plist -rw-r--r-- 1 sky staff 723 Oct 9 14:35 com.qiuyuzhou.shadowsocksX-NG.http.plist -rw-r--r-- 1 sky staff 1039 Oct 9 14:35 com.qiuyuzhou.shadowsocksX-NG.local.plist -rw-r--r-- 1 sky staff 850 Oct 9 11:22 com.valvesoftware.steamclean.plist -rw-r--r-- 1 sky staff 949 Apr 11 15:01 homebrew.mxcl.mongodb.plist -rw-r--r-- 1 sky staff 551 Oct 8 09:17 homebrew.mxcl.mysql@5.7.plist -rw-r--r-- 1 sky staff 636 Aug 26 13:53 homebrew.mxcl.php@7.1.plist -rw-r--r-- 1 sky staff 823 Sep 26 2018 homebrew.mxcl.redis.plist -rw-r--r--@ 1 sky staff 677 Oct 8 11:50 org.virtualbox.vboxwebsrv.plist

$ ls -l ~/.ShadowsocksX-NG/ total 712 -rw-r--r-- 1 sky staff 165256 Oct 9 13:49 gfwlist.js -rw-r--r--@ 1 sky staff 189845 Oct 9 12:05 gfwlist.txt -rw-r--r--@ 1 sky staff 95 Sep 10 10:01 user-rule.txt

$ ls -l /Library/Application Support/ShadowsocksX-NG/ total 112 -rwsr-sr-x@ 1 root admin 54816 Oct 9 13:43 proxy_conf_helper

$ lsof -PiTCP -sTCP:LISTEN COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME php-fpm 516 sky 9u IPv4 0x58daf9dc1d394767 0t0 TCP localhost:9000 (LISTEN) mongod 523 sky 10u IPv4 0x58daf9dc1d399567 0t0 TCP localhost:27017 (LISTEN) redis-ser 527 sky 6u IPv4 0x58daf9dc124548e7 0t0 TCP localhost:6379 (LISTEN) redis-ser 527 sky 7u IPv6 0x58daf9dc183f262f 0t0 TCP localhost:6379 (LISTEN) Adguard 554 sky 19u IPv4 0x58daf9dc3675dba7 0t0 TCP :43891 (LISTEN) Adguard 554 sky 20u IPv6 0x58daf9dc1345d82f 0t0 TCP :43891 (LISTEN) mysqld 741 sky 17u IPv6 0x58daf9dc1d03c42f 0t0 TCP :3306 (LISTEN) php-fpm 765 sky 10u IPv4 0x58daf9dc1d394767 0t0 TCP localhost:9000 (LISTEN) php-fpm 766 sky 10u IPv4 0x58daf9dc1d394767 0t0 TCP localhost:9000 (LISTEN) QQ 1043 sky 37u IPv4 0x58daf9dc2e9821e7 0t0 TCP localhost:4300 (LISTEN) QQ 1043 sky 38u IPv4 0x58daf9dc2e6108e7 0t0 TCP localhost:4301 (LISTEN) httpd 1078 sky 4u IPv6 0x58daf9dc2ea81c2f 0t0 TCP :80 (LISTEN) httpd 1081 sky 4u IPv6 0x58daf9dc2ea81c2f 0t0 TCP :80 (LISTEN) httpd 1082 sky 4u IPv6 0x58daf9dc2ea81c2f 0t0 TCP :80 (LISTEN) httpd 1083 sky 4u IPv6 0x58daf9dc2ea81c2f 0t0 TCP :80 (LISTEN) httpd 1084 sky 4u IPv6 0x58daf9dc2ea81c2f 0t0 TCP :80 (LISTEN) httpd 1085 sky 4u IPv6 0x58daf9dc2ea81c2f 0t0 TCP :80 (LISTEN) node 1181 sky 25u IPv4 0x58daf9dc1dd3f8e7 0t0 TCP :4200 (LISTEN) node 1231 sky 25u IPv4 0x58daf9dc2f04cda7 0t0 TCP :4201 (LISTEN) httpd 1251 sky 4u IPv6 0x58daf9dc2ea81c2f 0t0 TCP :80 (LISTEN) node 1302 sky 27u IPv6 0x58daf9dc23064c2f 0t0 TCP :4986 (LISTEN) httpd 1310 sky 4u IPv6 0x58daf9dc2ea81c2f 0t0 TCP :80 (LISTEN) httpd 1327 sky 4u IPv6 0x58daf9dc2ea81c2f 0t0 TCP :80 (LISTEN) httpd 1328 sky 4u IPv6 0x58daf9dc2ea81c2f 0t0 TCP :80 (LISTEN) prl_clien 1548 sky 33u IPv4 0x58daf9dc2c999767 0t0 TCP localhost:55266 (LISTEN) prl_vm_ap 1713 sky 72u IPv4 0x58daf9dc2c99b4a7 0t0 TCP localhost:57584 (LISTEN) prl_vm_ap 1713 sky 73u IPv4 0x58daf9dc2c99b4a7 0t0 TCP localhost:57584 (LISTEN) Code\x20H 1929 sky 44u IPv4 0x58daf9dc24bc4767 0t0 TCP localhost:15668 (LISTEN) Code\x20H 1929 sky 80u IPv6 0x58daf9dc35e7a02f 0t0 TCP :60296 (LISTEN) httpd 3051 sky 4u IPv6 0x58daf9dc2ea81c2f 0t0 TCP :80 (LISTEN) phpstorm 3202 sky 208u IPv4 0x58daf9dc36734567 0t0 TCP localhost:6942 (LISTEN) phpstorm 3202 sky 426u IPv4 0x58daf9dc24bc7827 0t0 TCP localhost:63342 (LISTEN) Shadowsoc 4682 sky 4u IPv4 0x58daf9dc2e983f27 0t0 TCP :1089 (LISTEN) Shadowsoc 4682 sky 5u IPv6 0x58daf9dc183f322f 0t0 TCP :1089 (LISTEN) privoxy 4829 sky 3u IPv4 0x58daf9dc1d393da7 0t0 TCP localhost:1087 (LISTEN) ss-local 5738 sky 8u IPv4 0x58daf9dc2c99d1e7 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 en5: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 ether ac:de:48:00:11:22 inet6 fe80::aede:48ff:fe00:1122%en5 prefixlen 64 scopeid 0x4 nd6 options=201<PERFORMNUD,DAD> media: autoselect (100baseTX ) status: active ap1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=400 ether f2:18:98:09:6a:ab media: autoselect status: inactive en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=400 ether f0:18:98:09:6a:ab inet6 fe80::1c0b:cc46:1a4a:301d%en0 prefixlen 64 secured scopeid 0x6 inet 192.168.66.215 netmask 0xfffffc00 broadcast 192.168.67.255 nd6 options=201<PERFORMNUD,DAD> media: autoselect status: active p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304 options=400 ether 02:18:98:09:6a:ab media: autoselect status: inactive awdl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1484 options=400 ether 6a:78:93:67:15:a0 inet6 fe80::6878:93ff:fe67:15a0%awdl0 prefixlen 64 scopeid 0x8 nd6 options=201<PERFORMNUD,DAD> media: autoselect status: active llw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=400 ether 6a:78:93:67:15:a0 inet6 fe80::6878:93ff:fe67:15a0%llw0 prefixlen 64 scopeid 0x9 nd6 options=201<PERFORMNUD,DAD> media: autoselect status: active en1: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 options=460<TSO4,TSO6,CHANNEL_IO> ether 82:fa:4a:c1:5c:01 media: autoselect status: inactive en2: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 options=460<TSO4,TSO6,CHANNEL_IO> ether 82:fa:4a:c1:5c:00 media: autoselect status: inactive en3: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 options=460<TSO4,TSO6,CHANNEL_IO> ether 82:fa:4a:c1:5c:05 media: autoselect status: inactive en4: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 options=460<TSO4,TSO6,CHANNEL_IO> ether 82:fa:4a:c1:5c:04 media: autoselect status: inactive bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=63<RXCSUM,TXCSUM,TSO4,TSO6> ether 82:fa:4a:c1:5c:01 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: en1 flags=3<LEARNING,DISCOVER> ifmaxaddr 0 port 10 priority 0 path cost 0 member: en2 flags=3<LEARNING,DISCOVER> ifmaxaddr 0 port 11 priority 0 path cost 0 member: en3 flags=3<LEARNING,DISCOVER> ifmaxaddr 0 port 12 priority 0 path cost 0 member: en4 flags=3<LEARNING,DISCOVER> ifmaxaddr 0 port 13 priority 0 path cost 0 nd6 options=201<PERFORMNUD,DAD> media: status: inactive utun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380 inet6 fe80::bee:f564:a47d:79c4%utun0 prefixlen 64 scopeid 0xf nd6 options=201<PERFORMNUD,DAD> utun1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 2000 inet6 fe80::7600:1f07:d535:24d6%utun1 prefixlen 64 scopeid 0x10 nd6 options=201<PERFORMNUD,DAD> vnic0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=3<RXCSUM,TXCSUM> ether 00:1c:42:00:00:08 inet 10.211.55.2 netmask 0xffffff00 broadcast 10.211.55.255 media: autoselect status: active vnic1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=3<RXCSUM,TXCSUM> ether 00:1c:42:00:00:09 inet 10.37.129.2 netmask 0xffffff00 broadcast 10.37.129.255 media: autoselect status: active

$ launchctl list | grep com.qiuyuzhou. 4682 0 com.qiuyuzhou.ShadowsocksX-NG.3852 4829 0 com.qiuyuzhou.shadowsocksX-NG.http

hairgc commented 4 years ago

我的升到15然后跪了