1.1 Explain the purposes and uses of ports and protocols. Flashcards

1
Q

SSH

A

Port 22 TCP or UDP. Securely transfer data.
Terminal Access: Works at CMD.
Remote in via command line.
Used by Secure copy protocol (SCP) (port 22), and SFTP (port 22).
Supports tunneling. Takes a protocol and encapsulates it in a SSH connection.

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

DNS

A

UDP Port 53.
Uses UDP cause it wants to have it’s network connections open.
Translate Domain names into IP addresses.
Uses a higher achy.
structure of levels of domains.
Top level - .com .org

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

SMTP

A

TCP Port 25. Layer 7 TCP/IP protocol. Only handles that outgoing (sent) messages.
Standardized messaging format. Header, IP address of sender.
Subject.
Relaying. One mail server can forward messages to multiple email servers.

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

SFTP

A

TCP Port 22. Since SFTP runs over the SSH protocol as a subsystem, SFTP uses port 22 by default.
Secure File Transfer Protocol (SFTP) is a network protocol for securely accessing, transferring and managing large files and sensitive data.
Two ways to authticate with SFTP. Password or public key.
can be used for time stamping. records Date and time of, file type and size.

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

FTP

A

A service. TCP 20, 21
20 file transfers
21 send commands and responses through CMD.
Not secure.
Used for shared file in corporate network
and data from web servers.

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

TFTP

A

69 UDP
Simpler file transfer protocol. Not encrypted.
Read and Write services.
Can use block transfers.

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

TELNET

A

23 TCP can remote into devices. Not encrypted. Can be done through command line.
Quick remote access.

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

DHCP

A

67, 68 UDP 7 layer
Assign IP address to network devices.
Uses UDP because service needs to be always open.

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

HTTP

A

Port 80, TCP. Unencrypted.
Stateless - each request from client to server is independent. Server can handle multiple clients.
Protocol which is used to transfer info between web clients and web server. Hypertext Transfer Protocol

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

HTTPs

A

port 443 TCP

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

Alternative port for HTTP.

A

8080

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

SNMP

A

Port 161 and 162 USP. Simple Network Management Protocol.
Monitor network devices. See how they are preforming.
Power supply ok? Issues with storage?
Protocol for collecting and organizing information about managed devices on IP networks.
SNMP V3 is most current.

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

RDP

A

3389 TCP. Establish connections remotely.

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

NTP

A

123 udp. Always want to have open. used to sync date and time on all network devices.
uses stratum levels. Accuracy in atomic or GPC clocks. this is used to ensure correct time.

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

SIP

A

TCP and UDP. 5060, 5061 Session Initiation Protocol. Enables VOip over IP networks.

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

SMB

A

Service. 455 TCP

Server Message Block (SMB) is a network communication protocol used for providing shared access to files, printers, and serial ports among nodes on a network.

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

POP

A

110

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

IMAP

A

TCP Port 143. Secure communications. Internet Message Access Protocol. Retrieval of email which has advantages over pop3.
Synchronization. Allows you to retrieve your emails from any device. as long as your logged in correctly.
Folder strucurre. Create rename and dlete email folders.

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

LDAP

A

TCP 389.
Directory. centralized location we can use to store all info on users and data.

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

SMTP

A

25 sents email.

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

Kerberos

A

88 TCP or UDP. Default authorization/ Authentication technology in Microsoft Windows.

22
Q

TACACS+

A

49 TCP remote authentication

23
Q

pop3

A

UDP 110. Post office Protocol. retrieves emails from email servers. 110 receives email. Uses Client Server Architecture.
Only a retrieval protocol.
Not encrypted.

24
Q

Network socket address

A

IP address and Port number it is sending or receiving on
192.168.4.24 : 80

25
Q

ICMP provides

A

provides info and error reporting to devices.

26
Q

Windows ssh is called

A

OpenSSH. A connectivity tool for remote sign-in that uses the SSH protocol

27
Q

TCP three-way handshake

A

How TCP establisjed a connectiob between a source and destination.

SYN, SYN-ACK, and ACK

28
Q

HTTP uses which layer

A

7

29
Q

which protocol is http directly encapsulated in?

A

TCP

30
Q

Which protocol is DHCP directly encapsulated in?

A

UDP

31
Q

TCP

A

A service. Uses connection oreinted sessions. A beginning and a end to that data transmission connection. Also known as a three way handshake.

32
Q

HTTPs transfers data in

A

cipher text (encrypted text)

33
Q

which protocol is used for info and error erporting

A

ICMP

34
Q

What is the purpose of ports

A

to represent a logical way for traffic to move into and out of a program or service on a machine.

35
Q

which osi layer do TCP and UDP headers use to correspond with a program or service on a machine?

A

Layer 4

36
Q

which port do web servers listen for informing traffic and send their own traffic.

A

Port 80

37
Q

Clear Text Protocal

A

Unecrypted data.

38
Q

text based protocal

A

unencrypted.

39
Q

DNS records

A

A Records. IP address.
MX records:
NS Records
AAAA IPv6 records

40
Q

DNS Cashing

A

A DNS feature. DNS server will store most recent query regarding domain names.

41
Q

TTL

A

DNS feature. The amount of time that dns record considers to be vaild.

42
Q

what is a URL

A

Uniform Resource Locator, is essentially the address of a web page on the internet.

43
Q

HTTPS can use which two versions of encryption protocols

A

SSL or TLS.
Depending on the type of protocol. It will determine the certificates we use.

44
Q

syslog

A

Syslog is a protocol used for system management and security auditing of network devices.

45
Q

SMTP TLS

A

SMTP TLS refers to the use of Transport Layer Security (TLS) as a way to encrypt and secure SMTP communications.

46
Q

LDAP SSL

A

LDAP over SSL, often referred to as LDAPS, is a method of securing LDAP communication by encrypting the data with Secure Sockets Layer (SSL) or its successor, Transport Layer Security (TLS).

Port 636

47
Q

IMAP and POP3 SSL

A

IMAP (Internet Message Access Protocol) and POP3 (Post Office Protocol 3) are both email retrieval protocols used to access messages from a mail server. When combined with SSL (Secure Sockets Layer), they provide a secure method of email communication by encrypting the data transmitted between the email client and the mail server.

Here’s a brief overview of each protocol with SSL:

  • IMAP with SSL: IMAP is designed for accessing and managing emails from multiple devices, keeping the messages on the server. When using SSL, IMAP typically operates over port **993
  • POP3 with SSL:995
48
Q

SQL

A

create relational databases

49
Q

SQL server

A

UDP 1433. a protocol service. Database that assessable on some server.
Always want users to have access to our database.M

50
Q

MySQL

A

UDP 4306

51
Q

SQLNet

A

SQL*Net facilitates communication between a client application and an Oracle Database, or between multiple databases over a network.
UDP 1512