a) Explain shortly the general purpose of the following TCP…

a) Explain shortly the general purpose of the following TCP flags SYN FIN ACK PUSH RESET CWR   b) Explain the purpose of the flags and numbers for each line in the following tcpdump trace (P is used for the push flag, A for acknowledgement) 65477>http: Flags [Syn], seq 0x7214482b=1913931819, win 65535, options [mss 1440,wscale 6,TS val 2645580192 ecr 0,sackOK, length 0[|tcp] http>65477: Flags [Syn-Ack], seq 0x440095df=1140889055, ack 0x7214482c=1913931820, win 65535, options [mss 1440,sackOK,TS val 2258303505 ecr 2645580192,nop,wscale 8], length 0 65477>http: Flags [A ], seq 7214482c, ack 440095e0=1, win 2052,length 0 65477>http: Flags [PA], seq 7214482c 1:400, ack 1, win 2052,length 400: HTTP: GET / http>65477: Flags [A ], seq 440095e0, ack 401, win 261, length 0 http>65477: Flags [A ], seq 440095e0, ack 401, win 261, length 0 http>65477: Flags [PA], seq 440095e0 1:127, ack 401=721449bc, win 261,length 127: HTTP 65477>http: Flags [A ], seq 721449bc, ack 128=4400965f, win 2050, length 0 65477>http: Flags [Fin-Ack], seq 721449bc 401, ack 128=4400965f, win 2050,length 0 http>65477: Flags [Fin-Ack], seq 4400965f 128, ack 402=721449bd, win 261, length 0 65477>http: Flags [A ], seq 721449bd, ack 129=44009660, win 2050, length 0

a) Describe the difference between UDP and TCP in terms of s…

a) Describe the difference between UDP and TCP in terms of services offered to the Application Layer. b) How many ports are available for TCP and UDP c) For what specific purpose would the following protocols be used when a browser is accessing for the first time a new website: DHCP ARP Ethernet IP/IPv6 TCP/UDP HTTP

Describe shortly the purpose of the following protocols: Ad…

Describe shortly the purpose of the following protocols: Address Resolution Protocol (ARP) Ethernet IEEE802.3 (with focus on the Exponential Backoff Algorithm) Spanning Tree Protocol (STP) Dynamic Host Configuration Protocol (DHCP) HyperText Transfer Protocol (HTTP)