Hi Team,
I'm trying to capture inbound traffic for DNS responses and have experimented with the following rules, but they did not work.
NENetworkRule *dnsInboundTraffic = [[NENetworkRule alloc] initWithRemoteNetwork:nil remotePrefix:0 localNetwork:[NWHostEndpoint endpointWithHostname:@"0.0.0.0" port:@"53"] localPrefix:0 protocol:NENetworkRuleProtocolUDP direction:NETrafficDirectionInbound];
settings.includedNetworkRules = @[dnsInboundTraffic];
Could you please correct me if I'm making any mistakes while setting the rules?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Created
Hi Team,
Observed that when subclass NETransparentProxyProvider and setting NEDNSSettings(adding own dns server) in NETransparentProxyNetworkSettings, it ignores the DNSSetting.
Whereas If I subclass the NEAppProxyProvider, then it takes the dnssetting and make it primary DNS server. validate using sctutil --dns.
Is it possible to set DNSSetting for NETransparentProxyProvider? I need to set our own DNS servers.
Any suggestion here?
Hi Team,
Im using SystemExtension with NEPackettunnelProvider where Im getting the layer 3 packets.
Below is my query.
Just wanted to understand if some other app started transparent app proxy(Layer4) with same network rule which I configured for NEPackettunnelProvider, Will I get the packet in NEPackettunnelProvider(Layer3)?
**As per the doc, **
if app proxy returns NO from handleNewFlow then it will handle by system and in my case it reaches to NEPackettunnelProvider
but what happen if it returns false and packet is processed by the app proxy.
As per my understanding packet should flow from Layer 4 to layer 3 but if app proxy implemented custom protocol then I believe it will not reach to NEPackettunnelProvider. Is my understanding correct?