adb_tcpdump_start
Start a background packet capture on an Android device using tcpdump. Specify interface, filter, or packet limit to analyze network traffic.
Instructions
Start a packet capture on the device using tcpdump. Requires root or tcpdump binary on device. Capture runs in background.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| interface | No | Network interface to capture (default: 'any') | any |
| filter | No | tcpdump filter expression (e.g., 'port 443', 'host 10.0.0.1') | |
| maxPackets | No | Stop after N packets (1-1000000, omit for continuous until stop) | |
| device | No | Device serial |