MatsuriDayo / NekoBoxForAndroid

NekoBox for Android / sing-box / universal proxy toolchain for Android
https://matsuridayo.github.io/
Other
11.81k stars 990 forks source link

BUG: DNS Leak via active selected profile in route per app #812

Open rony432 opened 2 hours ago

rony432 commented 2 hours ago

Describe the problem

app is leaking dns via action selected connection when there are route per app

Expected behavior: it should resolve dns via route profile to avoide dns leaks

Actual behavior:

How to reproduce

turn on perapp proxy inside chose proxy only selected apps chrome, firefox install two browsers. chrome and firefox

make 3 profiles with different countries in a group a US b UK c Germany

now in route make two routes per app route a for chrome select profile (a US) route b for firefox select profile (b UK)

now go to profiles make profile (c Germany active selected)

now visit in both chrome and firefox this site https://browserleaks.com/dns it shows th ip from profile of the route but dns is resolving from active selected profile (c Germany)

you will see ip is US or UK but dns is germany

Provide helpful screenshots, videos, text descriptions, subscription links, etc.

log

If you have logs, please upload them. Please see the detailed steps for exporting logs in the documentation.

rony432 commented 2 hours ago

the bug is on all other forks too