B2G/Packet Sniffing with Wireshark: Difference between revisions

Jump to navigation Jump to search
 
Line 74: Line 74:


===Gotchas===
===Gotchas===
Restarting the running live capture in Wireshark (i.e. by clicking on the toolbar icon with the "back" arrow) seems to break the connection to the phone. When this happens, exit Wireshark and kill the <code>tcpdump</code> process (in the first terminal, above), then re-run the two commands again.
1. Restarting the running live capture in Wireshark (i.e. by clicking on the toolbar icon with the "back" arrow) seems to break the connection to the phone. When this happens, exit Wireshark and kill the <code>tcpdump</code> process (in the first terminal, above), then re-run the two commands again.
2. if you get an error : tcpdump: no suitable device found, run |adb root| first.
You need root access on the device in order to get tcpdump


==TODO==
==TODO==
# Provide instructions on how to build <code>nc</code> and <code>tcpdump</code> from source.
# Provide instructions on how to build <code>nc</code> and <code>tcpdump</code> from source.
Confirmed users
4,378

edits

Navigation menu