v2fly / v2ray-core

A platform for building proxies to bypass network restrictions.
https://v2fly.org
MIT License
29.65k stars 4.67k forks source link

disableInsecureEncryption 参数不起作用 #1707

Closed redapple0204 closed 2 years ago

redapple0204 commented 2 years ago

使用版本:V2Ray 5.0.3 服务端配置文件:

{
  "inbounds": [
    {
      "port": 8080,
      "protocol": "vmess",
      "settings": {
        "clients": [
          {
            "id": "***********",
            "alterId": 0
          }
        ]
      },
     "disableInsecureEncryption":true,
      "streamSettings": {
        "network":"ws",
        "wsSettings":{
       "path":"/",
       "headers":{
       "Host":"www.github.com"
}
}
      }
    }
  ],
  "outbounds": [
    {
      "protocol": "freedom",
      "settings": {}
    }
  ]
}

经测试,无论使用clash,shadowrocket,v2rayN。 加密填写”none“ 或者是”aes-128-cfb“依旧可以正常连接

AkinoKaede commented 2 years ago
{
    "inbounds": [
        {
            "port": 8080,
            "protocol": "vmess",
            "settings": {
                "clients": [
                    {
                        "id": "***********",
                        "alterId": 0
                    }
                ],
                "disableInsecureEncryption": true
            },
            "streamSettings": {
                "network": "ws",
                "wsSettings": {
                    "path": "/",
                    "headers": {
                        "Host": "www.github.com"
                    }
                }
            }
        }
    ],
    "outbounds": [
        {
            "protocol": "freedom",
            "settings": {}
        }
    ]
}