Domain 4: Communication and Network Security Flashcards
(40 cards)
Personal Area Network or PAN
• Typically, a range of 100 meters or much less
• Low-power wireless technologies such as Bluetooth use PANs
Local Area Network or LAN
• A comparatively small network
• Typically confined to a building or an area within one
Metropolitan Area Network or MAN
Typically confined to a city, a zip code, a campus, or office park
Wide Area Network or WAN
Typically covering cities, states, or countries
Global Area Network or GAN
A global collection of WANs, also called the internet
Demilitarized Zone or DMZ
A partially controlled area between the internet and a fully protected intranet
• Used when a section of your intranet is public-facing
Packet-Switched Networks
• Instead of using dedicated circuits, data is broken into packets, each sent individually
• If multiple routes are available between two points on a network, packet switching can choose the best route, and fall back to secondary routes in case of failure
• Packets may take any path (and different paths) across a network, and are then reassembled by the receiving node
OSI Model
1 - Phyiscal
2 - Data Link
3 - Network
4 - Transport
5 - Session
6 - Presentation
7 - Application
OSI Layer 1
Physical
• Describes units of data such as bits represented by energy (such as light, electricity, or radio waves) and the medium used to carry them (such as copper or fiber optic cables)
• Cabling standards such as Thinnet, Thicknet, and Unshielded Twisted Pair (UTP) exist at layer 1, among many others
• Layer 1 devices include hubs and repeaters
OSI Layer 2
Data Link
• Handles access to the physical layer as well as local area network communication
• An Ethernet card and its MAC (Media Access Control) address are at Layer 2, as are switches and bridges.
• Divided into two sub-layers:
• - Media Access Control (MAC) - transfers data to and from the physical layer - touches Layer 1
• - - 12-digit long number – prefix or first 6 assigned to
manufacturers by IEEE, second half represent serial number
• - Logical Link Control (LLC) -handles LAN communications - touches Layer 3
• - - Facilitates node-to-node flow control and error management (ARQ – Automatic Repeat Request)
OSI Layer 3
Network
• Describes routing: moving data from a system on one LAN to a system on another
• IP addresses and routers
• Protocols include BGP, RIP, IPv4, IPv6, ICMP, and OSPF among others.
• Fragmentation – the subdivision of a packet into a manageable or allowable size
Border Gateway Protocol or BGP
• Autonomous System (AS) is a large network or group of networks managed or controlled by a single entity or organization
• BGP is a path-vector routing protocol used between separate ASs; external BGP (eBGP) used between ASs (eg. ISPs), internal BGP (iBGP) used within a single autonomous system
• Chooses the shortest path through the internet by navigating the least number of ASs along the route;
• Routing Information Base (RIB) stores multiple paths across the internet, and can silently update/remove routes without notifying peers
Internet Control Message Protocol (ICMP)
• 3 field that distinguish the type and code of the ICMP packet and those values never change in transit.
• Uses include manual troubleshooting (ping utility), network diagnostics (traceroute utility) and system-generated error messages during IP transmissions
OSI Layer 4
Transport
• Handles packet sequencing, flow control, and error detection
• TCP and UDP are Layer 4 protocols
• Resending or re-sequencing packets
OSI Layer 5
Session
• Manages sessions, providing maintenance on connections
• Remote Procedure Calls (RPCs)
• A good way to remember the session layer’s function is
“connections between applications”
• Simplex, half-duplex, and full-duplex communication.
OSI Layer 6
Presentation
• Presents data to the application (and user) in a comprehensible way
• Concepts include data conversion, characters sets such as ASCII, and image formats such as GIF (Graphics Interchange Format), JPEG (Joint Photographic Experts Group), and TIFF (Tagged Image File Format)
OSI Layer 7
Application
• Where you interface with your computer application
• Web browser, word processor, and instant messaging clients exist at Layer 7
• Protocols Telnet and FTP
TCP/IP Model
1 - Network Access Layer
2 - Internet Layer
3 - Transport Layer
4 - Application Layer
TCP/IP Layer 1
• Combines layers 1 (Physical) and 2 (Data Link) of the OSI model
• Describes Layer 1 issues such as energy, bits, and the medium used to carry them (copper, fiber, wireless, etc.)
• Also describes Layer 2 issues such as converting bits into
protocol units such as Ethernet frames, MAC (Media Access Control) addresses, and Network Interface Cards (NICs)
TCP/IP Layer 2
Internet Layer
• Aligns with the Layer 3 (Network) layer of the OSI model
• IP addresses and routing
• IPv4, IPv6, ICMP, and routing protocols (among others)
• IP (Internet Protocol) governs the Internet layer. (All packets go through IP!
The TCP Handshake
• Exchange of these four flags is performed in three steps: SYN, SYN-ACK, ACK
• The client chooses an initial sequence number, set in the first SYN packet
• The server also chooses its own initial sequence number, set in the SYN/ACK packet
• Each side acknowledges each other’s sequence number by incrementing it: this is the acknowledgement number
• Once a connection is established, ACKs typically follow for each segment
• The connection will eventually end with a RST (reset or tear down the connection) or FIN (gracefully end the connection)
User Datagram Protocol (UDP)
• A simpler and faster cousin to TCP with no handshake, session, or reliability
• Has a simpler and shorter 8-byte header
• Fields include:
• Source IP
• Destination IP
• Packet length (header and data)
• Simple (and optional) checksum - if used, the checksum provides limited integrity to the UDP header and data
• Operates at Layer 4
TCP/IP Layer 3
Host-to-host or Transport Layer same as OSI Layer 4 (Transport)
• Sometimes called either “Host-to-Host” or, more commonly, “Transport” alone
• Connects the Internet Layer to the Application Layer
• Where applications are addressed on a network, via ports
• TCP and UDP are the two Transport Layer protocols
TCP/IP Layer 4
Application Layer
• Combines Layers 5 though 7 (Session, Presentation, and
Application) of the OSI mode
• Most of these protocols use a client-server architecture, where a client (such as ssh) connects to a listening server (called a daemon on UNIX systems) such as sshd
• Protocols include SSH, Telnet and FTP, among many others