Day 5 Flashcards

(46 cards)

1
Q

ports

A

accomplish’s the task of allowing different services to use the same interface

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

well known ports

A

0-1023

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

ports usable by the client

A

1024-65535

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

socket

A

an IP paired with a port number.

can be viewed using the netstat command

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

common netstat states

A

Established—the socket has an established connection
Time_Wait—the socket is waiting after close to handle packets still in the network
Close—The socket is not being used.
Close_Wait—The remote end has shut down, waiting for the socket to close
Listen—the socket is listening for incoming connections
Closing—both sockets are shut down but we still don’t have all our data sent.
UNKNOWN—the state of the socket is unknown.

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

Dynamic Host Configuration Protocol

A

a protocol used by a host to obtain an IP address from a DHCP server. Uses DORA process to obtain IP.
uses UDP 67/68

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

Discover (of DORA)

A

client sends broadcast message asking for information from DHCP server

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

Offer (of DORA)

A

DHCP server offers an IP address to the client

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

Request (of DORA)

A

client accepts the offer and notifies server its using the address

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

Acknowledge (of DORA)

A

server sends back an acknowledgement.

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

Domain Name System (DNS)

A

a distributed name system that contains services to map computer names to IP addresses.

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

Root name servers

A

machines that provide access to the root zone file containing information on all Top-Level Domains (TLD’s)

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

Types of TLD’s within the DNS

A
Generic TLD (gTLD)---TLD's with three or more characters such as .com
Sponsored TLD (sTLD)---sponsored by organizations such as .mil by DOD
Country Code TLD (ccTLD)--- two letter country codes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Fully qualified domain name (FQDN)

A

full name.
specifies an address exact location in the DNS hierarchy.
specifies all domain levels, including the root domain, top-level domain, parent domain, and host.

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

FQDN examples

A

www.nsa.gov
Host/parentdomain/toplevel domain

somehost.nsa.gov
host/parent domain/toplevel domain

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

DNS Servers

A

DNS servers store information about a portion of the domain name space called a zone.

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

Start of Authority (SOA)

A

The SOA acts as the primary DNS server.

best source of information for the zone.

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

name servers (NS’s)

A

any other autoritative server for the zone

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

forward lookup

A

resolve names to IP address

20
Q

reverse lookup

A

resolve IP addresses to names

21
Q

DNS records

A

SOA – Start of Authority – best source of info for the zone
NS – Name Server – An authoritative name server for the zone
A – Host Records – All of the IPv4 host names
AAAA – IPv6 Host records – all hosts with names and IPv6 addresses
CNAME – Canonical name – an alias
MX – Mail exchange – used to identify mail servers
SRV – Service Record – Services can be named an dlinked to an A record
PTR – Pointer Record – Maps IP addresses to names for reverse lookups

22
Q

DNS queries

A

a resolver communicates with name servers
DNS queries utilze UDP 53
Interative–the client makes queries to DNS servers
recursive–DNS servers make queries on behalf of the client

23
Q

DNS forwarder servers

A

used to forward DNS queries to DNS servers outside of the network.

24
Q

DNS caching

A

allows a DNS server to respond to multiple queries more quickly for previously resolved domain or host.

25
zone transfers
conducted when a primary DNS server transfers its cache/database to a secondary or back-up DNS server uses TCP 53
26
Simple mail transport protocol (SMTP)
(send mail to people) used to send email | uses TCP 25
27
Post office protocol version 3 (POP3)
retrieves email from a mail server | uses TCP 110
28
Internet Message Access Protocol version 4 (IMAP4)
like pop3, retrieves email from a server enables a user to search through messages based on keywords. supports folders to organize email on a server uses TCP 143
29
Hypertext transfer protocol (HTTP)
the set of rules for exchanging files and allows information exchange in a web based environment. uses TCP 80
30
Hypertext transfer protocol secure (HTTPS)
rides over the Secure Sockets Layer (SSL) or Transport Layer Securty (TLS) protocols providing security to a web session. uses TCP 443
31
Secure Sockets Layer (SSL)
resides at the presentation layer of the OSI model used to ensure the privacy of HTTP transactions. relies on the exchange of certificates to negotiate encryption/decryption
32
Transport Layer Security (TLS)
an upgrade to SSL and is able to secure many more applications than SSL. used in VoIP and VPN's.
33
File Transfer Protocol (FTP)
a robust file manipulation application used for exchanging and manipulating files over a tcp based computer network uses TCP 20(data) and 21 (control) has an active mode and passive mode.
34
active mode
the server initiates the three way handshake
35
passive mode
the client initiates the data connection | the client side firewall sees data from the FTP server as a reply back to the client, and will allow it to pass
36
trivial file transfer protocol (TFTP)
a simple protocol that only provides for the reading and writing of files or mail uses udp 69
37
Telecommunications netork (Telnet)
allows a user at one host to establish a virtual connection with another host uses TCP 23
38
Remote login (RLogin)
a UNIX software utility often used as an alternative to telnet uses TCP 513
39
secure shell (SSH)
a protocol that allows data to be exchanged using a secure channel between two networked devices. replaces unsecure remote shells like telnet and rlogin uses tcp 22
40
Lightweight directory access protocol (LDAP)
an application layer protocol used to structure information on a directory server uses tcp 389
41
Simple Network Management Protocol (SNMP)
used to manage and collect statistical network data such as performance statistics from remote devices through polling. the management information base (MIB) defines the type of information sent. uses udp 161/162
42
band management
in band management--allows the management of a network device through the network or within normal communications channels. out of band management- allows management outside of normal communications channels
43
Voice over IP (VoIP)
protocols used for the transmission of voice through the internet or other packet-switched networks.
44
Real-time transport protocol (RTP)
defines how voice or data packets are transported over the internet. provides real time voice and data streams and is a foundation of VoIP
45
Session initiation protocol (SIP) and H.323
both handle VoIP call initiation, setup, and delivery
46
Skype
entirely proprietary and not compatible with any other VoIP solution.