1/92
Open Systems Interconnection (OSI) Model
A conceptual framework used to understand and implement network protocols in seven layers, from physical transmission to application-level interactions.
Encapsulation
Data is flowing down the OSI model on the sending device.
Decapsulation
Data crosses over the network media (i.e. internet) and flows back up the OSI model on the receiving device.
Layer 1- Physical
handles how raw bits of data are transmitted over physical media, like cables and connectors. It is also responsible for defining network topology.
Layer 2 - Data Link
responsible for receiving raw data from the physical layer and organizing it into frames.
Frame
raw data is properly formatted and prepared by adding headers and trailers so it can be transferred over a local network.
Layer 3 - Network
responsible for routing frames across different networks using IP addresses. Data is broken down into smaller chunks, or packets, and then set with instructions on how to reach their destination.
Layer 4 - Transport
Handles data transfer between end users using TCP or UDP
Layer 5 - Session
Controls the dialogue during communication. Responsible for starting, managing, and ending the communication between devices. Also known as the “traffic cop” since it directs network traffic.
Layer 6 - Presentation
Responsible for translating data into a readable format before handing it off to the application layer. This is where data is compresses, decompresses, encrypted, or decrypted. Aka “translation layer”
Layer 7 - Application
This is the layer that we see. It’s data that resembles something you can actually read when you’re using protocols such as email, HTTP, and FTP.
Switch
an intelligent networking device that connects all of your network devices on a local network. It has multiple ports that accept Ethernet connections from network devices.
Router
a device that routes or forwards data from on network to another based on IP addresses
Where do switches store the physical addresses of the devices that are connected to it?
Switch Table
What does the router do when it receives a data packet?
It inspects the data packet’s IP address and determines whether the packet is meant for its own (the router’s) network. If it is not, it sends it off to another network.
Firewall
A system that’s designed to prevent unauthorized access from entering a private network by filtering information that comes in from the internet. It blocks unwanted traffic and permits wanted traffic.
How does a firewall actually work?
It filters incoming network data and based on its rules, determines whether it is allowed to enter network
Access Control List
A set of rules used by a firewall to determine if incoming data is allowed to enter a network
Intrusion Detection System (IDS)
It monitors traffic, identifies malicious behavior, and alerts an IT admin, but it does NOT stop an attack on its own. It can exist as stand alone hardware or be integrated into the firewall.
Intrusion Prevention System (IPS)
It monitors traffic and alerts admin but also takes action to prevent intrusion. It can be stand alone hardware or integrated into a firewall.
Load Balancer
A piece of hardware or software that distributes network traffic evenly across a network to prevent any single server or computer from becoming overwhelmed with the workload.
Proxy (server)
an intermediary/middleman device that sits between the private network and public internet acting on behalf of clients with the purpose of creating a safety barrier and hiding client identities.
Forward Proxy
protects and hides internal network clients heading out to the internet
Reverse Proxy
Sits on the edge of the internet to protect and balance traffic heading in toward an organization’s web servers
Forward-Proxy Benefits
Safety Barrier / Content Filtering
Hides Client Identities (Anonymity)
Logs User Activity
Bypasses Restricted Content
Reverse Proxy Benefits
Caching Content
SSL/TLS Offloading
Network Attached Storage (NAS)
a storage device that is used only for storing data. It is a box with multiple drives in a RAID configuration and a NIC. It connects directly to a switch or router to allow it to be accessed over a network as a shared drive.
NAS vs SAN

