TCP/IP Applications Flashcards
session
any communication between one computer and another
TCP
Transmission Control Protocol
- enables connection oriented communications in networks that use TCP/IP protocol suite
How does TCP connect
TCP three-way handshake
- client send single SYN segment to server
- server return a single SYN, ACK segment
- client sends single ACK segment and request server begins sending data
- once server finishes, sends a FIN segment
- client responds with ACK, then sends FIN
- server responds with ACK
- both parties consider session closed
DHCP ports
UDP 67 for client
UDP 68 for server
Synchronize time
NTP - Network Time Protocol
SNTP - Simple Network Time Protocol
Both use UDP 123
TFTP
Trivial File Transfer Protocol
- UDP port 69
- only used on same LAN
ICMP
Internet Control Message Protocol
- works at layer 3
- UDP
- ping is an example
What is the reply to a ping request called?
echo reply
ping of death
sending a malformed ping packet to cause destination computer to crash
IGMP
Internet Group Managment Protocol
- enables routers to communicate with hosts to determine a group “memebership”
port number
- 16 bit value
- between 0 and 65535
- 0 to 1023 are well-known port numbers (reserved for specific applications)
- 1024 to 5000 are ephemeral port numbers
- 49152 to 65535 are dynamic or private port numbers
Session information (IP address and port number) are stored in?
socket or endpoint
Session data stored for two computers about the same connection
socket pairs or endpoints
Term for session information and session data
connection or session
View endpoints on Windows CLI
netstat -n