One-stop learning Wireshark (i): Wireshark basic usagehttp://blog.jobbole.com/70907/In accordance with international practice, from the most basic of speaking.Crawl Messages :After downloading and installing the Wireshark, start Wireshark and select the interface name in the interface list and start grabbing the packet
abstract : In accordance with international practice, from the most basic of speaking. Crawl message: After downloading and installing the Wireshark, start Wireshark and select the interface name in the interface list and start grabbing the packet on this interface. For example, if you want to crawl traffic on a wireless network, click the wireless interface. Click Capture options to configure advanced prop
In accordance with international practice, from the most basic of speaking.Crawl Messages :After downloading and installing the Wireshark, start Wireshark and select the interface name in the interface list and start grabbing the packet on this interface. For example, if you want to crawl traffic on a wireless network, click the wireless interface. Click Capture options to configure advanced properties, but
Wireshark analyzes non-standard port traffic and wireshark PortWireshark analysis of non-standard port traffic 2.2.2 analysis of non-standard port traffic Wireshark analysis of non-standard port traffic
Non-standard port numbers are always the most common concern of network analysis experts. Check whether the application intends to use a non-standard port, or sec
packets.Dumpcap.exe with command line toolsAfter the Wireshark is installed, In its installation directory there will be a dumpcap.exe command-line tool, in fact, Wireshark interface program is also using this command-line tool to work, we can not use the interface, and directly use the command line tool to grab the package, the command is as follows:The meaning of the command is explained as follows:Dumpc
, which is very helpful for reading protocol payload, such as HTTP, SMTP, and FTP.
Change to the hexadecimal dump mode to view the hexadecimal code of the load, as shown in:
Close the pop-up window. Wireshark only displays the selected TCP packet stream. Now we can easily identify three handshakes.
Note: Wireshark automatically creates a display filter for this TCP session. In this example: (IP. addr eq
Wireshark is the most popular network analysis tool in the world. This powerful tool captures the data in the network and provides users with information about the network and upper layer protocols.Like many other network tools, Wireshark also uses the PCAP network library for packet capture.
Advantages of Wireshark:
-
that the default storage type is pcapng, which may be a format with many advantages, but for compatibility consideration, I suggest you set the storage format to the second option when saving the package 【Figure 6In the black rounded corner box ]. This is mainly because pcapng is still a new product and there are not enough software to support it.
Sometimes, we capture data packets not only for our own views, but also for peer analysis. If your peer uses
WireShark data packet analysis data encapsulation, wireshark data packetWireShark packet analysis data encapsulation
Data Encapsulation refers to the process of encapsulating a Protocol Data Unit (PDU) in a group of protocol headers and tails. In the OSI Layer-7 reference model, each layer is primarily responsible for communicating with the peer layer on other machines. This process is implemented in the Pr
I. Problem Description
Install ubuntu14.04 on the PC and log on as the root user.
When Wireshark is started, the following error dialog box appears:
Lua: error during loading: [String "/usr/share/Wireshark/init. Lua"]: 46: dofile has been disabled due to running Wireshark as superuser.
Ii. Solution
Modify/usr/share/W
Great ~~
BasicIo graphs:
Io graphs is a very useful tool. The basic Wireshark Io graph displays the overall traffic in the packet capture file, usually in the unit of per second (number of packets or bytes ). By default, the x-axis interval is 1 second, And the y-axis is the number of packets at each time interval. To view the number of bits or bytes per second, click "unit" and select the desired content from the "Y axis" drop-down list. This is a ba
One: Filter
Using the Wireshark tool to grab a package, if you use the default configuration, you get a lot of data, so it's hard to find the packet data we're analyzing. So using Wireshark filters is especially important.
Wireshark filters are divided into two types: Display filter, capture filter
If the filtered syntax is correct, the green is disp
How to Use wireshark to view ssl content and wireshark to view ssl
1. To view the ssl content, you need to obtain the server rsa key of the server.
2. Open wireshark and find the following path: Edit-> Preferences-> protocols-> SSL
Then click RSA Keys List: Edit,
Create a New RSA key on the New RSA editing interface
Where
IP address is the IP address of the serve
Wireshark related tips, wireshark relatedThe Packet size limited during capture prompt indicates that the marked packages are not fully captured. In some operating systems, only 96 bytes are captured by default, the "-s" parameter in tcpdump can be used to specify the number of bytes to be captured. "-s 1500" means that each packet can capture 1500 bytes, '-s 0' indicates the number of TCP Previous segment
"File"--"Save"
Toolbar: Click on the "7th button, the Black round corner box in figure 1-5 "
Then the following window pops up,Figure 1-6 Supported packet storage formats for WiresharkThe new version of Wireshark supports many formats "black rounded box callout in figure 1-6 " when storing packets. As you can see, the default type of Save is pcapng, which may be a lot of advantages, but for compatibility reasons, I recommend that you set the
? How do we make the choice? Interface can be simply understood as the system for local communication with the outside world Bridge, the general system exists in the interface has Ethernet (network cable), Wi-Fi (WiFi) and other virtual interfaces. In the selection is can be used by the local WiFi or network cable to choose, if the first capture of the virtual machine traffic, you can also select the virtual network interface
Main display window used to capture traffic: display f
indicates that the server message is blue.A window similar to the one shown here is useful for reading protocol payloads, such as HTTP,SMTP,FTP.Change to hex dump mode to view the hexadecimal code of the payload, as shown in:When the pop-up window is closed, Wireshark only displays the selected TCP message stream. It is now easy to distinguish 3 handshake signals.Note: Here Wireshark automatically creates
lua:error during loading: [string "/usr/share/wireshark/init.lua]: 46:dofile have been disabled due to running Wireshark as Superuser. See Http://wiki.wireshark.org/CaptureSetup/CapturePrivileges-running Wireshark as an unprivileged user.The way to solve it:1. Terminal input:sudo Vim/usr/share/wireshark/init.lua2. Find
Basic IO Graphs:IO graphs is a very useful tool. The basic Wireshark IO graph shows the overall traffic situation in the capture file, usually in units per second (number of messages or bytes). The default x-axis time interval is 1 seconds, and the y-axis is the number of messages per time interval. If you want to see the number of bits per second or byte, click "Unit" and select what you want to see in the "Y Axis" drop-down list. This is a basic app
is blue.
The window is similar, which is very helpful for reading protocol payload, such as HTTP, SMTP, and FTP.
Change to the hexadecimal dump mode to view the hexadecimal code of the load, as shown in:
Close the pop-up window. Wireshark only displays the selected TCP packet stream. Now we can easily identify three handshakes.
Note: Wireshark automatically creates a display filter for this TCP session.
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.