네트워크프로그래밍 wireshark를 사용한 UDP 관찰 실습
- 최초 등록일
- 2020.10.08
- 최종 저작일
- 2020.10
- 8페이지/ 어도비 PDF
- 가격 4,000원
* 본 문서는 PDF문서형식으로 복사 및 편집이 불가합니다.
소개글
-네트워크 프로그래밍 A+ 레포트
- wireshark를 사용해 UDP 패킷 관찰
- 아래 목차에 적힌 질문들에 대한 솔루션
목차
1. Select one UDP packet from your trace. From this packet, determine how many fields there are in the UDP header. Name these fields.
2. Find out 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? (Hint: the answer to this question can be determined by your answer to 2. above)
5. What is the largest possible source port number? (Hint: see the hint in 4.)
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 Protocol field of the IP packet containing this UDP segment.
7. Examine a pair of UDP packets. (your host sends the first UDP packet and the second UDP packet is a reply to this first UDP packet.) (Hint: for a second packet to be sent in response to a first packet, the sender of the first packet should be the destination of the second packet). Describe the relationship between the port numbers in the two packets.
본문내용
Ⅰ.
Select one UDP packet from your trace. From this packet, determine how many fields there are in the UDP header. Name these fields.
위는 본인이 캡처한 UDP packet이다. 이 패킷의 UDP 헤더는 4가지 필드를 가지고 있으며 각각의 필드명은 source port, destination port, length, checksum이다.
Ⅱ.
Find out the length (in bytes) of each of the UDP header fields.
다음은 각 필드를 클릭하여 packet byte window에 해당 부분을 파란색으로 표시한 화면이다. Hexadecimal notation 에서는 두 자리 숫자가 1 byte이므로 Source Port, Destination Port, Length, Checksum은 모두 2bytes이다.
Ⅲ.
The value in the Length field is the length of what? Verify your claim with your captured UDP packet.
UDP header의 length field는 UDP segment길이(byte)이다.
<중 략>
Ⅵ.
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 Protocol field of the IP packet containing this UDP segment.
다음은 IP 패킷의 protocol 필드를 선택해 packet bytes window 에 해당 부분을 파란색으로 표시한
화면이다 . UDP protocol number 은 10 진수로 17, 16 진수로는 0x11 이다 .
참고 자료
없음