-
Notifications
You must be signed in to change notification settings - Fork 5k
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
订阅方式导入的自定义配置文件被更改 #3010
Comments
请提供一个config |
[
{
"remarks": "test1",
"log": {
"access": "/var/log/xray/access.log",
"error": "/var/log/xray/error.log",
"loglevel": "none"
},
"routing": {
"domainStrategy": "AsIs",
"rules": [
{
"domain": [
"geosite:cn",
"geosite:private"
],
"outboundTag": "direct"
},
{
"ip": [
"geoip:cn",
"geoip:private"
],
"outboundTag": "direct"
}
]
},
"inbounds": [
{
"tag": "http",
"protocol": "http",
"listen": "127.0.0.1",
"port": 10809,
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls",
"quic"
]
}
},
{
"tag": "socks",
"protocol": "socks",
"listen": "127.0.0.1",
"port": 10808,
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls",
"quic"
]
},
"settings": {
"udp": true
}
}
],
"outbounds": [
{
"tag": "proxy",
"protocol": "vless",
"settings": {
"vnext": [
{
"address": "xxx.xxx.com",
"port": 54326,
"users": [
{
"id": "xxx",
"encryption": "none"
}
]
}
]
},
"streamSettings": {
"network": "ws",
"wsSettings": {
"path": "/xxx?ed=2560"
},
"security": "tls",
"tlsSettings": {
"serverName": "xxx.xxx.com"
}
}
},
{
"tag": "direct",
"protocol": "freedom"
},
{
"tag": "block",
"protocol": "blackhole"
}
]
},
{
"remarks": "test2",
"log": {
"access": "/var/log/xray/access.log",
"error": "/var/log/xray/error.log",
"loglevel": "none"
},
"routing": {
"domainStrategy": "AsIs",
"rules": [
{
"domain": [
"geosite:cn",
"geosite:private"
],
"outboundTag": "direct"
},
{
"ip": [
"geoip:cn",
"geoip:private"
],
"outboundTag": "direct"
}
]
},
"inbounds": [
{
"tag": "http",
"protocol": "http",
"listen": "127.0.0.1",
"port": 10809,
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls",
"quic"
]
}
},
{
"tag": "socks",
"protocol": "socks",
"listen": "127.0.0.1",
"port": 10808,
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls",
"quic"
]
},
"settings": {
"udp": true
}
}
],
"outbounds": [
{
"tag": "proxy",
"protocol": "vless",
"settings": {
"vnext": [
{
"address": "xxx.xxx.com",
"port": 54326,
"users": [
{
"id": "xxx",
"encryption": "none"
}
]
}
]
},
"streamSettings": {
"network": "ws",
"wsSettings": {
"path": "/xxx?ed=2560"
},
"security": "tls",
"tlsSettings": {
"serverName": "xxx.xxx.com"
}
}
},
{
"tag": "direct",
"protocol": "freedom"
},
{
"tag": "block",
"protocol": "blackhole"
}
]
}
] |
lingyicute
added a commit
to lingyicute/YiLink
that referenced
this issue
Apr 20, 2024
commit 364b521 Author: 2dust <31833384+2dust@users.noreply.github.com> Date: Fri Apr 19 21:07:38 2024 +0800 up 1.8.20 commit 3cdaf4a Author: 2dust <31833384+2dust@users.noreply.github.com> Date: Fri Apr 19 14:36:48 2024 +0800 Bug fix 2dust#3010 commit b2fc6dc Author: 2dust <31833384+2dust@users.noreply.github.com> Date: Fri Apr 19 13:41:52 2024 +0800 Add switching theme dark or light commit 70e9320 Merge: ddb908f 304c7ed Author: 2dust <31833384+2dust@users.noreply.github.com> Date: Thu Apr 18 10:42:51 2024 +0800 Merge pull request 2dust#3020 from FranzKafkaYu/optimize-ui-logic style:optimize UI logic commit 304c7ed Author: FranzKafkayu <franzkafkayu@gmail.com> Date: Wed Apr 17 17:51:00 2024 +0800 style:optimize UI logic 1.add button for cancelling delete server config 2.toast when delete current using config commit ddb908f Author: 2dust <31833384+2dust@users.noreply.github.com> Date: Wed Apr 17 16:39:53 2024 +0800 Bug fix commit accd17a Author: 2dust <31833384+2dust@users.noreply.github.com> Date: Wed Apr 17 15:49:07 2024 +0800 Bug fix commit 9f598b7 Merge: fcbd4a0 d82fa97 Author: 2dust <31833384+2dust@users.noreply.github.com> Date: Wed Apr 17 14:11:28 2024 +0800 Merge pull request 2dust#3016 from solokot/master Update Russian translation commit d82fa97 Author: solokot <solokot@gmail.com> Date: Tue Apr 16 17:13:22 2024 +0300 Update Russian translation commit fcbd4a0 Author: 2dust <31833384+2dust@users.noreply.github.com> Date: Tue Apr 16 20:23:58 2024 +0800 Optimized storage of settings for SharedPreference commit 5cd2b88 Author: 2dust <31833384+2dust@users.noreply.github.com> Date: Tue Apr 16 10:39:56 2024 +0800 Adjust about style commit 723ab70 Author: 2dust <31833384+2dust@users.noreply.github.com> Date: Tue Apr 16 10:29:07 2024 +0800 Remove function migrateLegacy() commit a26bf3e Author: 2dust <31833384+2dust@users.noreply.github.com> Date: Mon Apr 15 17:30:00 2024 +0800 Add backup and restore configuration functionality commit c33b646 Merge: 817f844 df995a3 Author: 2dust <31833384+2dust@users.noreply.github.com> Date: Sat Apr 13 20:23:06 2024 +0800 Merge pull request 2dust#3005 from solokot/master Update Russian translation commit df995a3 Author: solokot <solokot@gmail.com> Date: Sat Apr 13 10:39:33 2024 +0300 Update Russian translation commit 817f844 Author: 2dust <31833384+2dust@users.noreply.github.com> Date: Sat Apr 13 13:12:35 2024 +0800 Add about activity commit fa8113b Merge: 99b95d8 f2af5c4 Author: 2dust <31833384+2dust@users.noreply.github.com> Date: Fri Apr 12 07:47:44 2024 +0800 Merge pull request 2dust#3002 from NetworkKeeper/patch-1 Ability to override built in `geosite.dat` and `geoip.dat` commit 99b95d8 Merge: fc2e4ff 1063bf7 Author: 2dust <31833384+2dust@users.noreply.github.com> Date: Fri Apr 12 07:47:19 2024 +0800 Merge pull request 2dust#3001 from NetworkKeeper/patch-2 Retry downloading geo assets without proxy commit fc2e4ff Author: 2dust <31833384+2dust@users.noreply.github.com> Date: Fri Apr 12 07:45:26 2024 +0800 Optimize routing commit 1063bf7 Author: NetworkKeeper <networkkeeper@mail.world> Date: Thu Apr 11 19:32:03 2024 +0300 Retry downloading geo assets without proxy commit f2af5c4 Author: NetworkKeeper <networkkeeper@mail.world> Date: Thu Apr 11 19:30:32 2024 +0300 Ability to override built in `geosite.dat` and `geoip.dat`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在提出问题前请先自行排除服务器端问题,同时也请通过搜索确认是否有人提出过相同问题。
预期行为
都自定义配置了,应该直接用原始的配置(和本地导入自定义配置行为一致),不应该被修改。
实际行为
使用订阅方式导入自定义配置,在导入v2rayng之后和自定义的配置不一样,会自动补全某些字段,例如field、flow等等。
复现方法
1.服务器自定义客户端json文件
2.v2rayNG导入步骤一的订阅链接(服务器自定义json文件的下载链接)
3.主界面更新订阅
4.订阅之后的配置内容和服务器自定义json文件不一样,字段顺序变了,一些不存在的字段被自动添加了,例如路由中的field,vless出站中的flow等等。
日志信息
通过
adb logcat -s com.v2ray.ang GoLog V2rayConfigUtilGoLog Main
获取日志。请自行删减日志中可能出现的敏感信息。如果问题可重现,建议先执行
adb logcat -c
清空系统日志再执行上述命令,再操作重现问题。环境信息
基于Android14的HyperOS系统,v2rayNG是Google Play版1.8.19
额外信息(可选)
The text was updated successfully, but these errors were encountered: