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

[Enhancement]: xhttp #441

Open
Graveyard9988 opened this issue Nov 8, 2024 · 1 comment
Open

[Enhancement]: xhttp #441

Graveyard9988 opened this issue Nov 8, 2024 · 1 comment

Comments

@Graveyard9988
Copy link

Graveyard9988 commented Nov 8, 2024

Hi

First, Please watch this example of this xhttp config:

{
"log": {
"loglevel": "warning"
},
"routing": {
"rules": [
{
"ip": [
"geoip:private"
],
"outboundTag": "direct"
}
]
},
"inbounds": [
{
"listen": "127.0.0.1",
"port": 10808,
"protocol": "socks"
},
{
"listen": "127.0.0.1",
"port": 10809,
"protocol": "http"
}
],
"outbounds": [
{
"protocol": "vless",
"settings": {
"vnext": [
{
"address": "6.75.300.69",
"port": 443,
"users": [
{
"id": "71756baf-2110-4292-9372-d696ace89f9c",
"encryption": "none"
}
]
}
]
},
"streamSettings": {
"network": "xhttp",
"xhttpSettings": {
"mode": "auto",
"path": "/yourpath",
"downloadSettings": {
"address": "www.speedtest.net",
"port": 443,
"network": "xhttp",
"xhttpSettings": {
"path": "/yourpath",
"host": "split.gladiator.gb",
"mode": "auto"
},
"security": "tls",
"tlsSettings": {
"allowInsecure": false,
"serverName": "www.gladiator.gb",
"alpn": [
"h2"
],
"fingerprint": "chrome"
}
}
},
"security": "reality",
"realitySettings": {
"fingerprint": "chrome",
"serverName": "www.speedtest.net",
"publicKey": "Zplz0pWAz0UlXHpono8BX9PSoH2QzfV66jQ-XCEQTSE",
"shortId": "c8fh"
}
}
},
{
"protocol": "freedom",
"tag": "direct"
}
]
}

Xray core developers has recently added "xhttp" method which is enhanced version of "splithttp".

In the Above config, download is based on splithttp and upload is based on reality by xhttp method.

Unfortunately, singbox developer has no plan to add xhttp to singbox.

I wanna ask you to import xttp from latest xray core and design options for entering any types of xhttp configs to karing.

Thanks for always great job

Regards

@Graveyard9988
Copy link
Author

@GooRingX example config updated

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