[networkextesion] dnsproxy

hello

I am testing the use of network extension. When we use dnsproxy to proxy DNS requests, we will send you a message that the udp pcbcount of your system continues to increase. For example

for ((i=1; i<=99999; i++));do echo "Attempt $i:" dig google.com done

when the dig command is used continuously, the dig command will show the following errors when pcbcount reaches a certain number.

isc_socket_bind: address not available

Can you help us determine what the problem might be? thank you

Are you sure you’re passing the right endpoint info through to the open(withLocalEndpoint:completionHandler:) method?

Note On macOS 15 and later this in deprecated in favour of open(withLocalFlowEndpoint:completionHandler:), which uses Network framework types, but the effect is the same.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

[networkextesion] dnsproxy
 
 
Q