Packet Captures: Difference between revisions
Content added Content deleted
m (→Capture Filter Primitives: m) |
m (→Command Line Options: m) |
||
Line 366: | Line 366: | ||
====Command Line Options==== |
====Command Line Options==== |
||
-A Print frame payload in ASCII |
-A Print frame payload in ASCII |
||
-c <count> Exit after capturing count packets |
-c <count> Exit after capturing count packets |
||
-D List available interfaces |
-D List available interfaces |
||
-e Print link-level headers |
-e Print link-level headers |
||
-F <file> Use file as the filter expression |
-F <file> Use file as the filter expression |
||
-G <n> |
-G <n> Rotate the dump file every n seconds |
||
-i <iface> Specifies the capture interface |
-i <iface> Specifies the capture interface |
||
-K Don't verify TCP checksums |
-K Don't verify TCP checksums |
||
-L List data link types for the interface |
-L List data link types for the interface |
||
-n Don't convert addresses to names |
-n Don't convert addresses to names |
||
-p Don't capture in promiscuous mode |
-p Don't capture in promiscuous mode |
||
-q Quick output |
-q Quick output |
||
-r <file> Read packets from file |
-r <file> Read packets from file |
||
-s <len> Capture up to len bytes per packet |
-s <len> Capture up to len bytes per packet |
||
-S Print absolute TCP sequence numbers |
-S Print absolute TCP sequence numbers |
||
-t Don't print timestamps |
-t Don't print timestamps |
||
-v[v[v]] Print more verbose output |
-v[v[v]] Print more verbose output |
||
-w <file> Write captured packets to file |
-w <file> Write captured packets to file |
||
-x Print frame payload in hex |
-x Print frame payload in hex |
||
-X Print frame payload in hex and ASCII |
-X Print frame payload in hex and ASCII |
||
-y <type> Specify the data link type |
-y <type> Specify the data link type |
||
<br /> |
<br /> |
||