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 link decoder and IPv6 address #1085

Closed
pulsarice opened this issue Mar 12, 2024 · 6 comments
Closed

Outbound link decoder and IPv6 address #1085

pulsarice opened this issue Mar 12, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@pulsarice
Copy link

In "xray configs" when I want to add an outbound config using vless link when the address is an IPv6, I get the error "Wrong Link!"

vless://uuid@[IPv6]:port?type=...
note that I have put the IPv6 in brackets.

@pulsarice pulsarice added the bug Something isn't working label Mar 12, 2024
@alireza0
Copy link
Owner

Dear @pulsarice ,

Please describe it more! It should works fine. Try : vless://uuid@[IPv6]:1234?type=none

  1. Without proper evidences of investigation nobody can help you!
  2. Make sure that you have found a BUG and root cause and probably a solution, then raise a BUG issue.

Thank you in advance

@pulsarice
Copy link
Author

pulsarice commented Mar 12, 2024

Please try this exact link
It gives error!

vless://uuid@[2a00:1450:4001:810::200e]:1234?type=none

image

@MJamshidnejad
Copy link

MJamshidnejad commented Mar 12, 2024

Please try this exact link It gives error!

vless://uuid@[2a00:1450:4001:810::200e]:1234?type=none

Remove the brackets and try again.

@pulsarice
Copy link
Author

pulsarice commented Mar 12, 2024

Remove the brackets and try again

Doesn't work either.

Also note that IPv6:port format without brackets should not be used as it can mess up things.
for example 1::1 is equal to 1:0:0:0:0:0:0:1 (six zeros) and if you want to specify port number without brackets, 1::1:80 will be mistaken with the ip address: 1:0:0:0:0:0:1:80 (five zeros) without any port number, instead of the intended 1:0:0:0:0:0:0:1 (six zeros) port 80.

@alireza0
Copy link
Owner

It is about regex I used for detecting the link. I am trying to support IPv6 as well.

alireza0 added a commit that referenced this issue Mar 12, 2024
@alireza0
Copy link
Owner

It is fixed now and will be available in next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants