[Help] Packet sniffing with old Android phone?
from emotional_soup_88@programming.dev to privacy@lemmy.ml on 17 Apr 20:30
https://programming.dev/post/48972893

Thank you @ScoffingLizard@lemmy.dbzer0.com for telling me about the pcap app! On rooted devices, you can even be running a VPN simultaneously, because then the pcap app doesn’t need to take that slot.

Please share any knowledge or experience that you have on packet inspection using smartphones. I would like to sniff at my switch, which is switching between my (two LANs)^[I put “two LANs” within parentheses to denote that the two LANs are not being switched between.] and my ISP. For this, I have mirrored all ports that are in use to a port that is currently not in use. Can I simply buy one of those USB-C to Ethernet dongles and use tcpdump in Termux? Will Android recognize the dongle as a sniffable network interface? The phone is rooted.

#privacy

threaded - newest

ScoffingLizard@lemmy.dbzer0.com on 17 Apr 22:37 next collapse

I think there is a pcap package available for android but it might now work if you use a private DNS app or firewall.

emotional_soup_88@programming.dev on 17 Apr 23:03 collapse

Thanks, I’m going to check that out! I’m doing a fresh reset on the phone with just termux installed, so it shouldn’t be a problem.

MonkderVierte@lemmy.zip on 19 Apr 21:12 collapse

apt.izzysoft.de/packages/com.pcapdroid.mitm and addon, is good. Though i don’t know how old your Android is.