shadowsocks / ShadowsocksX-NG

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

帮帮我,经常无法联网 #1162

Closed wyfang closed 4 years ago

wyfang commented 4 years ago

这是无法正常时候导出的报告: 相同局域网内,相同服务器,android和windows都可以正常使用。

-----------------------------------
{
  "CFBundleIconFile" : "AppIcon",
  "CFBundleNumericVersion" : 16809984,
  "NSHumanReadableCopyright" : "Copyright © 2016-2019 qiuyuzhou. All rights reserved. License GPLv3.",
  "CFBundleIdentifier" : "com.qiuyuzhou.ShadowsocksX-NG",
  "CFBundleInfoDictionaryVersion" : "6.0",
  "CFBundleSignature" : "????",
  "LSMinimumSystemVersion" : "10.11",
  "CFBundleIconName" : "AppIcon",
  "BuildMachineOSBuild" : "18G95",
  "DTSDKBuild" : "18G74",
  "DTXcode" : "1030",
  "LSApplicationCategoryType" : "public.app-category.utilities",
  "CFBundlePackageType" : "APPL",
  "DTSDKName" : "macosx10.14",
  "DTPlatformVersion" : "GM",
  "CFBundleURLTypes" : [
    {
      "CFBundleTypeRole" : "Viewer",
      "CFBundleURLIconFile" : "menu_icon@2x",
      "CFBundleURLSchemes" : [
        "ss"
      ],
      "CFBundleURLName" : "shadowsocks"
    }
  ],
  "DTCompiler" : "com.apple.compilers.llvm.clang.1_0",
  "NSPrincipalClass" : "SWBApplication",
  "NSMainNibFile" : "MainMenu",
  "CFBundleExecutable" : "ShadowsocksX-NG",
  "DTXcodeBuild" : "10G8",
  "CFBundleVersion" : "1",
  "DTPlatformBuild" : "10G8",
  "LSUIElement" : true,
  "CFBundleSupportedPlatforms" : [
    "MacOSX"
  ],
  "CFBundleName" : "ShadowsocksX-NG",
  "CFBundleShortVersionString" : "1.9.2",
  "CFBundleDevelopmentRegion" : "en"
}
-----------------------------------
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=0
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=29900
Method=aes-128-gcm
Password=*********
Plugin=kcptun
PluginOptions=key=*********
-----------------------------------
$ ls -l ~/Library/Application Support/ShadowsocksX-NG/
total 16
drwxr-xr-x   3 wifi  staff   96 Oct  8 16:25 kcptun_v20190905
drwxr-xr-x   6 wifi  staff  192 Oct  8 16:25 plugins
lrwxr-xr-x   1 wifi  staff   85 Oct  8 16:25 privoxy -> /Users/wifi/Library/Application Support/ShadowsocksX-NG/privoxy-3.0.26.static/privoxy
drwxr-xr-x   3 wifi  staff   96 Oct  8 16:25 privoxy-3.0.26.static
-rw-r--r--   1 wifi  staff  436 Oct 21 09:52 privoxy.config
drwxr-xr-x   3 wifi  staff   96 Oct  8 16:25 simple-obfs-0.0.5_1
drwxr-xr-x  12 wifi  staff  384 Oct 21 09:51 ss-local-3.2.5
-rw-r--r--   1 wifi  staff  255 Oct 21 09:52 ss-local-config.json
lrwxr-xr-x   1 wifi  staff   70 Oct 21 09:51 ss-local-latest -> /Users/wifi/Library/Application Support/ShadowsocksX-NG/ss-local-3.2.5
drwxr-xr-x   3 wifi  staff   96 Oct  8 16:25 v2ray-plugin_1.1.0
-----------------------------------
$ ls -l ~/Library/LaunchAgents/
total 40
-rw-r--r--@ 1 wifi  staff   808 Oct  8 17:02 com.google.keystone.agent.plist
-rw-r--r--@ 1 wifi  staff   914 Oct  8 17:02 com.google.keystone.xpcservice.plist
-rw-r--r--  1 wifi  staff   727 Oct 21 09:52 com.qiuyuzhou.shadowsocksX-NG.http.plist
-rw-r--r--  1 wifi  staff  1045 Oct 21 09:52 com.qiuyuzhou.shadowsocksX-NG.local.plist
-rw-r--r--  1 wifi  staff   854 Oct 16 13:28 com.valvesoftware.steamclean.plist
-----------------------------------
$ ls -l ~/.ShadowsocksX-NG/
total 712
-rw-r--r--  1 wifi  staff  167848 Oct 11 15:21 gfwlist.js
-rw-r--r--@ 1 wifi  staff  189845 Sep 10 10:01 gfwlist.txt
-rw-r--r--  1 wifi  staff    2051 Oct 11 15:21 user-rule.txt
-----------------------------------
$ ls -l /Library/Application Support/ShadowsocksX-NG/
total 112
-rwsr-sr-x@ 1 root  admin  54816 Oct  8 16:25 proxy_conf_helper
-----------------------------------
$ lsof -PiTCP -sTCP:LISTEN
COMMAND    PID USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
rapportd   334 wifi    4u  IPv4 0x6f5ae5584d38fb95      0t0  TCP *:49216 (LISTEN)
rapportd   334 wifi    5u  IPv6 0x6f5ae55850393c1d      0t0  TCP *:49216 (LISTEN)
QQ         765 wifi   39u  IPv4 0x6f5ae55853081f15      0t0  TCP localhost:4300 (LISTEN)
QQ         765 wifi   40u  IPv4 0x6f5ae5585307dad5      0t0  TCP localhost:4301 (LISTEN)
Sketch    1381 wifi   20u  IPv4 0x6f5ae55863ca43d5      0t0  TCP *:50281 (LISTEN)
Sketch    1381 wifi   23u  IPv6 0x6f5ae5585039361d      0t0  TCP *:50281 (LISTEN)
SketchMir 1431 wifi    7u  IPv4 0x6f5ae558517343d5      0t0  TCP *:50282 (LISTEN)
Shadowsoc 1582 wifi   10u  IPv4 0x6f5ae55863c7bd95      0t0  TCP *:1089 (LISTEN)
Shadowsoc 1582 wifi   11u  IPv6 0x6f5ae55850395a1d      0t0  TCP *:1089 (LISTEN)
privoxy   1606 wifi    3u  IPv4 0x6f5ae558523de115      0t0  TCP localhost:1087 (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
XHC0: flags=0<> mtu 0
XHC20: flags=0<> mtu 0
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    options=50b<RXCSUM,TXCSUM,VLAN_HWTAGGING,AV,CHANNEL_IO>
    ether 38:f9:d3:0d:06:e5 
    inet6 fe80::88d:54a7:4bb5:d710%en0 prefixlen 64 secured scopeid 0x6 
    inet 192.168.199.111 netmask 0xffffff00 broadcast 192.168.199.255
    nd6 options=201<PERFORMNUD,DAD>
    media: autoselect (1000baseT <full-duplex>)
    status: active
en2: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
    options=460<TSO4,TSO6,CHANNEL_IO>
    ether 82:d5:5b:00:a4:00 
    media: autoselect <full-duplex>
    status: inactive
en3: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
    options=460<TSO4,TSO6,CHANNEL_IO>
    ether 82:d5:5b:00:a4:01 
    media: autoselect <full-duplex>
    status: inactive
bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    options=63<RXCSUM,TXCSUM,TSO4,TSO6>
    ether 82:d5:5b:00:a4: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 7 priority 0 path cost 0
    member: en3 flags=3<LEARNING,DISCOVER>
            ifmaxaddr 0 port 8 priority 0 path cost 0
    nd6 options=201<PERFORMNUD,DAD>
    media: <unknown type>
    status: inactive
ap1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    options=400<CHANNEL_IO>
    ether 3a:f9:d3:ad:85:47 
    nd6 options=201<PERFORMNUD,DAD>
    media: autoselect
    status: inactive
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    options=400<CHANNEL_IO>
    ether 38:f9:d3:ad:85:47 
    inet6 fe80::cc8:5294:85e4:374a%en1 prefixlen 64 secured scopeid 0xb 
    inet 192.168.199.122 netmask 0xffffff00 broadcast 192.168.199.255
    nd6 options=201<PERFORMNUD,DAD>
    media: autoselect
    status: active
p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304
    options=400<CHANNEL_IO>
    ether 0a:f9:d3:ad:85:47 
    media: autoselect
    status: inactive
awdl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1484
    options=400<CHANNEL_IO>
    ether 42:e5:2e:d6:c9:ff 
    inet6 fe80::40e5:2eff:fed6:c9ff%awdl0 prefixlen 64 scopeid 0xd 
    nd6 options=201<PERFORMNUD,DAD>
    media: autoselect
    status: active
llw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    options=400<CHANNEL_IO>
    ether 42:e5:2e:d6:c9:ff 
    inet6 fe80::40e5:2eff:fed6:c9ff%llw0 prefixlen 64 scopeid 0xe 
    nd6 options=201<PERFORMNUD,DAD>
    media: autoselect
    status: active
utun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380
    inet6 fe80::6448:4eca:e254:f1ba%utun0 prefixlen 64 scopeid 0xf 
    nd6 options=201<PERFORMNUD,DAD>
utun1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 2000
    inet6 fe80::b87d:214b:76e3:19aa%utun1 prefixlen 64 scopeid 0x10 
    nd6 options=201<PERFORMNUD,DAD>
-----------------------------------
$ launchctl list | grep com.qiuyuzhou.
1582    0   com.qiuyuzhou.ShadowsocksX-NG.13416
1606    0   com.qiuyuzhou.shadowsocksX-NG.http
-   0   com.qiuyuzhou.ShadowsocksX-NG.LaunchHelper
-   255 com.qiuyuzhou.shadowsocksX-NG.local
-----------------------------------
wyfang commented 4 years ago

解决了,感觉是dns之类的问题,写的域名有时候会不可以,改了ip就可以了。

lrhddzyj commented 4 years ago

就想用下谷歌 心好累·····

shrekboss commented 4 years ago

lsof -PiTCP -sTCP:LISTEN ... Shadowsoc 1582 wifi 10u IPv4 0x6f5ae55863c7bd95 0t0 TCP :1089 (LISTEN) Shadowsoc 1582 wifi 11u IPv6 0x6f5ae55850395a1d 0t0 TCP :1089 (LISTEN) privoxy 1606 wifi 3u IPv4 0x6f5ae558523de115 0t0 TCP localhost:1087 (LISTEN) 缺少 ss-local

你是怎么解决的

shrekboss commented 4 years ago

lsof -PiTCP -sTCP:LISTEN

... Shadowsoc 1582 wifi 10u IPv4 0x6f5ae55863c7bd95 0t0 TCP :1089 (LISTEN) Shadowsoc 1582 wifi 11u IPv6 0x6f5ae55850395a1d 0t0 TCP :1089 (LISTEN) privoxy 1606 wifi 3u IPv4 0x6f5ae558523de115 0t0 TCP localhost:1087 (LISTEN) 缺少 ss-local 你是怎么解决的

正常 image