适用于 VPN 的 iOS 专用 API
我正在寻找一些私有 API 来启动在“设置”应用程序中配置的 VPN 连接。有人有什么建议我可以在哪里找到它们吗? 我唯一发现的是 ManagedConfiguration.framework。这是正确的起点吗?如果没有任何文档,这有点困难:-/
PS 我知道私有 api 不能在 iTunes Store 等上。这仅供私人使用。
I'm looking for some private API to start a VPN connection configured in the Settings app. Anyone any suggestions where I can find them?
The only thing I found is the ManagedConfiguration.framework. Is that the right place to start? it's kind a hard without any documentation :-/
P.S. I know private api can't be on the iTunes Store etc. This is only for private use.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
iOS 8.0 现在包含网络扩展框架。它没有记录在developer.apple.com上,但在“功能”窗格中,您只需打开“个人VPN”,它就会为您添加到项目中......然后您可以浏览其标题。
官方文档没有提供更深入的信息。格姆布尔。
我刚刚发现了这一点,现在正在深入研究,所以我没有进一步的见解,但你就可以了。
iOS 8.0 now includes the Network Extension framework. It is not documented on developer.apple.com, but in the 'Capabilities' pane, you just flip on 'Personal VPN' and it is added to the project for you... then you can browse its headers.
The official doc gives no deeper information. Grmbl.
I just discovered this and am now digging in, so I have no further insight, but there you go.
系统配置框架中有这样的api。但这都是核心基础。对其进行逆向工程非常困难。所以我放弃了。
There is such api in the system configuration framework. But it's all Core Foundation. It's pretty hard to reverse engineere that. So I gave up on it.
不仅如此:您可以订阅应用程序开发人员计划,但无法访问 VPN API;您甚至还可以订阅 Apple Entreprise 计划 Apple 支持人员确认您可以访问该计划,但你不会。
您可以要求著名的“爱斯基摩人”获得邀请并获得访问权限,但最终只有一些公司(例如思科、瞻博网络和其他一些公司)获得了访问权限。
所以我确认:你在这个话题上浪费时间
well this more than this: You can subscribe to App developer program and won't get access to the VPN API; You can even also subscribe to Apple Entreprise program Apple support confirm that you will access to it, but you won't.
You can ask to the famous "eskimo" guy to be invited and have acces but at the end only some of companies like Cisco, Juniper, and some others are granted to it.
So I confirm: you waste your time with this topic