mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-27 14:54:05 -06:00
54 lines
1.1 KiB
Markdown
54 lines
1.1 KiB
Markdown
---
|
|
title: "cosc203-lab20"
|
|
aliases:
|
|
tags:
|
|
- lab
|
|
- cosc203
|
|
---
|
|
|
|

|
|
|
|
1. header
|
|
1. 4 fields
|
|
1. source port
|
|
2. dest port
|
|
3. length
|
|
4. checksum
|
|
2. each field is 2 bytes
|
|

|
|
|
|
2. payload is 980 bytes
|
|
1. max is 65536-8 = 65528
|
|
|
|
3. 17 
|
|
|
|

|
|
4. the source port of the first message is the destination port of the second and the destination port of the first is the destination port of the second
|
|
|
|
|
|
|
|

|
|
|
|
5. source port 61958, ip 10.112.120.171,
|
|
6. cosc ip is 10.66.8.42, using port 80
|
|
|
|
|
|
7. syn
|
|
1. seq number: 0 
|
|
|
|
2. idetified by the syn flag 
|
|
|
|
8. syn ack
|
|
1. seq num: 0 
|
|
|
|
2. value of ack field: 1 
|
|
3. how did cosc get this value? not sure
|
|
4. identified by flag field 
|
|
|
|
9. get [](https://i.imgur.com/LZOuVK9.png)
|
|
1. seq num: 1
|
|
|
|
10. ack segments
|
|
1. rtt average 4ms
|
|
2. numbers
|
|
1. |