Ports & Protocols Flashcards

1
Q

Port

A

Virtual entry / exit point for communications used by software applications to exchange information; #0 through 65,535

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

Protocol

A

set of rules & conventions for data exchange between network devices

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

Well Known Ports

A

0 through 1,023; FTP, SMTP, HTTP, HTTPS

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

Registered Ports

A

1,024 through 49,151; Used by users and systems through the Internet Assigned Numbers Authority (IANA)

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

Ephemeral Ports

A

49,152 through 65,535; Also known as dynamic ports; temporary ports that allow client applications to communicate with servers

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

Communication Flow

A

Source IP & Port initiate communication; Data is transmitted; Port is closed when task is complete

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

TCP

A

Transmission Control Protocol - Governs data exchange over the internet at the transport layer; Ensures reliable delivery of packets

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

TCP - Error Checking

A

Uses sequence numbers & acknowledgement messages; Detects & retransmits lost or corrupted packets

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

TCP - Flow Control

A

Prevents overwhelming the receiver; Windowing - controls amount of data sent at a time (Bigger window = More data allowed = Possibility of more errors)

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

Three-Way Handshake

A

Initiated to establish a connection between 2 systems; Ensures readiness for secure data transmission
- SYN (Synchronize)
- SYN-ACK (Synchronize & Acknowledge)
- ACK (Acknowledge)

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

UDP

A

User Datagram Protocol; Communication protocol used for time-sensitive transmissions; Ideal for applications prioritizing speed over error checks; Operates at the transport layer; Used in live broadcasts, online gaming, and VoIP (simple request / response communications)

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

Datagrams

A

Data packets in UDP; Contains source / destination port numbers, length field, and checksum; Sent without prior setup of transmission channels (unsecure)

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

ICMP

A

Internet Control Message Protocol; Operates at the Network layer; Diagnoses network communication issues; Not for data transmission; No guaranteed delivery, ordering, or error connection; Made for speed & simplicity

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

Ping Utility

A

Uses ICMP to test host reachability on an IP network; Measures roundtrip time (latency) for network connection

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

Messages

A

Used for indicating host or service unreachability, expired time to live, & router buffer issues

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

Message Structure

A

Header –> Type of ICMP message (1 byte) –> Code; additional context about type (1 byte) –> Checksum; used for error checking the message header and data

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

ICMP Security

A

Concerns: ICMP Flood Attack - overwhelm target with echo request packets, leading to DoS attack, can be amplified to DDoS; Ping of Death - older system exploit;
Network admins can block ICMP traffic, but face troubleshooting issues

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

Port 80

A

HTTP (Hypertext Transfer Protocol); Application Layer; Lacks security

19
Q

Port 443

A

HTTPS (Hypertext Transfer Protocol Secure); Application Layer; Adds encryption via SSL / TLS

20
Q

Port 25

A

SMTP (Simple Mail Transfer Protocol); Application Layer; Used for SENDING emails; Unsecure

21
Q

Port 465

A

SMTPS (Simple Mail Transfer Protocol Secure); Application Layer; Used for SENDING emails; Secure with TLS Protocol

22
Q

Port 110

A

POP3 (Post Office Protocol version 3); Application Layer; Used for RECEIVING emails; Unsecure

23
Q

Port 995

A

POP3S (Post Office Protocol version 3 Secure; Application Layer; Used for RECEIVING emails; Secure over TLS/SSL

24
Q

Port 143

A

IMAP (Internet Message Access Protocol); Application Layer; Used for RECEIVING emails; Unsecure

25
Q

Port 993

A

IMAPS (Internet Message Access Protocol Secure); Application Layer; Used for RECEIVING emails; Secure over TLS/SSL

26
Q

Port 20

A

FTP (File Transfer Protocol); Data transfer

27
Q

Port 21

A

FTP (File Transfer Protocol); Control commands

28
Q

Port 22

A

SSH (Secure Shell), SFTP (Secure File Transfer Protocol); Encrypts data for file transmissions

29
Q

Port 69

A

TFTP (Trivial File Transfer Protocol); For sending files when minimal security is sufficient

30
Q

Port 445

A

SMB (Server Message Block), AD (Active Directory); Network file sharing protocol that allows applications to read & write to files & request services from the server programs

31
Q

Port 23

A

Telnet; Unencrypted text communications; replaced by SSH

32
Q

Port 3389

A

RDP (Remote Desktop Protocol); Allows remote access to a Windows system; Supports data encryption, smart card authentication, & bandwidth reduction

33
Q

Port 67

A

DHCP (Dynamic Host Configuration Protocol); UDP; Listens for client requests; Automates the assignment of IP addresses & networking parameters

34
Q

Port 68

A

DHCP (Dynamic Host Configuration Protocol); UDP; Responds to client requests; Automates the assignment of IP addresses & networking parameters

35
Q

Port 1433

A

Microsoft SQL Server

36
Q

Port 3306

A

MySQL Server

37
Q

Port 161

A

SNMP (Simple Network Management Protocol); UDP; For polling; Used for collecting information and configuration; Crucial for network diagnostics & performance monitoring

38
Q

Port 162

A

SNMP (Simple Network Management Protocol); UDP; For unsolicited trap messages; Used for collecting information and configuration; Crucial for network diagnostics & performance monitoring

39
Q

Port 514

A

SYSLOG (System Logging); UDP by default, can use TCP for reliability; Standard for message logging allowing devices to send event messages across IP networks

40
Q

Port 123

A

NTP (Network Time Protocol); UDP; Used to sync clocks of computers over a network; Vital for time-dependent processes, timestamping events, transaction logging, & security protocols

41
Q

Port 5060

A

SIP (Session Initiation Protocol); UDP / TCP (unencrypted); Initiates, maintains, & terminates real-time sessions for voice, video, & messaging

42
Q

Port 5061

A

SIP (Session Initiation Protocol); TCP w/ TLS (encrypted); Initiates, maintains, & terminates real-time sessions for voice, video, & messaging

43
Q

Port 389

A

LDAP (Lightweight Directory Access Protocol); UDP/TCP (unsecure); Protocol for accessing & maintaining directory information services over an IP network; Used to look up personal information in email programs

44
Q

Port 636

A

LDAPS (Lightweight Directory Access Protocol Secure); TCP (secure with SSL or TLS); Protocol for accessing & maintaining directory information services over an IP network; Used to look up personal information in email programs