abbasnaqdi / nekoray-macos

This script is made to build https://github.com/MatsuriDayo/nekoray software for use on macOS operating system.
614 stars 54 forks source link

Reality not available for the latest build #3

Closed narakai closed 1 year ago

narakai commented 1 year ago

Hi, Thanks for the last build, it works on VMess but seems Reality not included in this build. Logs for this issue: create service: parse outbound[0]: uTLS, which is required by reality client is not included in this build, rebuild with -tags with_utls

abbasnaqdi commented 1 year ago

Hi, I don't have information about something called Reality Client‍ Please explain more or link to me about this.

Also, consider this repository is builder based of the main source, so the main Nekoray developers need to add new options to the software or fix the bug.

To find out if you find the problem in the new buildings, please install and test version 2.12 from the main repository.

narakai commented 1 year ago

Hi, it is a new protocol which has been added in X-ray core v1.8.0, and has been included since version 2.22, you can check at: https://github.com/MatsuriDayo/nekoray/issues/512 https://github.com/MatsuriDayo/nekoray/releases

By the way, I've checked version 2.25 for Windows, the protocol works fine on it.

abbasnaqdi commented 1 year ago

Fixed, I uploaded a new version. Please test and report the new version.

narakai commented 1 year ago

New version works perfect, thanks for the great work. I tried to build it myself using this script, but always fail because qt5 can not be found on Mac, even if I have installed it using brew. Can you give some advice on how to solve this, thanks.

Stevemoretz commented 1 year ago

New version works perfect, thanks for the great work. I tried to build it myself using this script, but always fail because qt5 can not be found on Mac, even if I have installed it using brew. Can you give some advice on how to solve this, thanks.

Can you confirm that reality works for you on the latest version? https://github.com/Stevemoretz/nekoray-macos/releases/tag/2.26

narakai commented 1 year ago

@Stevemoretz reality works on this version.

Stevemoretz commented 1 year ago

@Stevemoretz reality works on this version. @narakai Thank you! it's weird that doesn't work for me!‌ I get no errors in logs:

2023/04/18 15:12:00 tcp:127.0.0.1:53236 accepted [tcp:[2001:b28:f23d:f001::a]:443]  [socks-in -> proxy]
2023/04/18 15:12:00 tcp:127.0.0.1:53237 accepted [tcp:149.154.175.54:80]  [socks-in -> proxy]
2023/04/18 15:12:00 tcp:127.0.0.1:53242 accepted [tcp:[2001:b28:f23d:f001::a]:443]  [socks-in -> proxy]
2023/04/18 15:12:00 tcp:127.0.0.1:53241 accepted [tcp:149.154.175.54:443]  [socks-in -> proxy]
2023/04/18 15:12:00 tcp:127.0.0.1:53243 accepted [tcp:149.154.175.54:80]  [socks-in -> proxy]
2023/04/18 15:12:00 tcp:127.0.0.1:53247 accepted [tcp:149.154.175.54:443]  [socks-in -> proxy]
2023/04/18 15:12:00 tcp:127.0.0.1:53248 accepted [tcp:[2001:b28:f23d:f001::a]:443]  [socks-in -> proxy]
2023/04/18 15:12:00 tcp:127.0.0.1:53249 accepted [tcp:149.154.175.54:80]  [socks-in -> proxy]
2023/04/18 15:12:00 tcp:127.0.0.1:53253 accepted [tcp:mail.google.com:443]  [socks-in -> proxy]
2023/04/18 15:12:00 tcp:127.0.0.1:53255 accepted [tcp:mail.google.com:443]  [socks-in -> proxy]
2023/04/18 15:12:00 tcp:127.0.0.1:53257 accepted [tcp:mail.google.com:443]  [socks-in -> proxy]
2023/04/18 15:12:00 tcp:127.0.0.1:53259 accepted [tcp:mail.google.com:443]  [socks-in -> proxy]
2023/04/18 15:12:00 tcp:127.0.0.1:53261 accepted [tcp:mail.google.com:443]  [socks-in -> proxy]
2023/04/18 15:12:01 tcp:127.0.0.1:53263 accepted [tcp:optimizationguide-pa.googleapis.com:443]  [socks-in -> proxy]
2023/04/18 15:12:01 tcp:127.0.0.1:53265 accepted [tcp:mail.google.com:443]  [socks-in -> proxy]
2023/04/18 15:12:01 tcp:127.0.0.1:53267 accepted [tcp:149.154.175.54:80]  [socks-in -> proxy]
2023/04/18 15:12:01 tcp:127.0.0.1:53269 accepted [tcp:149.154.175.54:80]  [socks-in -> proxy]
2023/04/18 15:12:01 tcp:127.0.0.1:53271 accepted [tcp:149.154.175.54:80]  [socks-in -> proxy]
2023/04/18 15:12:02 tcp:127.0.0.1:53273 accepted [tcp:mail.google.com:443]  [socks-in -> proxy]
2023/04/18 15:12:02 tcp:127.0.0.1:53275 accepted [tcp:149.154.175.54:80]  [socks-in -> proxy]
2023/04/18 15:12:03 tcp:127.0.0.1:53277 accepted [tcp:149.154.175.54:80]  [socks-in -> proxy]
2023/04/18 15:12:03 tcp:127.0.0.1:53279 accepted [tcp:149.154.175.54:80]  [socks-in -> proxy]
2023/04/18 15:12:04 tcp:127.0.0.1:53281 accepted [tcp:149.154.175.54:80]  [socks-in -> proxy]
2023/04/18 15:12:04 tcp:127.0.0.1:53283 accepted [tcp:149.154.175.54:80]  [socks-in -> proxy]
2023/04/18 15:12:04 tcp:127.0.0.1:53285 accepted [tcp:149.154.175.54:80]  [socks-in -> proxy]

