2.0 Networking Flashcards

1
Q

A series of moving vans

A
Efficiently move large amounts of data
        • Use a shipping truck
• The network topology is the road
         • Ethernet, DSL, cable system
• The truck is the Internet Protocol (IP)
          • We’ve designed the roads for this truck
• The boxes hold your data
         • Boxes of TCP and UDP
• Inside the boxes are more things
         • Application information
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

TCP and UDP

A

Transported inside of IP
-Encapsulated by the IP protocol
Two ways to move data from place to place
-Different features for different applications
OSI Layer 4
-The transport layer
Multiplexing
-Use many different applications at the same time
-TCP and UDP

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

TCP - Transmission Control Protocol

A
Connection-oriented
-A formal connection setup and close
"Reliable" delivery
-Recovery from errors
-Can manage out-of-order messages or 
  retransmissions
Flow control
-The receiver can manage how much data is sent
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

UDP-User Datagram Protocol

A

Connectionless
-No formal open or close to the connection
“Unreliable” delivery
-No error recovery
-No reordering of data or retransmissions
No flow control
-Sender determines the amount of data transmitted

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

Speedy delivery

A

The IP delivery truck delivers from one (IP) address to another (IP) address
-Every house has an address, every computer has an IP address
Boxes arrive at the house/IP address
-Where do the boxes go?
-Each box has a room name
Port is written on the outside of the box
-Drop the box into the right room

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

Lots of ports

A

IPv4 sockets - Server IP address, protocol, server application port number
-Client IP address, protocol, client port number
Non-epthemeral ports - permanent port numbers
-Ports 0 through 1,023
-Usually on a server or service
Ephemeral ports - temporary port numbers
-port 1,024 through 65,545
-Determined in real-time by the client

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

Port numbers

A

TCP and UDP ports can be any number between 0 and 65,535
Most servers (services) use non-ephemeral (not-temporary) port numbers
-This isn’t always the case
-It’s just a number
Port numbers are for communication, not security
Service port numbers need to be “well known”
TCP port numbers aren’t the same as UDP port numbers.

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

FTP - File Transfer Protocol

A

tcp/20 (active mode data), tcp/21 (control)
-Transfers files between systems
Authenticates with a username and password
-some systems use a generic/anonymouse login
Full-featured functionality
-List, add, delete, etc.

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

SSH - Secure Shell

A

Encrypted communication link - tcp/22

-looks and acts the same as Telnet

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

Telnet

A

Telnet - Telecommunication Network-tcp/23
Login to devices remotely
Console access
In-the-clear communication
Not the best choice for production systems

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

SMTP - Simple Mail Transfer Protocol

A

Server to server email transfer -tcp/25
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 recieve email
-IMAP, POP3

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

DNS - Domain Name System

A

Converts a names to IP addresses - udp/53
www.professormesser.com= 162.159.246.164
These are very critical resources
-usually multiple DNS servers are in production

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

HTTP and HTTPS

A

Hypertext Transfer Protocol - tcp/80
-communication in the browser
-and by other applications
In the clear or encryped - HTTPS - tcp/443
-supported by nearly all web servers and clients

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

POP / IMAP

A

Receive emails from an email server
-authenticate and transfer
POP - Post office Protocol version 3 - tcp/110
-basic mail transfer functionality
IMAP4
-Internet Message Access Protocol v4 - tcp/143
-includes management of email inbox from multiple clients

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

RDP - Remote Desktop Protocol

A

Share a desktop from a remote location over tcp/3389
• Remote Desktop Services on many Windows versions
• Can connect to an entire desktop
or just an application
• Clients for Windows, macOS, Linux, Unix,
iPhone, Android, and others

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

SMB - Server Message Block

A

Protocol used by Microsoft Windows
• File sharing, printer sharing
• Also called CIFS (Common Internet File System)
• Using NetBIOS over TCP/IP
• udp/137 - NetBIOS name services (nbname)
• udp/138 - NetBIOS datagram service (nbdatagram)
• tcp/139 - NetBIOS session service (nbsession)
• Direct over tcp/445 (NetBIOS-less)
• Direct SMB communication over TCP
without the NetBIOS transport

17
Q

AFP(Apple Filing Protocol)

A

File services in macOS
• tcp/548
• Works with SLP (Service Location Protocol)
• tcp/427 and udp/427
• Populates the list of available devices
• File management
• Copy, move, delete files

18
Q

DHCP - Dynamic Host Configuration Protocol

A

Automated configuration of IP address, subnet mask
and other options
• udp/67, udp/68
• Requires a DHCP server
• Server, appliance, integrated into a SOHO router, etc.
• Dynamic / pooled
• IP addresses are assigned in real-time from a pool
• Each system is given a lease and must renew
at set intervals
• DHCP reservation
• Addresses are assigned by MAC address
in the DHCP server
• Quickly manage addresses from one location

19
Q

LDAP (Lightweight Directory Access Protocol)

A

tcp/389
• Store and retrieve information in a network directory
• Commonly used in Microsoft Active Directory

20
Q

SNMP - Simple Network Management Protocol

A
Gather statistics from network devices
• Queries: udp/161
• Traps: udp/162
• v1 – The original
• Structured tables, in-the-clear
• v2 – A good step ahead
• Data type enhancements
• Bulk transfers, still in-the-clear
• v3 – A secure standard
• Message integrity
• Authentication, encryption