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

BUG in xhttp extra in v2ray share links #1625

Open
chitoz1300 opened this issue Jan 30, 2025 · 0 comments
Open

BUG in xhttp extra in v2ray share links #1625

chitoz1300 opened this issue Jan 30, 2025 · 0 comments

Comments

@chitoz1300
Copy link

chitoz1300 commented Jan 30, 2025

سلام

توی آخرین نسخه مرزبان دولوپر، با اینکه تغییراتی توی extra link انجام شده، ولی همچنان بعضی از باگ‌های اینباند برطرف نشده‌اند، مخصوصاً در Reality.

یکی از قابلیت‌های XHTTP اینه که می‌تونه آپلود و دانلود رو جدا کنه، اما شرلینکی که مرزبان می‌سازه اشتباهه. مثلاً اگه extra رو دستی توی v2ray اضافه کنیم، درست کار می‌کنه و آپلود و دانلود از هم جدا میشن، ولی توی مرزبان امکان ساخت شرلینک با این تنظیمات وجود نداره!

{
	"downloadSettings": {
		"address": "xxx.xxx.xxx.xxx",
		"port": 2087,
		"network": "xhttp",
		"security": "reality",
		"realitySettings": {
			"fingerprint": "randomized",
			"serverName": "sourceforge.net",
			"publicKey": "HuQuR_NzaC-qsMD44owrQfBffcW90PZ7HB-yp7OO3nQ",
			"shortId": "6f6d696400000000",
			"spiderX": "/test"
		},
		"xhttpSettings": {
			"host": "pypi.org",
			"path": "/xhttp"
		}
	}
}

همین مورد واسه tls هم هستش و شر لینک extra نمیسازه

{
	"downloadSettings": {
		"address": "test.com",
		"port": 2096,
		"network": "xhttp",
		"xhttpSettings": {
			"host": "test.com",
			"path": "/xhttp"
		},
		"security": "tls",
		"tlsSettings": {
			"allowInsecure": false,
			"alpn": [],
			"fingerprint": "chrome",
			"serverName": "test.com",
			"show": false
		}
	}
}

اگه امکان خروجی گرفتن شرلینک Extra به‌صورت RAW از طریق host وجود داشت، این مشکل حل می‌شد.

و خروجی شر لینک فقط این مقادیر ویرایش میکنه

scMaxEachPostBytes":+1000000,+"scMaxConcurrentPosts":+100


توی بخش fallback هم مشکل اینه که گزینه Reality برای انتخاب وجود نداره و فقط TLS پشتیبانی میشه.

{
      "tag": "Xhttp reality fallback",
      "listen": "0.0.0.0",
      "port": 1555,
      "protocol": "vless",
      "settings": {
        "decryption": "none",
        "clients": []
      },
      "streamSettings": {
        "network": "xhttp",
        
        "xhttpSettings": {
          "path": "/xhttp"
        }
      }
    },
    {
      "tag": "xhttp reality upload",
      "listen": "0.0.0.0",
      "port": 2087,
      "protocol": "vless",
      "settings": {
        "decryption": "none",
        "clients": [],
        "fallbacks": [
          {
            "dest": 1555
          }
        ]
      },
      "streamSettings": {
        "network": "raw",
        "security": "reality",
        "realitySettings": {
          "target": "example.com:443",
          "serverNames": [
            "sourceforge.net"
          ],
          "privateKey": "OCceoUhbn5WjPJvQpUGB0SSyXdl2079--bATkyAZ92s",
          "shortIds": [
            ""
          ]
        }
      }
    },
        {
            "tag": "xhttp reality download",
            "listen": "0.0.0.0",
            "port": 2053,
            "protocol": "vless",
            "settings": {
                "decryption": "none",
                "clients": [],
                "fallbacks": [
                    {
                        "dest": 1555
                    }
                ]
            },
            "streamSettings": {
                "network": "raw",
                "security": "reality",
                "realitySettings": {
                    "target": "example.com:443",
                    "serverNames": [
                        "pypi.org"
                    ],
                    "privateKey": "UMHCiHr-9zDsp406HMOjbiQwNybvv1uyrq561RuWFCE",
                    "shortIds": [
                        ""
                    ]
                }
            }
        }

Image

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

1 participant