Port numbers Flashcards

1
Q

FTP

A

tcp/20, tcp/21

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

SSH

A

tcp/22

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

Telnet

A

tcp/23

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

SMTP

A

tcp/25

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

DNS

A

udp/53, tcp/53

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

DHCP

A

udp/67, udp/68

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

HTTP

A

tcp/80

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

HTTPS

A

tcp/443

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

POP3

A

tcp/110

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

IMAP4

A

tcp/143

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

NetBIOS (name service)

A

udp/137

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

NetBIOS (session service)

A

tcp/139

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

SMB

A

tcp/445

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

SNMP Query

A

udp/161

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

SNMP Trap

A

udp/162

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

LDAP

A

tcp/389

17
Q

RDP

A

tcp/3389

18
Q

What is FTP?

A

File Transfer Protocol

tcp/20 (active mode data) / tcp/21 (control)

  • Transfers files between systems.
  • Authenticates with a username and password (though some systems can use a generic/anonymous login)
  • Full-featured functionality - list, add, delete, etc.
19
Q

What is SSH?

A

Secure Shell

tcp/22 (encrypted communication link)

  • Looks and acts the same as Telnet
20
Q

What’s Telnet?

A

Telecommunication Network

tcp/23

  • Login to devices remotely / gain console access
  • In-the-clear communication (not the best choice for production systems)
21
Q

What is SMTP?

A

Simple Mail Transfer Protocol

tcp/25 (server-to-server email transfer)

  • Also used to send mail from a device to a mail server
  • Commonly configured on mobile devices and email clients
  • Other protocols are used for clients to receive email (IMAP / POP3)
22
Q

What is DNS?

A

Domain Name System

udp/53

  • Converts names to IP addresses
  • These are super critical resources (usually multiple DNS servers are in production)
23
Q

What is DHCP?

A

Dynamic Host Configuration Protocol

udp/67, udp/68

  • Automates configuration of an IP address, subnet mask, and other options (requires a DHCP server, can be integrated in to a server / appliance / SOHO router)
  • Reserves by assigning IP address to the MAC address in the DHCP server. Makes it easy to manage addresses from one location
24
Q

What’s a dynamic IP address?

A

IP addresses are assigned in real-time from a pool using DHCP configuration. Each system is given a lease and must renew at set intervals.

25
Q

What’s HTTP and HTTPS?

A

Hypertext Transfer Protocol

tcp/80 and tcp/443 (secure)

  • Provides communication within the browser / other apps
  • In-the-clear or encrypted
  • Supported by nearly all web servers and clients
26
Q

What is POP3?

A

Post Office Protocol version 3

tcp/110

  • Receive (authenticate and transfer) emails from an email server
  • Basic mail transfer functionality
27
Q

What is IMAP4?

A

Internet Message Access Protocol version 4

tcp/143

  • Receive (authenticate and transfer) emails from an email server
  • Includes email inbox management from multiple clients
28
Q

What is SMB?

A

Server Message Block

tcp/445

  • Protocol used by Windows for file sharing, printer sharing
  • Also called the CIFS (Common Internet File System)
29
Q

What is NetBIOS?

A

Network Basic Input/Output System

udp/137 (nbname) - Register, remove, and find Windows services by name

tcp/139 (nbsession) - Windows connection-oriented data transfer

30
Q

What is SNMP?

A

Simple Network Management Protocol

udp/161 (queries), udp/162 (traps)

  • Gathers statistics from network devices
  • v1 was the original with structured tables, in-the-clear
  • v2 was a good step ahead, adding data type enhancements, bulk transfers, still in-the-clear
  • v3 became a secure standard, adding message integrity, authentication, encryption
31
Q

What is LDAP?

A

Lightweight Directory Access Protocol

tcp/389

Stores and retrieves information in a network directory (commonly used in Microsoft Active Directory)

32
Q

What is RDP?

A

Remote Desktop Protocol

tcp/3389

  • Allows sharing a desktop from a remote location
  • Remote Desktop Services are on many Windows versions
  • Clients for Windows, macOS, Linux, Unix, iPhone, Android, and others