adb_tcpdump_start
Initiate a background tcpdump packet capture on an Android device. Specify network interface, filter expression, or packet count.
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 |