Storage Area Network (SAN)
a specialized high-speed network that is comprised of multiple disk arrays, switches, and servers, making it fault tolerant. It stores and provides access to large amounts of data and is recognized by devices as a local attached drive.
Wireless Access Point (WAP)
a wireless hub that lets wireless devices connect to an existing wired network by extending it. It relays data between the wired and wireless network
Wireless (Lan) Controller (WLC)
a device that allows for the management, configuration, and monitoring of multiple WAPs across a network, allowing multiple devices to connect to the network.
Content Delivery Network (CDN)
A network that makes websites load faster by bringing their content closer to users. This is done by establishing multiple geographic POPs around the world.
Point of Presence (POP)
Comprised of edge servers that cache content from the origin eb server, to deliver website data to users faster by bringing it closer to them
How does a CDN Reduce Latency?
When users go to retrieve data, they use the CDN which fetches it from the closest POP. This reduces latency caused by long physical distances and speeds up page load times.
Quality of Service (QoS)
A feature built into routers and switches that is used to prioritize bandwidth on a local network for specified apps/devices. It allows network admin to decide which apps/devices are more important, granting them more bandwidth than others.
Traffic Shaping
A mechanism within QoS that controls traffic volume and speed by buffering (delaying) excess packets in a queue to smooth out bursts of traffic and enforce specific bandwidth limits
Traffic Policing
A mechanism within QoS that enforces hard bandwidth limits by strictly dropping or re-marking packets the exact moment they exceed the allowed speed (instead of buffering them)
Time to Live (TTL)
The number of hops a data packet can make before it is dropped. This exists to prevent data packets from getting stuck in a routing loop if it’s traversing between misconfigured routers.
Virtual Private Network (VPN)
It exists to create a private tunnel allowing clients to establish a secure connection to the network while connected to an outside network. It provides a tunnel that encrypts the data being transmitted.
Virtualization
The process of simulating hardware and software within a virtual or software environment
Hypervisor
the software that creates and runs virtualization
Virtual Private Cloud (VPC)
An isolated private network within a public cloud, meant to provide isolation and security
Public Cloud
a third-party service provider that sells its computing resources to the public
Who are the “Big 3” Cloud Service providers?
Amazon AWS, Microsoft Azure, Google Cloud
Scalability
the clouds ability to add more resources as needed to keep up with long term growth
Elasticity
the cloud’s ability to automatically adjust resources in real-time
Multitenancy
multiple customers or clients share the same resource infrastructure in the cloud
Public Cloud
a csp offers its product or service to anyone who wants to use it, with internet access
Private Cloud
a csp offers it product or service to an organization privately and not the entire public
Hybrid Cloud
a mix of Public and Private cloud infrastructures working together
IaaS
a third party vendor manages the servers, storage, virtualization and networking for an organization. The organization control the software portion, such as apps, OSs, data, etc
PaaS
the third party vendor manages hardware and Oss, and the organization is responsible for apps and data
SaaS
the apps are hosted by the third party vendor on the internet and the manage all things related to computing hardware wise. The organization does not have to install any software or manage any hardware, all they need is internet access to connect to the cloud
Port
a logical connection that is used by programs to exchange information
FTP
File Transfer Protocol
Port 20/21
a standard network protocol used for the transfer of computer files between a client and server on a computer network
does NOT encrypt its traffic
SFTP
Secure File Transfer Protocol
Port 22
an extension of SSH that ensures all data and commands are encrypted and secure
Secure alternative to FTP
SSH
Secure Shell
Port 22
a cryptographic network protocol that encrypts all traffic
Telnet
Port 23
an insecure network protocol that provided cmd line access, it should no longer be used
SMTP
Simple Mail Transfer Protocol
Port 25
the standard protocol for email transmission across the internet, used primarily for sending messages from an email client to an email server or between servers
DNS
Domain Name System
Port 53
a hierarchal and decentralized naming system that translates memorized domain names to numerical IP addresses
DHCP
Dynamic Host Configuration Protocol
Port 67/68
assigns IP addresses to all devices on a network through the use of an automated, centralized IP management system
TFTP
Trivial File Transfer Protocol
Port 69
a simple ftp with no authentication used to deliver boot files or configs to devices in a local network. it is used in controlled environments due to its lack of security
HTTP
Hypertext Transfer Protocol
Port 80
a stateless protocol that provides a standard for web browser and servers to communicate, specifically transferring hypermedia documents
NTP
Network Time Protocol
Port 123
used to synchronize the clocks of computers on the same network. it provides high precision time correct and aims to mitigate the effects of variable latency
SNMP
Simple Network Management Protocol
Port 161/162
serves as a management station for devices located on IP networks, providing admin with a way to find and solve network issues and plan for network growth.
LDAP
Lightweight Directory access Protocol
Port 389 (TCP/UDP)
used for accessing and maintaining distributed directory services over IP network. It's used for querying and modifying items in internet directories
HTTPS
Hypertext Transfer Protocol Secure
Port 443
provides a method of secure web browsing by encrypting data. it is the more secure version of HTTP
SMB
Secure Message Block
Port 445
primarily used in Windows system for network file sharing
Syslog
Port 514
a standard for message logging that allows devices to track and record system messages as well as allowing them to send event notifications across IP networks
SMTPS
Simple Mail Transfer Protocol Secure
Port 587
the secure version of SMTP
LDAPS
Lightweight Directory Access Protocol over SSL
Port 636
the secure version of LDAP
SQL
Structured Query Language (Server)
Port 1433
used for communication to and from SQL servers
RDP
Remote Desktop Protocol
Port 3389
a windows based protocol that allows for remote connections over TCP, providing the user with a graphical interface to another computer over a network connection
SIP
Session Initiation Protocol
Port 5060/5061
a signaling protocol used for initiating and maintaining call sessions and multimedia distribution
stateless
ach command is executed independently without knowledge of what came before
Transmission Control Protocol (TCP)
a connection based protocol used to guarantee that all data is received and in order through the use of a 3 Way Handshake
User Datagram Protocol (UDP)
a connectionless protocol used for sending and receiving data without establishing sessions or guaranteeing data delivery
Internet Protocol Security (IPSec)
a set of protocols meant to establish security at layer 3 of the OSI model by adding encryption and authentication
Internet Key Exchange (IKE)
an IPSec protocol that allows 2 sites to identify each other and establish what the parameters for authentication and encryption will be during their communication
Authentication Header (AH)
an IPSec protocol that provides authentication and integrity
IPSec operates in what two modes?
Tunnel Mode
Transport Mode
When is Transport Mode used in IPSec?
When two devices connect over the public internet
When is Tunnel Mode used in IPSec?
When rqo sites are connected over the public internet using a VPN
Generic Route Encapsulation (GRE)
a protocol that is used with P2P tunneling protocol when creating a VPN network. It is what actually creates the tunnel and is used to help encapsulate data
Broadcast
There is a single transmitter of data and the data is being received by every device.
Unicast
This is a one-to-one communication. The data is sent to a single device.
Multicast
Data is sent to multiple devices at the same time, but not to every device.
Anycast
Data is sent to the nearest device.