Closed Invictaz closed 1 month ago
No, you need real packet forging at OSI Level 2. VPN-like solutions act as a man-in-the-middle between the app and the network, are able to decrypt locally generated traffic for inspection, but not to alter the real content.
I don't know what OSI level 2 is.
Well, I think this is technically possible. It involves a lot of work, but you can definitely alter the outcoming packet via a "VPN service". The "Vpn Api" has changed during the years, mainly for security requirements, but packet altering is definitely possible. Just think about "SSL packet sniffers" apps.
Would it be possible to do a VPN like solution to have libpcap without root?
See https://github.com/emanuele-f/PCAPdroid
As a route via Shizuku and adb only works on Android 11+ iirc