Identify a service from its traffic and transport
A workstation acquires an address, asks for a server name and opens a secure site. Which exchanges should a network operator expect?
Identify a service from its traffic and transport
Ports identify transport endpoints. ICMP reports reachability and errors without TCP or UDP ports. A single exchange can also involve several services, such as a DNS lookup before an HTTPS request. Separate a failed dependency from the application the user intended to reach.
In the transcript
The ports lesson compares encrypted remote access with older services and relates common server ports to the application listening on them.
Work through the decision
A workstation acquires an address, asks for a server name and opens a secure site. Which exchanges should a network operator expect?
Check your reasoning
A typical IPv4 client first exchanges DHCP messages, then queries its resolver and opens a TLS-protected HTTP session. Use transport and destination port together with the application response. A port number is a convention, and services can use alternative ports.
Common Ports · video start · Read the instructor’s transcript
Decisions and tradeoffs
- DNS
- Name resolution commonly uses UDP or TCP port 53. Inspect the requested name and record type.
- DHCPv4
- Clients and servers exchange configuration using UDP ports 68 and 67 respectively. A relay can carry requests across a router.
- HTTPS
- HTTP protected by TLS commonly uses port 443. TCP supports HTTP/1.1 and HTTP/2, while HTTP/3 uses QUIC over UDP.
- NTP
- Time synchronization commonly uses UDP port 123. Consistent clocks help correlate logs across systems.
Read the destination port in context
| Service | Common port or ports | What to verify |
|---|---|---|
| FTP and secure file transfer | FTP 20/21, SFTP 22 | FTP uses separate control and data connections. SFTP runs over SSH. Passive FTP negotiates a separate data port. |
| Interactive administration | SSH 22, Telnet 23, RDP 3389 | Identify the protocol actually listening. SSH provides encrypted terminal access. |
| Mail and directory | SMTP 25, implicit TLS submission 465, LDAP 389, LDAPS 636 | Distinguish mail relay or submission from directory queries. |
| Web and file sharing | HTTP 80, HTTPS 443, SMB 445 | A successful TCP handshake alone does not establish that the requested page or share is authorized. |
| Network services | DNS 53, DHCPv4 67/68, TFTP 69, NTP 123 | Check the request, reply, source address and direction. |
| Monitoring | SNMP 161/162, Syslog commonly 514 | Polling and notifications have different destinations. Record whether the configured transport provides protection. |
| Databases and sessions | SQL Server commonly 1433, SIP 5060/5061 | A reachable signaling service does not establish successful media or a working database query. |
Unicast selects one destination, broadcast addresses a local broadcast domain, multicast addresses a receiver group and anycast routes to one of several instances advertising the same address. GRE encapsulates traffic. IPsec uses IKE for negotiation and can use ESP for protected payloads.
Practice the guide skills
- Compare FTP and SFTP, SSH and Telnet, and LDAP and LDAPS in the port table.
- Group mail, file sharing, monitoring, remote desktop and voice services by purpose and usual port.
- Distinguish ICMP, TCP, UDP, GRE and the IPsec family by their roles.
- Choose unicast, broadcast, multicast or anycast for four different delivery needs.
Official objectives for this lesson
Videos and transcripts for objective 1.4
Related lesson · Resolve a service name and probe its backends
Identify a service from its traffic and transport quiz
Answer 3 questions. Check each answer for an explanation.