Transport & Application Layer Protocols
CTS1305C Cable Run -- Week 3
Press → to begin or use navigation below
CTS1305C Cable Run -- Week 3
Press → to begin or use navigation below
Connection-Oriented vs Connectionless
Establishing a Reliable Connection
Connection teardown uses a four-way handshake: FIN, ACK, FIN, ACK.
Preventing Receiver Overload
TCP prevents a fast sender from overwhelming a slow receiver by regulating the rate of data transmission.
Congestion Control is different from flow control. Congestion control adapts to network conditions (packet loss, delay). Flow control adapts to receiver capacity.
Breaking Data Into Manageable Pieces
Large data streams are broken into smaller segments at the transport layer.
Multiple applications share a single network connection using port numbers.
The Address Book of Network Services
| Port | Protocol | Transport | Description |
|---|---|---|---|
| 20/21 | FTP | TCP | File Transfer Protocol (data/control) |
| 22 | SSH | TCP | Secure Shell -- encrypted remote access |
| 23 | Telnet | TCP | Unencrypted remote access (legacy) |
| 25 | SMTP | TCP | Simple Mail Transfer Protocol -- sending email |
| 53 | DNS | TCP/UDP | Domain Name System -- name resolution |
| 67/68 | DHCP | UDP | Dynamic Host Configuration Protocol |
| 80 | HTTP | TCP | Hypertext Transfer Protocol -- web traffic |
| 110 | POP3 | TCP | Post Office Protocol -- retrieving email |
| 143 | IMAP | TCP | Internet Message Access Protocol -- email sync |
| 161/162 | SNMP | UDP | Simple Network Management Protocol |
| 443 | HTTPS | TCP | HTTP Secure -- encrypted web traffic |
| 3389 | RDP | TCP | Remote Desktop Protocol |
Well-known ports: 0-1023 | Registered ports: 1024-49151 | Dynamic/ephemeral: 49152-65535
The Language of the Web
Uploading and Downloading Files
Security Warning: FTP sends credentials in cleartext. Use SFTP (SSH, port 22) or FTPS (FTP over TLS) for secure transfers.
SMTP, POP3, and IMAP
Port 25 / 587
Port 110 / 995 (SSL)
Port 143 / 993 (SSL)
Translating Names to IP Addresses
| Type | Purpose |
|---|---|
| A | Maps hostname to IPv4 address |
| AAAA | Maps hostname to IPv6 address |
| CNAME | Alias -- points to another hostname |
| MX | Mail exchange server for a domain |
| PTR | Reverse lookup -- IP to hostname |
| NS | Nameserver for a zone |
| TXT | Text records (SPF, DKIM, verification) |
Automatic IP Address Assignment
DHCP leases expire. Clients must renew at 50% (T1) and 87.5% (T2) of the lease duration.
SNMP, SSH, Telnet, RDP
Transport & Application Layer at a Glance
Transport & Application Layer Protocols
Application Layer Services & Data Communications -- client-server, QoS, VoIP, and streaming protocols.