Linux under Grab Bag

Source: Internet
Author: User

#yum install-y tcpdump//Installation tcpdump
#tcpdump-nn//-nn The first n is displayed numerically, and if you do not add N, the host name is displayed, plus two n will display the IP address and port number in a digital way

#tcpdump-nn-i ens33//Specify ENS33 NIC

DDoS attack UDP flood is a flood attack of UDP, DDoS maximum attack amount of more than 300 g
#tcpdump-NN Port 80//ports specified
#tcpdump-nn not port and host 192.168.0.100//Do not port 22 and ip192.168.0.100
#tcpdump-nn-i ens33-c 10-w/tmp/1.cap//Specifies a crawl packet length of 10 and stores it under TMP

#file/tmp/1.cap//View the 10 packets just captured, the packet cannot be directly cat

#tcpdump-R/tmp/1.cap//using tcpdump to view packets

#yum Install Wireshark
]# tshark-n-T a-r http.request-t fields-e "Frame.time"-E "ip.src"-E "http.host"-E "Http.request.method"-E "HTTP.R Equest.uri "//web-like access logs

Linux under Grab Bag

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.