I use PacketTunnelProvider create a client. The DNS service is configured. After the Provider object is started, the DNS traffic is sent to the DNS server through the tun, but no corresponding output is displayed.
NSArray<NSString *> *dnsServers = @[@"30.30.30.30",@"8.8.8.8",@"8.8.4.4"];
NEDNSSettings *dnsSettings = [[NEDNSSettings alloc] initWithServers:dnsServers];
dnsSettings.matchDomains = @[@""];
tunnelNetworkSettings.DNSSettings = dnsSettings;
wireshark capture the utun7 virtual network adapter
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I want to create a feature that monitors which USB devices my computer is using and lets me know what they are. If the USB storage device is connected to my MacOS device, I want to prevent it from being used.
Is it possible to implement such a method using ESF framework? Or is there another way to do this?
I have a need to do a coverage test for the networkextension function code implemented by the system extension, but I don't know how to implement this method.
For example, how do you use gtest or how do you use xctest to achieve these capabilities?
If you know, please let me know. Thanks