2.1 Compare and contrast TCP and UDP ports, protocols, and their purposes. Flashcards

1
Q

___ is one of the most popular protocols in use today.

A

TCP/IP

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

TCP stands for?

A

Transmission Control Protocol

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

IP stands for?

A

Internet Protocol

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

What are three common network types designed for TCP/IP?

A

Ethernet network
cable network
DSL network

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

UDP stands for?

A

User Datagram Protocol

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

We’re usually on an Ethernet network that is sending data using (1)___, which is using (2)___, which has application data inside of that.

A

(1) IP

(2) TCP

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

An Ethernet frame has a ___ in the middle of the frame.

A

Ethernet payload

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

An Ethernet frame has a ___ at the beginning of the frame.

A

header

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

An Ethernet frame has a ___ at the end of the frame.

A

trailer

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

An Ethernet payload is made up of a (1)___ which is followed by an (2)___.

A

(1) IP header

(2) IP payload

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

An IP payload can be broken down into an (1)___, which has its own (2)___.

A

(1) TCP header

(2) TCP payload

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

What’s inside of that TCP payload is ___.

A

application data

For example, HTTP data that’s being sent to a web server.

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

What is the nesting structure of a TCP Ethernet frame?

A

We have ethernet, which has IP. And inside of IP is either TCP or UDP.

……………………….Ethernet Frame:……………………………..
[ header || Ethernet payload || trailer ]

………………………..Ethernet Payload:…………………………..
[ IP header || IP payload ]

………………………….IP Payload:…………………………………….
[ TCP header || TCP payload ]

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

Ethernet is a network type that can transmit data using (1)___ packaged into smaller units called (2)___.

A

(1) TCP/IP

(2) frames

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

An ___ of protocols is putting one protocol within another within another.

A

encapsulation

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

What layer of the OSI model do TCP and UDP operate?

A

Layer 4; transport layer

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

___ involves taking multiple signals and combining them into one signal for transmission over a single medium

A

multiplexing

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

___ allows us to perform many different functions simultaneously over the same network connection

A

multiplexing

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

We refer to TCP as a ___ protocol.

A

connection-oriented protocol

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

Protocols that are ___ have a formal process when you start the communication and a formal process when you end the communication.

A

connection-oriented

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

If any errors occur during a communication, there’s a process for retransmitting that data to make sure that everything gets through the network without any problems.

A

TCP (Transmission Control Protocol)

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

UDP is known as a type of ___ protocol.

A

connectionless protocol

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

A connectionless, non-guaranteed method of communication with no sequencing or flow control.

A

UDP

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

There’s no formal communication setup and no acknowledgement of data received in ___ protocols.

A

