Post

Replies

Boosts

Views

Activity

Reply to Xcode: Objective-C Generated Interface Header Name. Which name is correct?
Few hours ago been testing all of the possible ways. There are working "[ProjectName]-Swift.h" and custom name like "bla-bla.h". There are only required corect definition of XCode parameters: SWIFT_OBJC_INTERFACE_HEADER_NAME SWIFT_OBJC_BRIDGING_HEADER ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES SWIFT_VERSION Haven't found yet any official documentation about it. Is there any?
Dec ’22
Reply to iOS application lifecycle and network extension. How?
As far as it known for me there are classical lifecycle of iOS application For me it's a little shadowed: When in classical lifecycle Network Extension running? What should be done for Network Extension in case of Application is in or out of Active/Inactive/Background/Suspended state? What should be done by Application in case of something wrong in Network Extension and how NE could be noticing about own state? Is there any limits for Network Extension? Memory? CPU usage Time? Access to something? Etc ... Is there any examples of "best practice" of how to orginise communication between Application and Network Extension? If there any info that you can send me to help, it would be greate. My application written on C++ with CMake.
Topic: App & System Services SubTopic: Core OS Tags:
May ’23
Reply to NEPacketTunnelProvider: determine destination DNS and IP. How?
The global idea of all of this matter is not to send to VPN all of traffic. There need to send only selected IP adresses to VPN and other via standard network. Is it possible on MacOS and iOS with NEPacketTunnelProvider. Therefore somehow need to detrmine IP and if IP from list send it to VPN if not in list send it to normal network. Is it possible somehow to get raw IP packet and parse the packet itself like it describedon this schema?
Jun ’23
Reply to NEPacketTunnelProvider: determine destination DNS and IP. How?
Is it correct that if there need only IPs from list, means need to set something like "exclude all" into excludedRoutes and add to included only list of IPs into includedRoutes? And there will be functionality that allow me to handle in VPN only IPs from list? "Exclude all" came into my brain by analogy of firewall rulles when you prohbiting everythin and open only allowed. For this issue allow everything to pass standard and only from list forward to TUN interface. And every packet that came to TUN must be passed through NEPacketTunnelProvider. Is it correct?
Jun ’23