IT304 Lab 1 Introduction To Wireshark.: 1 To Study and Analyze Network Interface Through Wireshark
IT304 Lab 1 Introduction To Wireshark.: 1 To Study and Analyze Network Interface Through Wireshark
LAB 1
Introduction to wireshark.
2. Select the interface which one is running in your machine. You would be able to see the window as shown
in figure 2.
3. Start Capture
Click the start button next to the desired interface. Captured traffic will be displayed in the packet list
pane.
1
Figure 1: Snapshot of starting window
2
Figure 2: Snapshot of UI of Wireshak
3
Figure 3: Snapshot of capture packet
5. Saving Capture
Once the capture has been stopped select File == Save As.
From the save dialog you can specify file type and which packets to save via the packet range menu
6. Trace file called pcap file as shown below. pcap = Packet Capture
Most widely used packet capture format.
4
1.6 How to build correct filters.
• Field name – selects the packet property.
• Relation – selects the Boolean test.
• Predefined values – common values against which the selected packet property is tested.
• Value – Arbitrary Textual or Numeric value against which the selected packet property is tested.
• For ex;
http.request – Display all HTTP requests.
http.request || http.response – Display all HTTP request and responses.
ip.addr == 127.0.0.1 – Display all IP packets whose source or destination is localhost.
For ex;
tcp.len < 100 – Display all TCP packets whose data length is less than 100 bytes.
2 Exercise
1. what are the interfaces shown on your default screen?
2. Begin packet capturing by selecting an interface that is being used to send and receive packets.
3. Filter out all the TCP packets and capture the screen.
4. Filter out all the TCP data packets which has packet length more than 30 bytes.