Chapter 9 - TCP/IP Applications Flashcards
What does TCP over IP include
HTTP
DHCP
POP
… 500 other terms over tcp/udp & ICMP over IP
Define a session
Any single communication between a computer and another computer
What happens when an URL is entered
TCP Three Way Handshake
1. A SYN packet is ent to the Web Server.
2. Assuming the server has recieved it returns a SYN,
ACK packet
3. Client sends ACK and requests web page
How is a session closed
Server sends FIN packet and Client sends ACK to close session
Explain how DHCP works
Ports 67 (server) and 68 (DHCP clients) Uses a connectionless packet, if server doesn't respond it sends again
What is NTP/SNTP used for
Ports 123
Used to synchronize the clocks of devices on a network
What is TFTP used for
Port 69
Enables you to tranfer files from one machine to another. Common to send files via LAN
What is ICMP used for
used bynetwork devices, includingrouters, to send error messages and operational information indicating. This is the protocol used by ping.
What is the ‘ping of death’
Malicious users will send malformed ping packets to a destination causing the computer to crash.. now a fixed issue
Define IGMP
Internet Group Management Protocol enables routers to communicate with hosts to determine a ‘group’ membership
Uses a particular multicast where those who wish to receive a particular multicast must tell their upstream router/switch they want to receive. They are then added to the IGMP group
How big is a port number
16 bit
What is the range of the well known port numbers
0 to 1023, reserved for specific TCP/IP applications
Define Ephemeral Port numbers and the range
1024-5000 (varies by OS) + 49512-65535
A number is generated at random within this range to be used as the Web clinet’s source port number
What are the important (3) ranges to remember
0-1023 = well known ports
1024-49151 = Registered ports
49512 - 65535 = Dynamic or Private ports
Define Socket/Endpoint
Terms for the session information (IP address and port number) stored on a single computer