Asterisk4Magisk / Xray4Magisk

Xray core with service scripts for Android
387 stars 44 forks source link

启用后无法收发短信 #59

Closed okwellok closed 2 years ago

okwellok commented 3 years ago

问题

appid.list无论是设置ALL,还是设置白名单,黑名单,只要启用模块之后就无法收发电信和移动的短信。但使用v2rayNG代理正常。

环境:红米note8pro crdroid11 v23版magisk

只修改过proxy.json和appid.list

{
    "outbounds": [
  {
   "protocol": "vmess",
   "settings": {
    "vnext": [
     {
      "address": "",
      "port": ,
      "users": [
       {
        "id": "",
        "alterId": 0,
        "security": "aes-128-gcm"
       }
      ]
     }
    ]
   },
   "streamSettings": {
    "network": "tcp",
    "security": "none",
    "tlsSettings": {},
    "httpSettings": {},
    "tcpSettings": {
     "header": {
      "type": "http",
      "request": {
       "version": "1.1",
       "method": "GET",                                                                                                                                        "path": [                                                                                                                                                "/"                                                                                                                                                    ],
       "headers": {                                                                                                                                             "Host": "vod3.nty.tv189.cn",
        "User-Agent": [
         "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36",                                        "Mozilla/5.0 (iPhone; CPU iPhone OS 10_0_2 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko) CriOS/53.0.2785.109 Mobile/14A456 Safari/601.1.46"
        ],
        "Accept-Encoding": [
         "gzip, deflate"
        ],
        "Connection": [
         "keep-alive"
        ],
        "Pragma": "no-cache"
       }
      },
      "response": {
       "version": "1.1",
       "status": "200",
       "reason": "OK",
       "headers": {
        "Content-Type": [
         "application/octet-stream",
         "video/mpeg"
        ],
        "Transfer-Encoding": [
         "chunked"
        ],
        "Connection": [
         "keep-alive"
        ],
        "Pragma": "no-cache"
       }
      }
     }
    },
    "kcpSettings": {},
    "wsSettings": {},
    "quicSettings": {}
   },
   "mux": {
    "enabled": true
            }
        }
    ]
}
CerteKim commented 3 years ago

代理的outbound需要tag(参考原proxy.json)

使用的是 Xray4Magisk 1.5.2 吗?可以切换回 1.5.1 试试看

okwellok commented 3 years ago

@CerteKim 添加了tag,也试过切换回1.5.1了。又换了个简单tcp节点,重新试了一遍还是不行。 刚刚又试了一次,禁用xray4magisk模块才能恢复正常。

CerteKim commented 3 years ago

启用 ipv6 呢

touch /data/adb/xray/ipv6
okwellok commented 3 years ago

@CerteKim 可以了,感谢!

CerteKim commented 3 years ago

之后的版本应该会修复ipv6相关的问题(咕咕咕 还比较麻烦