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

ipv6 only 节点频繁断连 #1684

Closed
taki-na opened this issue Oct 10, 2022 · 4 comments
Closed

ipv6 only 节点频繁断连 #1684

taki-na opened this issue Oct 10, 2022 · 4 comments

Comments

@taki-na
Copy link

taki-na commented Oct 10, 2022

同一节点,v2rayN、surfboard 正常使用,v2rayNG 频繁断连
节点信息:vmess+tcp,ipv6 only

预期行为

节点正常使用

实际行为

连接后大约一分钟断开连接

复现方法

日志信息

10-11 00:44:55.186 I/GoLog   (29822): [Debug] [2899036671] proxy/socks: writing back UDP response with 160 bytes
10-11 00:44:55.189 I/GoLog   (29822): [Debug] [3527199161] proxy/socks: writing back UDP response with 304 bytes
10-11 00:44:55.199 I/GoLog   (29822): [Info] [4203167968] proxy/socks: TCP Connect request to tcp:[*::*]:443
10-11 00:44:55.199 I/GoLog   (29822): [Info] [4203167968] app/dispatcher: sniffed domain: firebaselogging.googleapis.com
10-11 00:44:55.199 I/GoLog   (29822): [Info] [4203167968] app/dispatcher: default route for tcp:firebaselogging.googleapis.com:443
10-11 00:44:55.200 I/GoLog   (29822): tcp:127.0.0.1:49138 accepted tcp:[*::*]:443 [socks >> proxy]
10-11 00:44:55.200 I/GoLog   (29822): Not Using Prepared: tcp,[2a01:4f8:262:2183:1234:1234:4285:1]:41280
10-11 00:44:55.200 I/GoLog   (29822): [Info] [4203167968] transport/internet/tcp: dialing TCP to tcp:[2a01:4f8:262:2183:1234:1234:4285:1]:41280
10-11 00:44:55.360 I/GoLog   (29822): PrepareDomain SplitHostPort Err: address [[*::*]]:41280: missing port in address
10-11 00:44:55.360 I/GoLog   (29822): PrepareDomain err: address [[*::*]]:41280: missing port in address
10-11 00:44:55.471 I/GoLog   (29822): [Info] [4203167968] proxy/vmess/outbound: tunneling request to tcp:firebaselogging.googleapis.com:443 via [2a01:4f8:262:2183:1234:1234:4285:1]:41280
10-11 00:44:56.967 I/GoLog   (29822): Not Using Prepared: tcp,[*::*]:41280
10-11 00:44:56.967 I/GoLog   (29822): Not Using Prepared: tcp,[*::*]:41280
10-11 00:44:56.967 I/GoLog   (29822): [Info] [1536229267] proxy/socks: TCP Connect request to tcp:149.154.175.57:443
10-11 00:44:56.968 I/GoLog   (29822): [Info] [3261007212] proxy/socks: TCP Connect request to tcp:149.154.175.57:443
10-11 00:44:56.968 I/GoLog   (29822): [Info] [1536229267] app/dispatcher: default route for tcp:149.154.175.57:443
10-11 00:44:56.968 I/GoLog   (29822): [Info] [1536229267] transport/internet/tcp: dialing TCP to tcp:[2a01:4f8:262:2183:1234:1234:4285:1]:41280
10-11 00:44:56.968 I/GoLog   (29822): [Info] [3261007212] app/dispatcher: default route for tcp:149.154.175.57:443
10-11 00:44:56.968 I/GoLog   (29822): tcp:127.0.0.1:49144 accepted tcp:149.154.175.57:443 [socks >> proxy]
10-11 00:44:56.968 I/GoLog   (29822): tcp:127.0.0.1:49148 accepted tcp:149.154.175.57:443 [socks >> proxy]
10-11 00:44:56.968 I/GoLog   (29822): [Info] [3261007212] transport/internet/tcp: dialing TCP to tcp:[2a01:4f8:262:2183:1234:1234:4285:1]:41280
10-11 00:44:57.229 I/GoLog   (29822): [Info] [1536229267] proxy/vmess/outbound: tunneling request to tcp:149.154.175.57:443 via [2a01:4f8:262:2183:1234:1234:4285:1]:41280
10-11 00:44:57.237 I/GoLog   (29822): [Info] [3261007212] proxy/vmess/outbound: tunneling request to tcp:149.154.175.57:443 via [2a01:4f8:262:2183:1234:1234:4285:1]:41280
10-11 00:44:57.361 I/GoLog   (29822): PrepareDomain maxRetry reached. exiting.
10-11 00:44:57.362 I/GoLog   (29822): vServer cannot resolved, shutdown
10-11 00:44:57.363 I/GoLog   (29822): [Debug] app/log: Logger closing
10-11 00:44:57.365 D/com.v2ray.ang(29822): tun2socks destroy
10-11 00:44:57.366 I/tun2socks(32144): NOTICE(tun2socks): termination requested
10-11 00:44:57.366 I/tun2socks(32144): NOTICE(tun2socks): tearing down
10-11 00:44:57.375 I/tun2socks(32144): NOTICE(tun2socks): Free TCP connections
10-11 00:44:57.386 I/tun2socks(32144): NOTICE(tun2socks): exiting

环境信息

android 12 v2rayNG v1.7.20 xray v1.6
服务端 xray v1.6

额外信息(可选)

@taki-na
Copy link
Author

taki-na commented Oct 11, 2022

似乎是因为地址栏中的 ipv6 地址添加了中括号 [ ] 导致的

@xiaopang0v0
Copy link

如果你在中国大陆使用这个连接参数进行上网的话,出现连接断开是十分正常的,因为这个连接配置存在较大的安全隐患,不属于软件本身存在的 BUG ,请使用更安全的连接方式。

v2ray/v2ray-core#2523

顺带提一句,你的环境信息提交的过于笼统了,我无法确定你的 v2rayNG 最新版究竟是哪一个版本,如果以后你要提 issues ,请具体说明版本以及该版本对应的 xray 内核型号

@taki-na
Copy link
Author

taki-na commented Oct 17, 2022

如果你在中国大陆使用这个_连接参数_进行上网的话,出现连接断开是十分正常的,因为这个连接配置存在较大的安全隐患,不属于软件本身存在的 BUG ,请使用更安全的连接方式。

v2ray/v2ray-core#2523

顺带提一句,你的环境信息提交的过于笼统了,我无法确定你的 v2rayNG 最新版究竟是哪一个版本,如果以后你要提 issues ,请具体说明版本以及该版本对应的 xray 内核型号

好的,受教了

@xiaopang0v0
Copy link

如果没有其他问题请及时关闭 issues

@taki-na taki-na closed this as completed Nov 2, 2022
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

2 participants