[Feature request] Show app name in the log
HamidZaeri opened this issue · 3 comments
Hi
It's good to see name of the app (and icons) requested the dns query in the log (recent queries).
Unfortunately this is extremely difficult, and perhaps impossible. DNS queries are emitted by the system itself, not by applications, and Intra has no direct way to link each query to the application that generated it. Thanks to the system DNS cache, many queries produced by apps will never reach Intra at all.
It may be possible to infer an indirect linkage using the contents of /proc/net/tcp, but this mapping is not precise and can be delayed.
Then how does split tunneling works?!
Unfortunately this is extremely difficult, and perhaps impossible. DNS queries are emitted by the system itself, not by applications, and Intra has no direct way to link each query to the application that generated it. Thanks to the system DNS cache, many queries produced by apps will never reach Intra at all.
It may be possible to infer an indirect linkage using the contents of /proc/net/tcp, but this mapping is not precise and can be delayed.
Apps can be excluded or included in the VPN by an explicit Android API. If an app is excluded from the VPN, its traffic is never visible to Intra at all.