connectionless

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
UDP and TCP both use ___ to know where to send data.
IP
26
We can send information into a server through IP and we know exactly which service on that server needs to receive that data thanks to ___.
port numbers
27
At the link/physical layer, Ethernet allows nodes to send one another frames of data using MAC addresses. These frames would typically be transporting IP packets. At the network layer, __ provides addressing and routing functionality for a network of networks
IP
28
One of the critical functions of the transport layer is to identify each type of network application. It does this by assigning each application a ___.
port number
29
What is the range of port numbers?
0 - 65535
30
TCP uses NACK, it stands for what? What does it do?
Negative Acknowledgement. It forces retransmission of data if it arrives corrupted.
31
A ___ is one endpoint of a two-way communication link between two programs running on the network
socket
32
client/server IP address, a protocol, and a client/server port number all combine to make up what?
IPv4 socket
33
permanent ports are known as
non-ephemeral port numbers
34
Most ports in the range 0-1023 are ___.
non-ephemeral
35
Port numbers that are used only for a single session typically chosen at random by the client are known as
ephemeral port numbers
36
___ are just a way to signify what room that particular data goes to, and there are no hard and fast rules over what ___ an application happens to use.
port numbers
37
The one thing that is important about the port number is that the client that you’re using needs to be able to know the port number that’s open on the server. T or F?
True
38
TCP port numbers are not the same as UDP port numbers
True; There could be an application running on a server using TCP 80. There could be another application on that same server that uses UDP 80, and neither of those applications will be communicating with each other.
39
Service port numbers need to be ___.
well known
40
FTP (file transfer protocol) uses what port?
``` port 21 (control) port 20 (active mode data) ```
41
___ servers use usernames/passwords to authenticate. Some use "anonymous login" where you only need a password.
FTP
42
TCP does have security built in, so you can configure a username and a password that gains access to another system. True or False?
True
43
As it transfers files, FTP provides what could be called ___. You can list the files available on a system. You can add files, delete, rename, and provide other file functions as well.
full featured functionality
44
If your console connection to another device over a network is over an *encrypted* channel, then it’s probably using ___.
SSH (Secure shell)
45
What port does SSH use?
TCP port 22
46
If your console connection to another device over a network is over an *unencrypted* channel, then it’s probably using ___.
Telnet
47
What port does Telnet use?
TCP port 23
48
___ remote connections always uses an encrypted communication link.
SSH
49
Telnet stands for ___, is not secure and use for old devices.
Telecommunication Network
50
TCP port 23
Telnet
51
TCP port 22
SSH
52
TCP port 21
FTP
53
TCP port 25
SMTP
54
SMTP stands for ___. It does what?
Simple Mail Transfer Protocol. It *sends* emails from devices to servers or between two servers.
55
What port does SMTP use?
TCP port 25
56
If you’re *receiving* email messages, you’re probably using __ or ___.
POP3/IMAP
57
DNS stands for ___. What does it do?
Domain Name System. It converts domain names into IP addresses.
58
UDP port 53
DNS
59
Waht port does DNS communicate over?
UDP port 53
60
If you’re in a web browser and you’re communicating to a web server, then you’re probably using ___ or ___ as those protocols
HTTP/HTTPS
61
HTTP stands for ___. What does it do?
Hypertext Transfer Protocol. Provides web server communication.
62
HTTP uses port
TCP port 80
63
HTTPS uses port
TCP port 443
64
TCP port 80
HTTP
65
TCP port 443
HTTPS
66
POP3 is the Post Office Protocol version 3, it uses port
TCP port 110
67
TCP port 110
POP3
68
IMAP is the Internet Message Access Protocol version 4 it uses port
TCP port 143
69
TCP port 143
IMAP
70
(1)___ offers enhanced functionality over (2)___; it allows folders and ability to access mail on mulitple devices.
1) IMAP | 2) POP3
71
If you’ve ever needed to view or take control of someone’s desktop across the network, then you’ve needed to use ___.
RDP (Remote Desktop Protocol)
72
TCP port 3389
RDP
73
RDP uses what port?
TCP port 3389
74
You’ll find that ___ is available on many different Windows servers and allows you to either view the entire desktop of the remote system or view just a single application that’s running on that remote system.
RDP
75
Microsoft Windows doesn’t use FTP to transfer files from one system to another. Instead, it uses its own format to be able to transfer files called ___.
SMB (server message block)
76
SMB (server message block), also known as CIFS (common internet file system) uses what port?
TCP port 445
77
TCP port 445
SMB/CIFS
78
Older Windows systems may use ___ that is inside of a UDP or TCP packet.
NetBIOS
79
UDP ports 137-138, TCP port 139
NetBIOS
80
NetBIOS uses ports
UDP ports 137-138, TCP port 139
81
Modern Windows devices don’t need to parse out these different NetBIOS protocols and put them inside of TCP or UDP. Instead, they can communicate directly over ___.
TCP port 445 via SMB/CIFS
82
Just as Windows has its own protocols for transferring files, Mac OS also has its own protocols for the ___
AFP (Apple filing protocol)
83
TCP port 548
AFP
84
Apple filing protocol uses port
TCP port 548
85
To be able to view the list of available servers, you’re probably going to use the ___ in Mac OS.
SLP (service location protocol)
86
SLP uses port
TCP port 427 and UDP port 427
87
TCP port 427 and UDP port 427
SLP
88
very similar to (1)___ in Windows, (2)___ in Mac OS is also full feature. You have the ability to view the available list of files to copy files, move files, rename files, and more.
(1) SMB | (2) AFP
89
When you turn on your computer for the first time, it automatically configures itself with an IP address. It’s able to do this because it’s using ___.
DHCP
90
DHCP stands for ___. It does what?
Dynamic Host Configuration Protocol. Automatically configures devices for IP network communication.
91
ports UDP 67 and UDP 68
DHCP
92
DHCP uses what ports?
ports UDP 67 and UDP 68
93
___ is a network management protocol used to automate the process of configuring devices on IP networks, thus allowing them to use network services such as DNS, NTP, and any communication protocol based on UDP or TCP.
DHCP
94
How does DHCP work?
Device communicates with DHCP server, obtains lease which assigns private IP address to it. Able to communicate across network until it expires. Device must request lease renewal for continued use, or obtain a new IP address.
95
The DHCP servers can also be configured with ___. This means when a workstation or a server requests an IP address, the server can recognize the MAC address of that device and provide the same IP address to that device every time.
DHCP reservations
96
If you connect to a corporate network for the first time, you’re often asked to provide a username and password. The same thing occurs if you connect through a VPN or if you log into a web server that’s on the network. The process of providing that authentication is usually to a centralized database, and one very common form of database that’s used for this is ___.
LDAP (Lightweight Directory Access Protocol)
97
TCP port 389
LDAP
98
LDAP (Lightweight Directory Access Protocol) uses what port?
TCP port 389
99
Network administrators may have tens or hundreds or even thousands of devices they have to manage on a single network. In order to constantly monitor and gather statistics from these devices, these network administrators use a specialized protocol called ___.
SNMP (Simple Network Management Protocol)
100
SNMP stands for ___. It is used for what?
Simple Network Management Protocol. It is used to monitor and gather statistics from many devices
101
SNMP queries devices using what port?
UDP port 161
102
UDP port 161
handles SNMP queries sent to devices from server
103
UDP port 162
handles SNMP alarms sent from devices to server
104
SNMP can recieve alarms using what port?
UDP port 162
105
There may be three different versions of SNMP that could be running in an environment. What do each do?
SNMPv1 - unencrypted, sends simple queries to a router. SNMPv2 - unencrypted, could ask many questions at the same time and receive a bulk response. SNMPv3 - almost same as 2 but encrypted and secure.