Linux Command Encyclopedia network communication: tcpdump

Source: Internet
Author: User
Keywords Linux Command Encyclopedia tcpdump network communications
Tags aliyun command encyclopedia communication communications compiled data displays document

Function Description: Dump the network transmission data.

Grammar: tcpdump&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP;" [-ADEFLNNOPQSTVX] Number of [-c< Packets [-DD] [-DDD] [-f< Express Document [-i< Network Interface [-r< Packet File [-s< Packet Size [-tt] [-t< Packet Type [VV] [-w< Packet File [Output data field]

Supplemental Note: Execute tcpdump instructions to list the header of a packet file that has been assigned a network interface, and you must be a system administrator in the Linux operating system.

Parameters:
-a attempts to convert network and broadcast addresses to names.
-c< Number of packets > The number of packets received, the dumping operation stopped.
-D converts the compiled packet encoding into a readable format and dumps it to standard output.
-DD converts the compiled packet code into a C language format and dumps it to standard output.
-DDD converts the compiled packet encoding into a decimal number format and dumps it to the standard output.
-e Displays the header of the connection level on each column dumping data.
-F Displays the Internet address in digital.
-f< Express File > Specify a file containing the expression.
-i< network interface > send packets using the specified network section.
-L uses a buffer of the standard output column.
-N does not convert the host's network address to a name.
-N does not list domain names.
-O does not optimize packet encoding.
-P does not allow the network interface to enter promiscuous mode.
-Q Fast output, listing only a handful of transport protocol information.
-r< packet files > reads packet data from a specified file.
-s< Packet Size > Set the size of each packet.
-S lists the number of TCP associations with absolute rather than relative values.
-T displays a time stamp on each column dumping data.
-TT displays unformatted timestamp on each column of dumping data.
-t< Packet Type > forces the packets specified by the expression to be translated into the set packet type.
-V details the instruction execution process.
VV Displays the instruction execution process in more detail.
-X lists the packet data in hexadecimal codes.
-w< packet File > writes packet data 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.