Hi Matt,
About bringing up both dns and transparent proxy network devices, can you share with me your code on how to start them only after the other?
I tried different combinations inside AppDelegate.swift, with below way, only sometimes I can get both network devices added, other times only appproxy device can be seen.
func applicationDidFinishLaunching(_ aNotification: Notification) {
ProxyManager.shared().loadProxyManager(connect: true) {
ProxyManager.shared().addObserver {}
ProxyManager.shared().start()
DNSManager.shared().start() {}
}
}
About stability thing with both proxy running, have you observe its stability over time?
I tried with below script and found sometimes it just get stuck there for a while then resume going on.
#!/bin/bash
i=0
while true
do
i=$((i+1))
echo "loop $i"
nslookup google.com
sleep 1
done
Post
Replies
Boosts
Views
Activity
Also, I am currently at BigSur 11.3.1. Which BigSur version are you in?
Thanks a lot for this suggestion: by using netstat -vnp udp | wc -l, it is obvious the difference between BigSur and Monterey.
On Monterey, the return value keeps increasing when doing dns request loop from < 100 all the way to thousands; while on BigSur, it is steady at around 46~48!
Done and shared via bug report.