Prev | Current Page 262 | Next

Mark D. Spivey

"Practical Hacking Techniques and Countermeasures"


-nnn Do not resolve host addresses or port numbers.
-r file Read packet data from tcpdump formatted binary
log file. (Example: a file created with -w.)
-s snaplen Read snaplen bytes of data from each packet
rather than the default of 68.
-v Enables verbose packet capture.
-w file Write the raw packets to file rather than displaying
time to stderr.
-X Display hexadecimal and ASCII dump of each packet
up to snap length bytes.
expression selects which packets should be displayed.
If no expression is given, all packets are displayed. See
the tcpdump(1) man page for more detailed
information.
708  Practical Hacking Techniques and Countermeasures
Chapter Tool Syntax
Chapter 6
(continued)
Packit -t protocol Specify the type of packet to inject. Supported
values are: ARP, TCP, UDP, and ICMP. This option
defaults to TCP in inject mode and ICMP in trace mode.
This section documents the operational command-line
options:
-c count The value of count is the total number of
packets we would like to inject (a count value of 0
means forever).
-w interval The number of seconds to wait between
sending each packet burst (default: 1).
-b burst rate Specifies the number of packets to inject
every interval (defined by -w). (A burst rate of 0 will
send packets as quickly as possible.)
-h Host response mode. Enabling this option will print
any packet you inject and then wait (see -H for timeout)
to see if the remote host responds.


Pages:
250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274