Linuxtcpdump packet capture parameters

Source: Internet
Author: User
Function description: dumping network transmission data. Syntax: tcpdump [-adeflnNOpqStvx] [-c] [-dd] [-ddd] [-F] [-I] [-r] [-s] [-tt] [-T] [-vv] [-w] [output data column] supplementary description: run the tcpdump command to list the packet headers that pass through the specified network. in Linux, you must be a system administrator. Parameter:-a function description: dumping network transmission data.
Syntax: Tcpdump[-AdeflnNOpqStvx] [-c] [-dd] [-ddd] [-F] [-I] [-r] [-s] [-tt] [-T] [-vv] [-w] [output data column]
Note: You can run the tcpdump command to list the packet headers that pass through the specified network. in Linux, you must be a system administrator.
Parameters:
-A tries to convert the network and broadcast address to a name.
-C stops dumping after receiving the specified number of data packets.
-D converts compiled data packet encoding into a readable format and dumps it to standard output.
-Dd converts the compiled data packet encoding to the C language format and dumps it to the standard output.
-Ddd converts the compiled data packet encoding to a decimal number format and dumps it to the standard output.
-E displays the connection level file header on each column of dumped data.
-F displays the internet address in numbers.
-F indicates the file containing the expression.
-I sends data packets using the specified network section.
-L use the buffer of the standard output column.
-N does not convert the network address of the host into a name.
-N does not list domain names.
-O does not optimize packet encoding.
-P prevents the network interface from entering the hybrid mode.
-Q: fast output. only a few transmission protocol information are listed.
-R reads data from a specified file.
-S sets the size of each packet.
-S: use absolute rather than relative values to list the number of TCP connections.
-T the time stamp is not displayed on the dumped data in each column.
-Tt displays unformatted timestamps on the dumped data in each column.
-T forcibly translates the data packet specified by the expression into the set data packet type.
-V displays the instruction execution process in detail.
-Vv: displays the instruction execution process in detail.
-X uses a hexadecimal code to list data packets.
-W writes the data packet to the specified file.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.