Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xray节点配置里不支持raw(原tcp)选项配置 #214

Open
5 tasks done
GreatMichaelLee opened this issue Nov 19, 2024 · 7 comments
Open
5 tasks done

xray节点配置里不支持raw(原tcp)选项配置 #214

GreatMichaelLee opened this issue Nov 19, 2024 · 7 comments

Comments

@GreatMichaelLee
Copy link

GreatMichaelLee commented Nov 19, 2024

Welcome

  • Yes, I'm using the latest major release. Only such installations are supported.
  • Yes, I'm using the supported system. Only such systems are supported.
  • Yes, I have read all WIKI document,nothing can help me in my problem.
  • Yes, I've searched similar issues on GitHub and didn't find any.
  • Yes, I've included all information below (version, config, log, etc).

Description of the problem,screencshot would be good

xray核心StreamSettingsObject的network字段配置tcp变成了raw,但面板目前无法配置
https://xtls.github.io/config/transport.html#streamsettingsobject

Version of xray-ui

24.11.15

xray-ui log reports or xray log

image

@qist
Copy link
Owner

qist commented Nov 20, 2024

那个是传输协议 raw是配置设置 现在已经是raw了你可以配置一个看看配置文件。

@GreatMichaelLee
Copy link
Author

GreatMichaelLee commented Nov 20, 2024

那个是传输协议 raw是配置设置 现在已经是raw了你可以配置一个看看配置文件。

配了,一个是ui没有raw只有tcp选项,选tcp新建一个入站配出来的配置文件network字段还是tcp没有raw,只不过把tcpSettings改成了rawSettings

@qist
Copy link
Owner

qist commented Nov 20, 2024

生成的配置是:

      "streamSettings": {
        "network": "tcp",
        "security": "none",
        "rawSettings": {
          "header": {
            "type": "none"
          }
        }
      }
```  有问题么。

@qist
Copy link
Owner

qist commented Nov 20, 2024

    "network": "tcp",

v24.9.30 版本后,为了更贴近实际行为,tcp传输方式已更名为raw, 为了兼容性,"network": "raw" 和 "network": "tcp", rawSettings和tcpSettings 互为别名
这个没区别把。两个都一样的。

@GreatMichaelLee
Copy link
Author

生成的配置是:

      "streamSettings": {
        "network": "tcp",
        "security": "none",
        "rawSettings": {
          "header": {
            "type": "none"
          }
        }
      }
```  有问题么。

是不是应该是”network":"raw", psw那边有问题,xray内部好像是说这两个等同,但psw一升级后,如果客户端是raw,server端这个字段是tcp好像就会有问题,不通,只是想保持一致会不会能定位问题和规范一点。

@qist
Copy link
Owner

qist commented Nov 20, 2024

那我还真没注意这个

@qist
Copy link
Owner

qist commented Nov 20, 2024

xray 版本要新版本才支持的。我添加上去了你测试看看把

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants