heiher / hev-socks5-tunnel

A high-performance tun2socks for Linux/Android/FreeBSD/macOS/iOS/WSL2 (IPv4/IPv6/TCP/UDP)
MIT License
635 stars 130 forks source link

Tun2SocksKit for iOS no longer exist #79

Closed houmie closed 5 months ago

houmie commented 6 months ago

Hello

https://github.com/heiher/hev-socks5-tunnel#ios that is linked at the bottom of the page no longer exists.

The repo https://github.com/daemooon/Tun2SocksKit is deleted or set by mistake to Private.

This was working until yesterday. What do we do now?

heiher commented 6 months ago

Uh, I don't know what happened. Let's ask the author @arror

heiher commented 6 months ago

There is a fork: https://github.com/dumpmemory/Tun2SocksKit

houmie commented 6 months ago

Thank you for your response. Unfortunately I tried that fork already and it doesn't work, because it refers back to the repo of arror. Do you see that from the screenshot? I wonder if this is something that can be fixed in the SPM file.

Screenshot 2023-11-18 at 07 16 56

I emailed arror last night, but no response.

heiher commented 6 months ago

https://github.com/jzau/tun2sockskit

houmie commented 6 months ago

Thanks @heiher

I just tried it again with this URL https://github.com/jzau/tun2sockskit and I reseted the cache too.

Screenshot 2023-11-18 at 14 55 57

Do you see it's downloading version 2.5.5 from the new jzau repo. However for some reason it is still refering to the old arror path. Bizarre.

https://github.com/arror/Tun2SocksKit/releases/download/2.5.5/HevSocks5Tunnel.xcframework.zip

I don't think it's a caching problem on my side. I cleansed everything and even tried it on a complete new project. It's not working, I'm afraid.

EbrahimTahernejad commented 6 months ago

https://github.com/EbrahimTahernejad/Tun2SocksKit

houmie commented 6 months ago

After the latest update, it is now working. However only on the master branch. Not 2.5.5 release.

Thank you for chasing this and making it happen @heiher.

The only outstanding issue is that it doesn't include support for the simulator. The old version 2.5.3 that is no longer available had support for it. Right now it's not possible to open the app in the simulator. I raised an issue there, let see if it gets picked up. Thanks

houmie commented 6 months ago

https://github.com/EbrahimTahernejad/Tun2SocksKit

Hi Ebrahim, @EbrahimTahernejad

Yes, I found your repo as well. It looks very good. But there is a concern I have as you have changed it without updating the README file.

It used to be:

Socks5Tunnel.run(withConfig: configurationFilePath), privacy: .public)

But your repo requires the FileDescriptor to be passed in. It is no longer automatic:

Socks5Tunnel.run(withConfig: configurationFilePath, using: 4) { status in }

Your repo didn't work on my iPad, but worked on iPhone. Maybe 4 is the wrong value to pass in. It would be good if you could enable the issues section on your Github repo, so users can raise bugs and discuss them with you.

Thanks, Houman

EbrahimTahernejad commented 6 months ago

@houmie try version 3.1.5

houmie commented 5 months ago

@EbrahimTahernejad It works great now! Thank you. It works both on iPad and iOS simulator. Do I need to add Tun2SocksKitC too? Or is adding Tun2SocksKit enough? Or do I need to add both?

Brilliant project. Thanks

EbrahimTahernejad commented 5 months ago

You only need to import Tun2SocksKit