The Wayback Machine - https://web.archive.org/web/20221031180941/https://github.com/XTLS/Xray-core/pull/279
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

feat: add mixed protocol #279

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

feat: add mixed protocol #279

wants to merge 1 commit into from

Conversation

Xray9
Copy link
Contributor

@Xray9 Xray9 commented Feb 18, 2021

Thanks @nadoo
For more information, see https://github.com/nadoo/glider/tree/master/proxy/mixed

{
  "listen": "127.0.0.1",
  "port": "1080",
  "protocol": "mixed",
  "settings": {
    "socks_config": {
      "accounts": [
        {
          "user": "user",
          "pass": "pass"
        }
      ],
      "auth": "password"
    },
    "http_config": {}
  }
}

TODO

  • docs
  • tests

@AkinoKaede
Copy link
Contributor

AkinoKaede commented Feb 18, 2021

@Xray9 这个叫 mixed 是不是不大好

@Xray9
Copy link
Contributor Author

Xray9 commented Feb 18, 2021

@Xray9 这个叫 mixed 是不是不大好

用的 glider 里面的名字,因为代码也是复制它的

@RPRX
Copy link
Member

RPRX commented Feb 18, 2021

@Xray9 不用加一个入站,可以先让 socks 入站兼容一下 http 协议。
长久来看要出尝试机制,可以多个协议直接共存:
Socks、HTTP;VLESS、Trojan;VMess、Shadowsocks

@RPRX
Copy link
Member

RPRX commented Feb 18, 2021

@RPRX 不过,把 mixed 扩展成这样也不是不可以。。

@RPRX
Copy link
Member

RPRX commented Mar 5, 2021

现在我认为用 mixed 入站逐步实现 #279 (comment) 是个好想法,socks_confighttp_config 可以分别改为 sockshttp

Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants