SlideShare a Scribd company logo
Wireshark Lab: UDP



                                                                     Computer Networking: A Top-
Version: 2.0                                                                          th
                                                                      down Approach, 5 edition.
© 2009 J.F. Kurose, K.W. Ross. All Rights Reserved


In this lab, we’ll take a quick look at the UDP transport protocol. As we saw in Chapter
3, UDP is a streamlined, non-thrills protocol. Because UDP is simple and sweet, we’ll be
able to cover it pretty quickly in this lab. So if you’ve another appointment to run off to
in 30 minutes, no need to worry, as you should be able to finish this lab with ample time
to spare.

At this stage, you should be a Wireshark expert. Thus, we are not going to spell out the
steps as explicitly as in earlier labs. In particular, we are not going to provide example
screenshots for all the steps.

The Assignment
Start capturing packets in Wireshark and then do something that will cause your host to
send and receive several UDP packets. After stopping packet capture, set your packet
filter so that Wireshark only displays the UDP packets sent and received at your host.
Pick one of these UDP packets and expand the UDP fields in the details window.

Whenever possible, when answering a question you should hand in a printout of the
packet(s) within the trace that you used to answer the question asked. Annotate the
printout to explain your answer. To print a packet, use File->Print, choose Selected
packet only, choose Packet summary line, and select the minimum amount of packet
detail that you need to answer the question.

   1. Select one packet. From this packet, determine how many fields there are in the
      UDP header. (Do not look in the textbook! Answer these questions directly from
      what you observe in the packet trace.) Name these fields.
   2. From the packet content field, determine the length (in bytes) of each of the UDP
      header fields.
   3. The value in the Length field is the length of what? Verify your claim with your
      captured UDP packet.
   4. What is the maximum number of bytes that can be included in a UDP payload.
5. What is the largest possible source port number?
   6. What is the protocol number for UDP? Give your answer in both hexadecimal and
      decimal notation. (To answer this question, you’ll need to look into the IP
      header.)
   7. Search “UDP” in Google and determine the fields over which the UDP checksum
      is calculated.
   8. Examine a pair of UDP packets in which the first packet is sent by your host and
      the second packet is a reply to the first packet. Describe the relationship between
      the port numbers in the two packets.

Extra Credit

   1. Capture a small UDP packet. Manually verify the checksum in this packet. Show
      all work and explain all steps.

More Related Content

PDF
Wireshark udp
PDF
Chapter 3 - Transport Layer
PDF
Peer-to-Peer Streaming Based on Network Coding Decreases Packet Jitter
PDF
Chapter 2 - Application Layer
DOCX
Lab 4 final report
PPT
Network Simulator Tutorial
PPTX
Network simulator 2
PPTX
hajer
Wireshark udp
Chapter 3 - Transport Layer
Peer-to-Peer Streaming Based on Network Coding Decreases Packet Jitter
Chapter 2 - Application Layer
Lab 4 final report
Network Simulator Tutorial
Network simulator 2
hajer

What's hot (20)

PDF
Packet에 대해서 알아보자.pdf
PPT
Simulation and Performance Analysis of AODV using NS-2.34
PDF
Assignment cn tl
 
PPTX
Network simulator 2
PDF
Tcpdump
PDF
NS-2 Tutorial
DOCX
opnet lab report
PDF
Simplemux traffic optimization
PPT
ODP
libpcap
PDF
Introduction to ns2
PPTX
PDF
Bar-BoF session about Simplemux at IETF93, Prague
PPTX
Protocol implementation on NS2
DOC
Devry ecet 365 week 6 homework problems 14
PPTX
ExOR Multihop Routing in Wireless Networks
PPS
Ns2 introduction 2
Packet에 대해서 알아보자.pdf
Simulation and Performance Analysis of AODV using NS-2.34
Assignment cn tl
 
Network simulator 2
Tcpdump
NS-2 Tutorial
opnet lab report
Simplemux traffic optimization
libpcap
Introduction to ns2
Bar-BoF session about Simplemux at IETF93, Prague
Protocol implementation on NS2
Devry ecet 365 week 6 homework problems 14
ExOR Multihop Routing in Wireless Networks
Ns2 introduction 2
Ad

Similar to Wireshark UDP (20)

PDF
Wireshark ip sept_15_2009
PDF
EE281FINALREPORT
PDF
Wireshark udp solution
PPT
PPT
Pres_Video_wireless.ppt
PDF
ECET 465 help Making Decisions/Snaptutorial
DOC
ECET 465 Technology levels--snaptutorial.com
DOC
Ecet 465 Massive Success / snaptutorial.com
DOC
Ecet 465  Enthusiastic Study / snaptutorial.com
PPTX
07 coms 525 tcpip - udp
DOC
Ecet 465 Success Begins / snaptutorial.com
PDF
TCP & UDP Streaming Comparison and a Study on DCCP & SCTP Protocols
PDF
PDF
IPHEADER_IPV4_IPV6_4.pdf
PDF
Yusuf Haruna Docker internship slides
PPTX
user development programing in networking UDP.pptx
PPT
Lecture1, TCP/IP
PPT
PDF
Transport Layer Numericals
PPT
User Datagram protocol For Msc CS
Wireshark ip sept_15_2009
EE281FINALREPORT
Wireshark udp solution
Pres_Video_wireless.ppt
ECET 465 help Making Decisions/Snaptutorial
ECET 465 Technology levels--snaptutorial.com
Ecet 465 Massive Success / snaptutorial.com
Ecet 465  Enthusiastic Study / snaptutorial.com
07 coms 525 tcpip - udp
Ecet 465 Success Begins / snaptutorial.com
TCP & UDP Streaming Comparison and a Study on DCCP & SCTP Protocols
IPHEADER_IPV4_IPV6_4.pdf
Yusuf Haruna Docker internship slides
user development programing in networking UDP.pptx
Lecture1, TCP/IP
Transport Layer Numericals
User Datagram protocol For Msc CS
Ad

