Let’s Get Certified
Module 05 / 26 · Networking concepts

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

ServiceCommon port or portsWhat to verify
FTP and secure file transferFTP 20/21, SFTP 22FTP uses separate control and data connections. SFTP runs over SSH. Passive FTP negotiates a separate data port.
Interactive administrationSSH 22, Telnet 23, RDP 3389Identify the protocol actually listening. SSH provides encrypted terminal access.
Mail and directorySMTP 25, implicit TLS submission 465, LDAP 389, LDAPS 636Distinguish mail relay or submission from directory queries.
Web and file sharingHTTP 80, HTTPS 443, SMB 445A successful TCP handshake alone does not establish that the requested page or share is authorized.
Network servicesDNS 53, DHCPv4 67/68, TFTP 69, NTP 123Check the request, reply, source address and direction.
MonitoringSNMP 161/162, Syslog commonly 514Polling and notifications have different destinations. Record whether the configured transport provides protection.
Databases and sessionsSQL Server commonly 1433, SIP 5060/5061A 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

  1. Compare FTP and SFTP, SSH and Telnet, and LDAP and LDAPS in the port table.
  2. Group mail, file sharing, monitoring, remote desktop and voice services by purpose and usual port.
  3. Distinguish ICMP, TCP, UDP, GRE and the IPsec family by their roles.
  4. 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

Knowledge check

Identify a service from its traffic and transport quiz

Answer 3 questions. Check each answer for an explanation.