But no website loads:

Screen Shot 1402-01-29 at 18 42 23

I get ERR_SSL_PROTOCOL_ERROR for every website.

Did you do anything special to activate it?

narakai commented 1 year ago

I can't tell what is wrong from the logs, do you get your setting right, should be something like:

1
Stevemoretz commented 1 year ago

@narakai Thanks for the reply!

That's very strange, mine doesn't look like that at all, I don't have the Flow under VLESS, and I have no RealityPbk* under TLS Camouflage Settings!

Screen Shot 1402-01-29 at 19 06 45

But I am using the latest version 2.26

Screen Shot 1402-01-29 at 19 08 21

I think it's about importing the config, I used clipboard but it probably doesn't even understand I used reality?

Here's my config can you import it? vless://dea38e12-6642-41f1-c923-37ac7accc400@111.69.179.111:80?type=tcp&security=reality&sni=yahoo.com&pbk=O9RSr5gSdok2K_tobQnf_scyKVqnCx6C4Jrl7_rCZEQ&flow=xtls-rprx-vision&sid=d3f6aeb8&fp=firefox#80-ir9sjpf

I noticed it has security=reality so it should have understood it.

narakai commented 1 year ago

@Stevemoretz I tried but your config doesn't work for me.

Stevemoretz commented 1 year ago

@Stevemoretz I tried but your config doesn't work for me.

@narakai Thanks, I didn't share my real ip just wanted to see if that would import the same way or not, here's the config with my real ip:

vless://dea38e12-6642-41f1-c923-37ac7accc400@111.111.111.111:80?type=tcp&security=reality&sni=yahoo.com&pbk=O9RSr5gSdok2K_tobQnf_scyKVqnCx6C4Jrl7_rCZEQ&flow=xtls-rprx-vision&sid=d3f6aeb8&fp=firefox#80-ir9sjpf

If you got it please let me know to remove my real ip.

narakai commented 1 year ago

@Stevemoretz Checked again, now it works, you can remove your real ip.

Stevemoretz commented 1 year ago

@Stevemoretz Checked again, now it works, you can remove your real ip.

@narakai Thanks! So you just import from clipboard and the same config works for you but for me it doesn't even bring the same settings as you!

Stevemoretz commented 1 year ago

@Stevemoretz Checked again, now it works, you can remove your real ip.

@narakai I remembered a note about using NEKO_BOX, to activate reality https://github.com/MatsuriDayo/nekoray/commit/d6de7e4affd46efec4885d10fbe6a91529631c40#diff-ca03d3c0fd749844b0f67d87779a4c35c3ce311f3c782e12fdd202a6096b6045R42

Are you using neko box? What is that?

narakai commented 1 year ago

Yes, Reality is Neko Box only, according to the releases log : https://github.com/MatsuriDayo/nekoray/releases.

Stevemoretz commented 1 year ago

Yes, Reality is Neko Box only, according to the releases log : https://github.com/MatsuriDayo/nekoray/releases.

How can I activate "Neko Box" mode? I found nothing about it.

narakai commented 1 year ago

Try: Basic Settings - Core - Switch Core - sing-box

Stevemoretz commented 1 year ago

Try: Basic Settings - Core - Switch Core - sing-box

That was it 👍 the settings came for me too and I am connected to it right now! Thank you so much "sing-box" = "neko-box" lol.