Compare Protocols and Ports Flashcards

1
Q

Transmission Control Protocol

A

Any given packet could be damaged or fail to arrive due to faults or network congestion. TCP provides several mechanisms to overcome this lack of reliability. It is described as a “connection-oriented” protocol.

  • Establishes a connection between the sender and recipient using a handshake sequence of SYN, SYN/ACK, and ACK packets.

-Assigns each packet a sequence number so that it can be tracked.

-Allows the receiver to acknowledge (ACK) that a packet has been received.

-Allows the receiver to send a negative acknowledgement (NACK) to force retransmission of a missing or damaged packet.

-Allows the graceful termination of a session using a FIN handshake.

TCP is used when the application protocol cannot tolerate missing or damaged information.

Two application protocols that use TCP
-HyperText Transfer Protocol (HTTP)
& HyperText Transfer Protocol Secure (HTTPS)

-Secure Shell (SSH)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

User Datagram Protocol

A

Sometimes it is more important that communications be faster than they are reliable.
The User Datagram Protocol (UDP) is a connectionless , non-guaranteed method of communication with no sequencing or acknowledgements.
UDP is suitable for applications that do not require acknowledgement of receipt and can tolerate missing or out-of-order packets. It is often used by applications that transfer time-sensitive data but do not require complete reliability, such as voice or video.
Two examples of protocols that use UDP are:
- Dynamic Host Configuration Protocol (DHCP).
- Trivial File Transfer Protocol (TFTP).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

PORT 20 TCP

A

File Transfer Protocol (FTP)—Data connection

Make files available for download across a network (data connection port)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

PORT 21 TCP

A

File Transfer Protocol (FTP)—Control connection

Make files available for download across a network (control connection port)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

PORT 22 TCP

A

Secure Shell (SSH)

Make a secure connection to the command-line interface of a server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

PORT 23 TCP

A

Telnet

Make an unsecure connection to the command-line interface of a server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

PORT 25 TCP

A

Simple Mail Transfer Protocol (SMTP)

Transfer email messages across a network

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

PORT 53 TCP/UDP

A

Domain Name System (DNS)

Facilitate identification of hosts by name alongside IP addressing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

PORT 67 UDP

A

Dynamic Host Configuration Protocol (DHCP) Server

Provision an IP address configuration to clients

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

PORT 68 UDP

A

DHCP Client

Request a dynamic IP address configuration from a server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

PORT 80 TCP

A

HyperText Transfer Protocol (HTTP)

Provision unsecure websites and web services

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

PORT 110 TCP

A

Post Office Protocol (POP)

Retrieve email messages from a server mailbox

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

PORT 137 - 139 UDP/TCP

A

NetBIOS over TCP/IP

Support networking features of legacy Windows versions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

PORT 143 TCP

A

Internet Mail Access Protocol (IMAP)

Read and manage mail messages on a server mailbox

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

PORT 161 UDP

A

Simple Network Management Protocol (SNMP)

Query status information from network devices

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

PORT 162 UDP

A

SNMP trap operation

Report status information to a management server

17
Q

PORT 389 TCP

A

Lightweight Directory Access Protocol (LDAP)

Query information about network users and resources

18
Q

PORT 443 TCP

A

HTTP Secure (HTTPS)

Provision secure websites and services

19
Q

PORT 445 TCP

A

Server Message Block (SMB)

Implement Windows-compatible file and printer sharing services on a local network (also sometimes referred to as Common Internet File System [CIFS])

20
Q

PORT 3389 TCP

A

Remote Desktop Protocol (RDP)

Make a secure connection to the graphical desktop of a computer