More from wab030 (20)

ODP
Internet e Educação
ODP
Programe ou seja programado
ODP
Internet e cidadania
ODP
Internet, Cidadania e Educação
ODP
Internet e redes sociais digitais como instrumento para os movimentos sociais
ODP
A internet como espaço de mobilidade social: democratização e regulamentação ...
PDF
Hp0061
PDF
Internet e educação
PDF
Alimentos Orgânicos - Melhor para sua saúde
PDF
Notas b2redes
PDF
Notas info+banco
PDF
Aula 10 camada de rede
PDF
Aula 12 revisãodos exercícios
PDF
Aula 10 maquinade turing
PDF
Aula 10 camada de rede
PDF
Aula 9 conceitos gerais de Rede
PDF
Notas b1 redes
PDF
Notas b1 info+banco
PDF
Aula 9 camada de rede
PDF
Aula 8 camada de transporte ii
Internet e Educação
Programe ou seja programado
Internet e cidadania
Internet, Cidadania e Educação
Internet e redes sociais digitais como instrumento para os movimentos sociais
A internet como espaço de mobilidade social: democratização e regulamentação ...
Hp0061
Internet e educação
Alimentos Orgânicos - Melhor para sua saúde
Notas b2redes
Notas info+banco
Aula 10 camada de rede
Aula 12 revisãodos exercícios
Aula 10 maquinade turing
Aula 10 camada de rede
Aula 9 conceitos gerais de Rede
Notas b1 redes
Notas b1 info+banco
Aula 9 camada de rede
Aula 8 camada de transporte ii

Recently uploaded (20)

PDF
Empathic Computing: Creating Shared Understanding
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Encapsulation theory and applications.pdf
PDF
Electronic commerce courselecture one. Pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Getting Started with Data Integration: FME Form 101
PPTX
Machine Learning_overview_presentation.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
cuic standard and advanced reporting.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
A Presentation on Artificial Intelligence
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
1. Introduction to Computer Programming.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
Empathic Computing: Creating Shared Understanding
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Encapsulation theory and applications.pdf
Electronic commerce courselecture one. Pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
Network Security Unit 5.pdf for BCA BBA.
Group 1 Presentation -Planning and Decision Making .pptx
SOPHOS-XG Firewall Administrator PPT.pptx
Getting Started with Data Integration: FME Form 101
Machine Learning_overview_presentation.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Big Data Technologies - Introduction.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
cuic standard and advanced reporting.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
A Presentation on Artificial Intelligence
Assigned Numbers - 2025 - Bluetooth® Document
1. Introduction to Computer Programming.pptx
Building Integrated photovoltaic BIPV_UPV.pdf

Wireshark UDP

  • 1. Wireshark Lab: UDP Computer Networking: A Top- Version: 2.0 th down Approach, 5 edition. © 2009 J.F. Kurose, K.W. Ross. All Rights Reserved In this lab, we’ll take a quick look at the UDP transport protocol. As we saw in Chapter 3, UDP is a streamlined, non-thrills protocol. Because UDP is simple and sweet, we’ll be able to cover it pretty quickly in this lab. So if you’ve another appointment to run off to in 30 minutes, no need to worry, as you should be able to finish this lab with ample time to spare. At this stage, you should be a Wireshark expert. Thus, we are not going to spell out the steps as explicitly as in earlier labs. In particular, we are not going to provide example screenshots for all the steps. The Assignment Start capturing packets in Wireshark and then do something that will cause your host to send and receive several UDP packets. After stopping packet capture, set your packet filter so that Wireshark only displays the UDP packets sent and received at your host. Pick one of these UDP packets and expand the UDP fields in the details window. Whenever possible, when answering a question you should hand in a printout of the packet(s) within the trace that you used to answer the question asked. Annotate the printout to explain your answer. To print a packet, use File->Print, choose Selected packet only, choose Packet summary line, and select the minimum amount of packet detail that you need to answer the question. 1. Select one packet. From this packet, determine how many fields there are in the UDP header. (Do not look in the textbook! Answer these questions directly from what you observe in the packet trace.) Name these fields. 2. From the packet content field, determine the length (in bytes) of each of the UDP header fields. 3. The value in the Length field is the length of what? Verify your claim with your captured UDP packet. 4. What is the maximum number of bytes that can be included in a UDP payload.
  • 2. 5. What is the largest possible source port number? 6. What is the protocol number for UDP? Give your answer in both hexadecimal and decimal notation. (To answer this question, you’ll need to look into the IP header.) 7. Search “UDP” in Google and determine the fields over which the UDP checksum is calculated. 8. Examine a pair of UDP packets in which the first packet is sent by your host and the second packet is a reply to the first packet. Describe the relationship between the port numbers in the two packets. Extra Credit 1. Capture a small UDP packet. Manually verify the checksum in this packet. Show all work and explain all steps.