What version of V2Ray are you using?
5.44.1
What's your scenario of using V2Ray?
encrypted proxy
What problems have you encountered?
When I copy-pasted someone's config for test, I noticed that V2ray did not throw & terminate even there is an error in config below.
[Warning] V2Ray 5.44.1 started and no error at all.
What's your expectation?
Should throw unable to load json > infra/conf/cfgcommon: invalid port range: 100000 error and terminate.
Please attach your configuration here
Only client config has this issue. The server config with bad port number was detected correctly.
Client side:
{
"log": {
"access": {
"type": "None"
},
"error": {
"level": "Info",
"type": "Console"
}
},
"inbounds": [
{
"listen": "127.0.0.1",
"port": 7830,
"protocol": "socks",
"settings": {
"address": "127.0.0.1",
"packetEncoding": "Packet",
"udpEnabled": true
}
},
{
"listen": "127.0.0.1",
"port": 7831,
"protocol": "http",
"settings": {}
}
],
"outbounds": [
{
"tag": "proxy",
"protocol": "trojan",
"settings": {
"address": "127.0.0.1",
"password": "jesus-dont-look-at-my-connection-man",
"port": 100000 <----------------------------------------------------------------{ T H I S }
},
"streamSettings": {
"security": "tls",
"securitySettings": {
"allow_insecure_if_pinned_peer_certificate": true,
"pinned_peer_certificate_chain_sha256": [
"22AC..............05E"
],
"server_name": "www.qq.com"
}
}
}
]
}
Please attach error logs here
No error was raised
Please attach access log here
N/A
Other configurations (such as Nginx) and logs here
N/A
If V2Ray cannot start up, please attach output from --test command
If V2Ray service is abnormal, please attach journal log here
What version of V2Ray are you using?
5.44.1
What's your scenario of using V2Ray?
encrypted proxy
What problems have you encountered?
When I copy-pasted someone's config for test, I noticed that V2ray did not throw & terminate even there is an error in config below.
[Warning] V2Ray 5.44.1 startedand no error at all.What's your expectation?
Should throw
unable to load json > infra/conf/cfgcommon: invalid port range: 100000error and terminate.Please attach your configuration here
Only
client confighas this issue. Theserver config with bad port numberwas detected correctly.Client side:
Please attach error logs here
No error was raised
Please attach access log here
N/A
Other configurations (such as Nginx) and logs here
N/A
If V2Ray cannot start up, please attach output from
--testcommandIf V2Ray service is abnormal, please attach journal log here