emanuele-f / PCAPdroid

No-root network monitor, firewall and PCAP dumper for Android
https://emanuele-f.github.io/PCAPdroid
GNU General Public License v3.0
2.41k stars 285 forks source link

Send UDP connections to the SOCKS5 proxy #212

Open emanuele-f opened 2 years ago

emanuele-f commented 2 years ago

Currently PCAPdroid only sends TCP connections to the proxy. It should also send UDP (e.g. to decrypt QUIC)

kevin0t commented 2 years ago

Useful for sending dns (UDP) requests along with other traffic to the proxy server. But maybe implement a toggle for enabling UDP proxy , as sometimes if a user is running a decryption on the proxy server , the dns requests like DoT/private dns wouldn't decrypt easily and would lead to total disruption in the decryption process. So dns could be chose to be proxied or not depending upon the use case of user.

emanuele-f commented 2 years ago

DoT always uses TCP, so proxying UDP traffic is not an issue. Any exceptions for decryption should be implemented as part of #266

emanuele-f commented 1 year ago

Postponing this after we have a practical use case (e.g. after the new mitmproxy release with Quic decryption support gets released)