1.1 Ports/Protocols Flashcards
Define ICMP.
Internet Control Message Protocol, it is a layer 3 protocol encapsulated within IP used for network diagnostics and node recognition.
What port does SSH use?
TCP/22
What port does DNS use?
UDP/53
What port does HTTP use?
TCP/80
What port does HTTPS use?
TCP/443
What port does SMTP use?
TCP/25
What port does SFTP use?
TCP/22
What port does SNMP use?
UDP/161
What port does FTPS use?
TCP/21
What port does FTP use?
TCP/20
TCP/21
What are the difference between the two FTP ports?
TCP/20 (data port) is used for transferring data.
TCP/21 (control port) controls the working directory and other control procedures.
Who controls the data flow with UDP?
sender
Who controls the data flow with TCP?
receiver
What is the difference between FTPS, and SFTP?
SFTP uses SSH to tunnel FTP through TCP/22.
SFTP is FTP with a SSL/TLS layer through TCP/21.
What is the difference between SMTP, SNMP, and ICMP?
SMTP is simple mail transfer protocol, sends data from a client to a mail server or between mail servers. TCP/25. Layer 7.
SNMP is Simple Network Management Protocol, it gathers information from managed devices on an IP network. UDP/161. Layer 7.
ICMP is Internet Control Message Protocol, encapsulated within and considered a part of IP. Used by routers and NICs to send error and diagnostic information. Port-less. Layer 3.
What are two common commands that use ICMP?
Ping, uses ICMP’s echo request and reply ability
Traceroute, uses ICMP’s TTL ability.
UDP/53
DNS
TCP/25
SMTP
UDP/161
SNMP