COURSE: Network Fundamentals & Protocols WEEK 1 — TCP/IP Stack & Packet Analysis INSTRUCTOR: Prof. Aisha Okonkwo SLIDE DECK: Week 1 / Lecture 1 ========================================================= SLIDE 1: The OSI & TCP/IP Models --------------------------------------- OSI Model (7 Layers): 7 - Application (HTTP, FTP, DNS) 6 - Presentation (TLS/SSL, JPEG encoding) 5 - Session (Session management) 4 - Transport (TCP, UDP) 3 - Network (IP, ICMP, routing) 2 - Data Link (Ethernet, MAC) 1 - Physical (Cables, signals) TCP/IP Model (4 Layers): Application → Transport → Internet → Network Access SLIDE 2: TCP Three-Way Handshake --------------------------------------- Client ──SYN──────────────────→ Server Client ←──────────SYN-ACK───── Server Client ──ACK──────────────────→ Server (Connection established) SLIDE 3: Common Ports to Know --------------------------------------- 20/21 — FTP (data / control) 22 — SSH 23 — Telnet 25 — SMTP 53 — DNS 80 — HTTP 443 — HTTPS 3306 — MySQL 5432 — PostgreSQL 6379 — Redis SLIDE 4: Lab Exercise --------------------------------------- Using Wireshark or tcpdump, capture a TCP handshake on your loopback interface and identify: 1. The SYN packet sequence number 2. Server's ISN in the SYN-ACK 3. Final ACK sequence number