Ze command
Description
Uses AF_PACKET for zero-copy capture. Filter by protocol and port. Limit with
count or duration. Output as pcap (for Wireshark) or text. Snap-len controls
how many bytes per packet are captured.
Arguments
| Name | Type | Required | Values |
|---|---|---|---|
iface | string | no | any value of this type |
count | uint | no | any value of this type |
duration | string | no | any value of this type |
snap-len | uint | no | any value of this type |
format | enum | no | pcap text |
protocol | string | no | any value of this type |