clowwindy / ShadowVPN

Removed according to regulations.
1.46k stars 1.07k forks source link

这个能用在未越狱的iOS上吗? #6

Closed songchenwen closed 9 years ago

clowwindy commented 9 years ago

因为苹果限制,不能。

songchenwen commented 9 years ago

用的都是tun device的话,那利用之前 @Smartype 给出的 Private API 是不是还是有可能在未越狱设备上运行的呢?当然前提是不求上App Store,只求自己使用。或者是说这条路径上有什么我没看到的坑呢?

我现在在iOS上是用Any Connect 连 ocserv, 但是速度非常慢。可是刷路由的话毕竟还是有局限性,先得买个能刷的设备,而且还只能在连着wifi时用。

如果你觉得这条路可行的话,我可以试着实现一下。或者说你有什么其他的建议吗?

clowwindy commented 9 years ago

不上 App Store 的话可以。不过能用的人就很少了。

Smartype commented 9 years ago

也许现在不可以,当初Openvpn不是也不可以么?可以试试,咨询一下Apple,使用VPN plugin API有什么要求,签个什么协议,或许你就可以有sign vpnplugin的 entitlement. Shadowsocks/VPN 如果要商业运作的话,这或许就是很重要的一步。— Sent from Mailbox

On Mon, Oct 6, 2014 at 5:06 PM, 宋辰文 notifications@github.com wrote:

用的都是tun device的话,那利用之前 @Smartype 给出的 Private API 是不是还是有可能在未越狱设备上运行的呢?当然前提是不求上App Store,只求自己使用。或者是说这条路径上有什么我没看到的坑呢? 我现在在iOS上是用Any Connect 连 ocserv, 但是速度非常慢。可是刷路由的话毕竟还是有局限性,先得买个能刷的设备,而且还只能在连着wifi时用。

如果你觉得这条路可行的话,我可以试着实现一下。或者说你有什么其他的建议吗?

Reply to this email directly or view it on GitHub: https://github.com/clowwindy/ShadowVPN/issues/6#issuecomment-57991153

songchenwen commented 9 years ago

@Smartype 哈哈,那如果我不申请也不签协议也不发appstore,就想把这个vpn plugin运行到自己未越狱的手机上做实验的话,我有这个权限吗?做这件事大概需要些什么步骤呢?

Smartype commented 9 years ago

你自己在entitlement里面加上这个然后试试能不能签名— Sent from Mailbox

On Mon, Oct 6, 2014 at 8:04 PM, 宋辰文 notifications@github.com wrote:

@Smartype 哈哈,那如果我不申请也不签协议也不发appstore,就想把这个vpn plugin运行到自己未越狱的手机上做实验的话,我有这个权限吗?做这件事大概需要些什么步骤呢?

Reply to this email directly or view it on GitHub: https://github.com/clowwindy/ShadowVPN/issues/6#issuecomment-58007537

songchenwen commented 9 years ago

@Smartype 报错

No matching provisioning profiles found

None of the valid provisioning profiles allowed the specified entitlements: 
application-identifier, keychain-access-groups, 
com.apple.developer.networking.vpn.api, com.apple.networking.vpn.configuration.  
Xcode can resolve this issue by removing mismatched entitlements from your entitlements file 
or you can edit the file manually.

没找到com.apple.developer.networking.vpn.api这个 entitlement 能在哪 enable.

是不是没戏了?

Smartype commented 9 years ago

就是你的证书签不了这个。或者说Xcode不让签。如果是后者,试试直接codesign— Sent from Mailbox

On Mon, Oct 6, 2014 at 9:20 PM, 宋辰文 notifications@github.com wrote:

@Smartype 报错 No matching provisioning profiles found None of the valid provisioning profiles allowed the specified entitlements: application-identifier, keychain-access-groups, com.apple.developer.networking.vpn.api, com.apple.networking.vpn.configuration.
Xcode can resolve this issue by removing mismatched entitlements from your entitlements file or you can edit the file manually. 没找到com.apple.developer.networking.vpn.api这个 entitlement 能在哪 enable.

是不是没戏了?

Reply to this email directly or view it on GitHub: https://github.com/clowwindy/ShadowVPN/issues/6#issuecomment-58015448

songchenwen commented 9 years ago

@Smartype 这次能签名了,但是安装的时候报错。

The entitlements specified in your application’s Code Signing Entitlements file do not match those specified in your provisioning profile.

看来还是得先搞到有特权的 Provisioning Profile 才行了。

Rockheader commented 9 years ago

OpenVPN的IOS client是否有参考价值?

http://staging.openvpn.net/openvpn3/

clowwindy commented 9 years ago

OpenVPN 和苹果签了 NDA,iOS client 不开源,使用苹果私有 API。