Chapter 2 Flashcards

1
Q

User vs network oriented application layer protocols:

A

User = interact with end user
network = manage network

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

Why was LDAP implemented

A

Lightweight Directory Access Protocol:

Simplify access control to various applications being used on a network

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

3 Different types of network architecture:

A

1) Client-server
2) Peer-to-Peer
3) N-tier

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

What is a daemon?

A

Server software that starts when computer is started until shut down

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

What is the drawback of the Client-server network architecture?

A

Client always initiates communication

Fix: Peer-to-peer architecture

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

What is good about P2P ( Peer-to-peer ) networks?

A

No central server
Workloads shared among all nodes

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

Challenges of a P2P network?

A

Security + management

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

What is the 4 email protocols:

A

X.400
SMTP
POP3
IMAP4

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

What standard does the x.400 refer to?

A

ITU-T standards

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

What are the different elements that could be in a X.400 header?

A

C = country
A = admin management domain
P = private management domain
O = organization name
OU = organization unit
G = Given name
I = Initials
S = surname

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

How does x.400 notation look like

A

“I=J;S=Doe;O=acme;OU=sales;A=sapo;C=za”

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

Who will this x.400 email be sent to?
“I=J;S=Doe;O=acme;OU=sales;A=sapo;C=za”

A

J Doe who works at Acme in sales in south africa. sapo = south african post office

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

What does smtp stand for?

A

Simple mail transfer protocol

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

What rfc is SMTP defined by?

A

5321

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

What does smtp use to handle messages?

A

“agents”

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

What are the 2 agents in smtp?

A

MUA (mail user agent) MTA (mail transfer agent)

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

What is used to transfer an email for one UA to another UA?

A

1+ mta’s ( since the email needs to be transferred from one user to another )

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

What is the task of the MUA in SMTP?

A

Simply a piece of code that accepts a message and forwards it to a MTA ( sender )
Accept incoming mail and store in directory (receiver )

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

What is the task of the MTA in SMTP?

A

Find a route from sender to receiver and forward email along that route.

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

How do you indicate which MTA you would prefer to use?

A

Using the “preference”

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

What do MTA’s add to emails they process?

A

A header line “Received: “

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

What is the first thing you send to the SMTP server once you have connected to it?

A

HELO or EHLO ( extended hello )

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

How do you indicate who the email is from in SMTP?

A

MAIL FROM:

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

How do you indicate who the recipient of an email is with SMTP

A

RCPT TO:

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What do you send to a SMTP server when you want to send data?
DATA
26
How do you end the email off with SMTP?
Single "." on its own line
27
How do you terminate the connection with a SMTP/POP3 server?
QUIT
28
Which port is used to communicate between MTA's?
25
29
What is the SMTP submit port and its port number?
587. When email software speaks to 1st MTA
30
What is the most common protocol used for web based email software?
POP3
31
What protocols do typical email programs combine?
SMTP + POP3
32
How do you enter the username on a POP3 server?
USER username
33
Does POP3 need auth? What about SMTP?
SMTP = no. POP3 = yes
34
How do you enter your password on a POP3 server?
PASS password
35
How do you retrieve/delete the 1st message on a POP3 server?
RETR 1 or DELE 1
36
What port does POP3 servers use?
110
37
What does POP3 stand for?
Post office protocol version 3
38
What does IMAP4 stand for?
Internet Message Access Protocol v4
39
How does IMAP4 "show" messages?
When a user clicks on a email it downloads it from the server and then displays it on the computer. But it remains stored on the server
40
Why is IMAP better than POP3?
POP3 permanently stores the downloaded emails, but now we want to view it on multiple devices hence IMAP4 is used more often
41
Key words for an IMAP session:
LOGIN, SELECT (folder), FETCH (message, can be used with ALL, FULL, FAST), TERMINATE
42
What does ALL FULL and FAST do?
ALL = everything about the email besides the body FULL = ALL + body FAST = flags + date + size but no header/email body
43
What does the \deleted, \answered, \seen flags indicate?
Deleted = true if the message is deleted. same for the rest
44
Port number for IMAP servers?
143
45
Why were virtual terminals developed?
To connect remotely to another computer over the network
46
Why is telnet bad?
Because username and password is transmitted as clear text
47
what port does telnet use?
Port 23
48
What do you use if you want to echo ( view ) the characters you enter on a virtual terminal?
set localecho.
49
What happens if you dont "set localecho".
you wont see anything you enter ( if remote computer doesnt echo the characters )
50
Problem with set localecho?
Password will be displayed as you log in
51
What is a trusted virtual terminal protocol?
SSH
52
Which port is SSH?
22
53
commands to upload/download files with FTP?
get,put,mget,mput
54
What will mput * abc * do?
upload all files with names that contain abc in the current client directory
55
What does "get" correlate to on the FTP server?
RETR
56
What does "put" correlate to on the FTP server?
STOR
57
Does browsers contain functionality that corresponds to mget, put or mput?
No
58
What was the special username used to download public files?
anonymous ( yes actually anonymous)
59
What is the control connection port of FTP?
21
60
What is the data connection port of FTP?
20
61
What is PASV mode in FTP?
A different way to connect to FTP server. Usually data channel is from server to client ( problems with firewall ) But with pasv client connects to server with data channel
62
What is the only requests a web server has to support?
GET and HEAD
63
What port does HTTP use?
80
64
What port does HTTPS use?
443
65
At what layer does HTTPS use encryption?
HT(T)PS = transfer = transport layer = layer 4
66
Best known tool to sniff traffic?
WireShark
67
When sniffing traffic, which layer's packet will you sniff?
Layer 2 ( but 3-7 packets would also be included as a payload ( builds from 7 - 1)