1.4 Ports, Protocols, Services & Traffic

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/164

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

165 Terms

1
New cards
What does IP do?
It efficiently moves large amounts of data to an address.
2
New cards
Why is encapsulation needed in IP?
To package data properly for transmission between systems.
3
New cards
What layer of the OSI model is IP?
The Network Layer (Layer 3).
4
New cards
Is IP connectionless or connection-oriented?
Connectionless.
5
New cards
What protocol ensures data arrives when using IP?
TCP.
6
New cards
Why does IP fragment and reassemble data?
Because there's a limit to the size of data that can be transmitted at once.
7
New cards
What does RFC stand for?
Request for Comments; formal documents outlining networking standards.
8
New cards
What does an IP packet include to reach the correct destination?
IP address (to the device) and TCP/UDP port (to the specific service).
9
New cards
What is connection-oriented communication?
A method where packets are resent if not received, ensuring reliable delivery.
10
New cards
What is connectionless communication?
A method where data is sent once without resending, used for faster transmission like audio/video.
11
New cards
What is overhead in data transmission?
Extra info and processing like headers and acknowledgments added to data.
12
New cards
What do TCP and UDP have in common?
They are both transport layer protocols encapsulated inside IP.
13
New cards
Which OSI layer are TCP and UDP part of?
Layer 4 (Transport Layer).
14
New cards
Can TCP and UDP be sent simultaneously?
Yes, this is called multiplexing.
15
New cards
Is TCP connection-oriented or connectionless?
Connection-oriented.
16
New cards
How does TCP establish a connection?
Using a three-way handshake (SYN, SYN-ACK, ACK).
17
New cards
What RFC defines TCP?
RFC 793.
18
New cards
How many fields are in a TCP packet?
14 fields.
19
New cards
What is flow control in TCP?
Mechanism to control data transmission speed between sender and receiver.
20
New cards
Is UDP connection-oriented?
No, it is connectionless.
21
New cards
Does UDP provide flow control?
No, it does not.
22
New cards
How many fields are in a UDP packet?
4 fields.
23
New cards
Why is UDP more economical than TCP?
It has less overhead and no need for connection setup/teardown.
24
New cards
What is a socket in networking?
A combination of IP address, protocol (TCP/UDP), and port number.
25
New cards
What is an ephemeral port?
A temporary port (range: 1024–65535) used by client devices for communication.
26
New cards
What is a non-ephemeral port?
A permanent, well-known port (range: 0–1023) used by services.
27
New cards
Why must service port numbers be well-known?
So that browsers and applications can find them easily.
28
New cards
What is the purpose of FTP?
File Transfer Protocol for transferring files between systems.
29
New cards
What port does FTP use for control information?
TCP/21.
30
New cards
What port does FTP use for actual file transfer?
TCP/20.
31
New cards
Can FTP allow anonymous login?
Yes, for public access without accounts.
32
New cards
What security issue does FTP have?
It uses plaintext communication, which is insecure.
33
New cards
What is a secure alternative to FTP?
SFTP or FTP over SSH.
34
New cards
What is an example of an FTP client?
FileZilla, CuteFTP, or SmartFTP.
35
New cards
What OSI layer is FTP part of?
Application Layer (Layer 7).
36
New cards
What data mode does FTP use by default?
ASCII mode; binary mode must be set manually for non-text files.
37
New cards
What is SFTP?
Secure File Transfer Protocol, encrypted with SSH.
38
New cards
What port does SFTP use?
TCP/22.
39
New cards
What is SSH used for?
Secure Shell; to securely connect to a remote device from the console.
40
New cards
What port does SSH use?
TCP/22.
41
New cards
Is SSH encrypted?
Yes.
42
New cards
What protocol did SSH replace for secure communication?
Telnet.
43
New cards
What are the differences between SSH1 and SSH2?
SSH2 is more secure and incompatible with SSH1.
44
New cards
What is Telnet used for?
To connect to remote devices like routers; now mostly replaced by SSH.
45
New cards
What port does Telnet use?
TCP/23.
46
New cards
Is Telnet secure?
No, it transmits data in plaintext.
47
New cards
What is SMTP used for?
Simple Mail Transfer Protocol; used for sending emails.
48
New cards
What port does plaintext SMTP use?
TCP/25.
49
New cards
What port does encrypted SMTP (using TLS) use?
TCP/587.
50
New cards
Can SMTP send mail from clients to servers?
Yes, it's used for client-to-server and server-to-server email transfers.
51
New cards
What other protocols are used for viewing emails?
IMAP and POP3.
52
New cards
What does SMTP require for sending emails?
The destination host must be available.
53
New cards
What is SMTPS?
Secure SMTP using TLS to encrypt SMTP communication.
54
New cards
What is DNS?
Domain Name System; it converts human-readable names to IP addresses.
55
New cards
What ports does DNS use?
UDP/53 (primary), TCP/53 (for large transfers).
56
New cards
Why are multiple DNS servers used?
To ensure availability and reliability as it's a critical resource.
57
New cards
What protocol does DNS usually use?
UDP, unless the transfer is large (then TCP).
58
New cards
What is the OSI model?
A conceptual model that standardizes network functions into 7 layers.
59
New cards
What layer is SMTP part of in the OSI model?
Application Layer (Layer 7).
60
New cards
What layer is DNS part of in the OSI model?
Application Layer (Layer 7).
61
New cards
What does DHCP stand for?
Dynamic Host Configuration Protocol
62
New cards
What is the purpose of DHCP?
Automated configuration of IP address, subnet mask, and other options
63
New cards
What ports does DHCP use?
UDP/67 (server), UDP/68 (client)
64
New cards
What is a DHCP lease?
A temporary IP address assignment that must be renewed at intervals
65
New cards
What is DHCP reservation?
A setting to ensure a device always gets the same IP address
66
New cards
What is a DHCP scope?
A range or group of IP addresses defined on a DHCP server
67
New cards
What does TFTP stand for?
Trivial File Transfer Protocol
68
New cards
What is the purpose of TFTP?
Simple file transfer, often for config files or firmware updates
69
New cards
What port does TFTP use?
UDP/69
70
New cards
What are TFTP’s limitations?
No authentication, no directory navigation, minimal features
71
New cards
Is TFTP secure?
No, it lacks authentication and encryption
72
New cards
What does HTTP stand for?
Hypertext Transfer Protocol
73
New cards
What port does HTTP use?
TCP/80
74
New cards
What does HTTPS stand for?
Hypertext Transfer Protocol Secure
75
New cards
What port does HTTPS use?
TCP/443
76
New cards
How does HTTPS secure communication?
Using TLS (formerly SSL) encryption
77
New cards
What does NTP stand for?
Network Time Protocol
78
New cards
What port does NTP use?
UDP/123
79
New cards
Why is NTP important?
Synchronizes time across networked devices for logs and auth
80
New cards
How accurate is NTP?
Accurate to within 1ms under optimal conditions
81
New cards
What does SNMP stand for?
Simple Network Management Protocol
82
New cards
What port does SNMP use for polling?
UDP/161
83
New cards
What port does SNMP use for traps?
UDP/162
84
New cards
What are SNMP traps?
Alerts sent from network devices to a manager
85
New cards
Name one use case of SNMP
Monitoring bandwidth or triggering alerts on threshold events
86
New cards
What is SNMPv1 like?
Uses structured tables, single queries, no encryption
87
New cards
What improvements came with SNMPv2?
Bulk transfers, improved data types, still no encryption
88
New cards
What does SNMPv3 add?
Authentication, encryption, message integrity
89
New cards
What is the SNMP manager?
Central system that communicates with SNMP-enabled devices
90
New cards
What is the SNMP agent?
Software on a device that responds to SNMP manager commands
91
New cards
What is a Management Information Base (MIB)?
Database that defines what SNMP parameters can be read/written
92
New cards
What are SNMP communities?
Groups of devices that share SNMP access and roles (public/private)
93
New cards
What does SNMPv2c stand for?
SNMP version 2 with community-based authentication
94
New cards
What does LDAP stand for?
Lightweight Directory Access Protocol
95
New cards
What port does LDAP use?
TCP/389
96
New cards
What port does LDAPS use?
TCP/636
97
New cards
What is LDAP used for?
Querying and managing directory services like Active Directory
98
New cards
What structure does LDAP use?
Hierarchical (tree-like) structure for devices/users
99
New cards
What does SMB stand for?
Server Message Block
100
New cards
What port does SMB use (without NetBIOS)?
TCP/445