Ports & Protocols Flashcards
Learn the comptia Network+ ports and protocols
Telnet Port#
23
FTP port#
20,21
SFTP port#
22
TFTP port# protocol
69, UDP
SMTP port#
Secure SMTP
25
465
POP3 port#
Secure POP3
110
995
IMAP port#
IMAPS port#
143
993
RDP port#
3389
Secure Shell port#
22
HTTPS port#
443
NTP port# protocol
123 UDP
SMB port#
445
What ports can SMB also run on?
NetBIOS ports
DNS port# protocols
53 TCP/UDP
DHCP port# protocol
67/68 UDP
What protocol uses same ports as DHCP?
Bootstrap protocol
SNMPv1/2 ports# protocol
161 UDP 162 (Trap) UDP
What port range is reserved for well-known port numbers and in which RFC are they defined?
0-1023, RFC3232
In TCP, which port defines the virtual circuit?
the source port number (SP) of the transmitting host
port number 389 is used for what protocol? What protocol types does it use?
LDAP, TCP/UDP
Port#, and protocol types used for LDAPS (SSL)
636, TCP/UDP
What is H.323 and what port# and protocol type does it use?
H.323 is similar to SIP and facilitates VoIP and videoconferencing over the internet. It uses TCP port 1720
What is SSH?
SSH or Secure Shell, is a cryptographic protocol that’s mainly used to administer Unix/Linux/Network equipment
RDP is used on Unix servers, true or false?
False. It’s used for connecting Microsoft Windows servers
The SIP protocol sets up and transmits voice over IP calls. TRUE or FALSE?
False, SIP only sets up the call and it controls signalling. IT doesn’t transport the media stream.
What does a SIP trunk do?
Connects VoIP PBX to the PSTN
Name the SIP port#;s and protocol types
5060/5061 UDP/TCP
What is the Linux equivalent of SMB?
Samba
Ports are registered with which internet organization?
Internet Assigned Numbers Authority
Name 4 main features of a connectionless protocol
1) NO STATE - No connection setup or connection tracking
2) NO GUARANTEE OF MESSAGE DELIVERY - Receipt of data is not acknowledged
Transmission is one-way
3) NO GUARANTEE OF ORDER DELIVERY - received data is not re-ordered if it arrives out of sequence.
4) NO CONGESTION CONTROL
What does RTP stand for and what does it do?
Real-Time Transport Protocol. It’s apacket formatting standard for delivering audio and video over the internet.
Name the RTP port#’s and protocol types
5004/5005 TCP/UDP
What protocol works on TCP 2427/2727?
Media Gateway Control Protocol (MGCP)
What is the DHCP DORA process?
DORA is the 4-step process a client takes to receive an IP address from a DHCP server.
1) Discover
2) Offer
3) Request
4) Acknowledge
List the 5 key protocols (for CompTIA) and their port numbers that use UDP
DNS 53 BOOTPS/DHCP 67,68 TFTP 69 NTP 123 SNMP 161
What is the range of port numbers known as ephemeral port numbers used by clients as the source port?
49,152 - 65,535
What is the size of the UDP header?
8bits
What is the registered port number range?
1024 - 49,151
What is the ephemeral port range?
49152–65535
List the secure versions of the below email transport protocols, in order of port numbers with lowest first
Secure POP3
Secure SMTP
IMAPS
Secure SMTP - 465
IMAPS - 993
Secure POP - 995
What are the protocols for 443 and 445?
443 - HTTPS
445 - SAMBA