J
J
JasF2011-09-25 18:48:14
Computer networks
JasF, 2011-09-25 18:48:14

Help identify the package by its appearance

Good day!
IT teacher terribly rapes first-year students. I gave everyone a package (in an attachment). According to it, you need to:

1. Determine the type of packet (TCP/IP or UDP/IP).
2. Determine the IP header length, total packet size (in bytes), time to live (TTL), IP header checksum, source IP address, and destination IP address.
3. For the TCP protocol: determine the sender's port, the recipient's port, the serial number, the length of the TCP header, identify the set flags (URG, ASK, PsH. RST, SYN, FIN).
4. For UDP protocol: define sender port and receiver port, UDP message length, checksum.

Help. Google doesn't help either.
HEX:
Code:

45 00 00 4e d1 fc 00 00 80 11 82 49 c0 a8 32 09
c0 a8 32 ff 00 89 00 89 00 3a c7 1d ff 81 01 10
00 01 00 00 00 00 00 00 20 46 43 46 43 45 48 44
41 44 47 43 41 43 41 43 41
3 4 1 4 4 41 43 41 43 41 42 4c 00 00 20 00 01

Answer the question

In order to leave comments, you need to log in

3 answer(s)
H
Hint, 2011-09-25
@Hint

Are you saying that asking students to parse a 78-byte packet of a known structure is raping them? Why did you go to study for this specialty at all?
www.linkbit.com/omw/

V
VenomBlood, 2011-09-25
@VenomBlood

You, like, went to the wrong specialty (change it for the next year, while it's still not too late). As mentioned above, this is elementary, because. you were even told what to choose from. Well, how they googled - it’s not at all clear, according to TCP or UDP - the first links are to a wiki that has a package structure.

X
xaker1, 2011-09-25
@xaker1

Look at this . I didn’t really read it, but at first everything seems to fit - the 4th version of ip, HLEN 5.
I hope this helps you.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question