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

Outbound traffic loop in xray-core. #49

Closed
Vincent-SOE opened this issue Jan 26, 2025 · 0 comments
Closed

Outbound traffic loop in xray-core. #49

Vincent-SOE opened this issue Jan 26, 2025 · 0 comments

Comments

@Vincent-SOE
Copy link

Install SaeedDev94/Xray app (on Android 12) and past config json. After press START, massive logs appear, see following:

01-26 14:28:27.780 E/GoLog   ( 8494): [2025-01-26 14:28:27] [W] set limit nofile
[TIME].384 I/GoLog   ( 8494): [TIME]:28 from tcp:127.0.0.1:60457 accepted tcp:developers.google.com:443
[TIME].391 I/GoLog   ( 8494): [TIME]:28 from tcp:127.0.0.1:60459 accepted tcp:[SERVER_ADDR]:443
[TIME].400 I/GoLog   ( 8494): [TIME]:28 from tcp:127.0.0.1:60461 accepted tcp:[SERVER_ADDR]:443
[TIME].405 I/GoLog   ( 8494): [TIME]:28 from tcp:127.0.0.1:60463 accepted tcp:[SERVER_ADDR]:443
[TIME].410 I/GoLog   ( 8494): [TIME]:28 from tcp:127.0.0.1:60465 accepted tcp:[SERVER_ADDR]:443

...

[TIME].589 I/GoLog   ( 8494): [TIME]:34 [Error] [3340155863] transport/internet/websocket: failed to dial to [SERVER_ADDR]:443 > read tcp 10.10.10.10:51803->[SERVER_ADDR]:443: read: connection reset by peer
[TIME].589 I/GoLog   ( 8494): [TIME]:34 [Error] [1822252102] transport/internet/websocket: failed to dial to [SERVER_ADDR]:443 > read tcp 10.10.10.10:51805->[SERVER_ADDR]:443: read: connection reset by peer
[TIME].589 I/GoLog   ( 8494): [TIME]:34 [Error] [2760009982] transport/internet/websocket: failed to dial to [SERVER_ADDR]:443 > read tcp 10.10.10.10:51809->[SERVER_ADDR]:443: read: connection reset by peer
[TIME].589 I/GoLog   ( 8494): [TIME]:34 [Error] [3844637073] transport/internet/websocket: failed to dial to [SERVER_ADDR]:443 > read tcp 10.10.10.10:51807->[SERVER_ADDR]:443: read: connection reset by peer
[TIME].589 I/GoLog   ( 8494): [TIME]:34 [Error] [2541401829] transport/internet/websocket: failed to dial to [SERVER_ADDR]:443 > read tcp 10.10.10.10:51799->[SERVER_ADDR]:443: read: connection reset by peer

Same config json was tested on another Android 13 phone. Is works normally. xray-core can connect to remote server directly.

Logs show that xray-core is loop handle its outbound traffic.

This issue may caused by hev-socks5-tunnel. After read TProxyService.kt , I haven't find any solution about this issue.

Please describe the methods used by SaeedDev94/Xray to prevent packet storms? (In another words, bypass xray-core outbound traffic from tun)

I hope we can find out the real cause of this issue.

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