Posts

Post not yet marked as solved
1 Replies
1.1k Views
Hello,I'm trying to launch the sample from NetworkExtension on MacOS- Catalina (version- 10.15.3).In order to do that I downloaded the source code from- https://developer.apple.com/videos/play/wwdc2019/714/And did the following steps-Using Xcode 11.3.1, I opened the project.I searched for com.example.apple-samplecode and replaced that with com.(companyName).(productName).I changed this bundle id to these files- SimpleFirewall.entitlements with- com.(companyName).(productName)Info.Plist (NEMachServiceName) with- com.(companyName).(productName).simpleFirewallExtensionSimpleFirewallExtension.entitlements with- com.(companyName).(productName)I set the Bundle id for both the targets. One is com.(companyName).(productName) and another one is com.(companyName).(productName).simpleFirewallExtension. Respective Provisioning profile has been taken from the Provisioning Profile list.Did clean the app and built the app.Copied the application and pasted it to /Applications.I ran the app.Opened Console app to see the logsGetting Error in IPCConnection.swift file Function name-func register(withExtension bundle: Bundle, delegate: AppCommunication, completionHandler: @escaping(Bool) -> Void)Error- registerError.localizedDescription (Couldn’t communicate with a helper application.)Can you please help me out on that. TIA.
Posted Last updated
.
Post not yet marked as solved
5 Replies
929 Views
Hello,I am using NEPacketTunnelProvider in my application to create a VPN configuration. I am using inbuilt IPSec/IKEv2 only as the VPN protocol. Now I am facing issues with the ISAKMP version of the protocol.There are two scenarios where I am getting two different versions of ISAKMP-Scenario 1 (Successful case): I have created a VPN Profile manually in my iPhone with server details and its connecting properly. I am getting this log in my VPN server where ISAKMP version is 2.0- Internet Security Association and Key Management Protocol Initiator SPI: 5da12cee4eac9d03 Responder SPI: 526105b4b9cc92c0 Next payload: Encrypted and Authenticated (46) Version: 2.0 0010 .... = MjVer: 0x2 .... 0000 = MnVer: 0x0Scenario 2 (Failure case): I am creating a VPN profile through NEPacketTunnelProvider and trying to connect to server where I am getting this log of ISAKMP version (0.8)-Internet Security Association and Key Management Protocol Initiator SPI: 4500004541930000 Responder SPI: ff115ffa0a0a0001 Next payload: Hash (8) Version: 0.8 0000 .... = MjVer: 0x0 .... 1000 = MnVer: 0x8Now I want to change this version to 0.8 from my application, but I cant see any keywords which is available to NEPacketTunnelProvider. Please let me know if I need to share more details on that. TIA.
Posted Last updated
.