trifectapp · Worked solutions

Ports and protocols troubleshooting practice

Five original, fictional teaching cases. These worked answers use the assumptions and approved endpoints in the activity. They are not instructions to change a production firewall.

Case 1 · DNS works for some names

Evidence: DENY TCP 192.0.2.10:53012 → 198.51.100.53:53

Best choice: Allow client → resolver on TCP/53. Keep the existing UDP/53 rule and permit TCP/53 to the same resolver. The evidence shows a TCP retry after a truncated UDP response.

Verify the result: Repeat the affected query through the approved resolver. Confirm a successful TCP/53 exchange and an allow entry for the expected endpoints; retain UDP/53 support.

Why the other choices miss the requirement

Remember: Traditional DNS needs both UDP and TCP support. TCP is not limited to zone transfers.

Protocol reference: RFC 9210 §3. The endpoint scope and configuration are fictional scenario facts.

Case 2 · HTTPS loads, but HTTP/3 does not

Evidence: DENY UDP 192.0.2.20:54100 → 198.51.100.20:443

Best choice: Allow client → endpoint on UDP/443. HTTP/3 uses QUIC over UDP. Permit the stated UDP/443 endpoint and preserve TCP/443 for the already approved TCP-based HTTPS service.

Verify the result: Repeat the approved test and confirm that HTTP/3 was negotiated. A page loading through HTTP/2 fallback does not verify the UDP path.

Why the other choices miss the requirement

Remember: “HTTPS” does not always mean TCP. HTTP/3 can use another advertised UDP port; 443 is the configured port in this case.

Protocol reference: RFC 9114 §3.1. The endpoint scope and configuration are fictional scenario facts.

Case 3 · SFTP is mistaken for FTPS

Evidence: DENY TCP 192.0.2.30:55024 → 198.51.100.30:22

Best choice: Allow workstation → server on TCP/22. This SFTP service operates over SSH, using the configured TCP/22 listener.

Verify the result: Confirm the SSH connection and a successful authorized SFTP operation to the specified server. Check the server identity according to the approved SSH host-key policy.

Why the other choices miss the requirement

Remember: SFTP and FTPS are not interchangeable. Confirm the actual service and its configuration before changing a firewall.

Protocol reference: OpenSSH sftp manual · RFC 4253 §4.1. The endpoint scope and configuration are fictional scenario facts.

Case 4 · FTPS logs in but cannot list files

Evidence: DENY TCP 192.0.2.40:56110 → 198.51.100.40:50004

Best choice: Allow workstation → server on TCP/50000–50009. Keep TCP/21 for control and permit the configured passive data range to this server only. Keep TLS and private data-channel protection enabled.

Verify the result: Confirm successful directory listings and approved transfers using the configured passive range, with private data-channel protection (PROT P) and certificate validation retained.

Why the other choices miss the requirement

Remember: An allowed FTP control connection does not automatically permit a separate data connection. The passive range here is server configuration, not a universal standard range.

Protocol reference: RFC 4217 §7. The endpoint scope and configuration are fictional scenario facts.

Case 5 · The mail client uses implicit TLS

Evidence: DENY TCP 192.0.2.50:57220 → 198.51.100.50:465

Best choice: Allow workstation → server on TCP/465. Permit the configured implicit-TLS service to the approved server and retain certificate validation.

Verify the result: Verify successful TLS establishment, certificate validation and an authorized submission to the configured server. A TCP connection alone does not prove TLS was validated.

Why the other choices miss the requirement

Remember: Implicit TLS on 465 and STARTTLS on 587 are different connection setups. Properly enforced STARTTLS is not inherently insecure.

Protocol reference: RFC 8314 §3.3. The endpoint scope and configuration are fictional scenario facts.

Activity v1.0 · November 7, 2026 · Instructions