Post

Replies

Boosts

Views

Activity

DNS servers query order
In what order are DNS servers queried? I can set DNS servers in several ways: Wi-Fi/Cellular network interface via DHCP / manual entry in settings. Using NEDNSSettingsManager. Via DNSSettings in NEPacketTunnelNetworkSettings. Plus, on top of that, the user can have iCloud Relay enabled. Which DNS servers are used and when? Does NEDNSSettingsManager take precedence over iCloud Relay? Does it depend on the DNS protocol (Do53/DoH/DoT) set in NEDNSSettingsManager?
3
0
818
Jul ’22
How to debug PAC processing
When the PAC is processed (specifically findProxyForURL() is run) - what is the best way to debug that? Some browsers provide ways to understand what is happening inside that function (ie. through alert() you can show values of specific variables as they are set during execution). Is there a way to debug the PAC processing on iOS? For instance by logging some user-controlled output to the console?
1
0
790
Jul ’22
Make HTTPS API call through the tunnel from within the Network Extension
Hi! what is the best way to send a HTTPS (REST API) call from the Network Extension process, that will go through the tunnel that this NE set up? By default all connection triggered from the tunnel process don't go through this tunnel. Should I be using createTCPConnectionThroughTunnel to send the HTTPS request? Any suggestions on how to implement this are most welcome :) Thank you!
1
0
1.1k
Oct ’20
iOS 14 local network privacy question
Hi! we're working on an app that provides a custom VPN protocol implementation. The main app uses the Network Extension with a PacketTunnelProvider. In certain cases the tunnel process needs to connect to the local DNS server, which appears to trigger the Local Network Privacy warning in iOS 14. What we're observing is that even if the user declines the "App would like to connect to devices on your local network" prompt, the Network Extension can still reach and query the local DNS resolver. It seems that even if the user pick "Don't allow" in the OS prompt, all communication with the local network devices from the Network Extension is still possible. Is that an expected behaviour in iOS 14? Or is there a chance that this will change with on of the coming iOS 14 beta releases and we should account for that?
4
0
2.4k
Aug ’20