Chapter 3 - Networking and Communications Flashcards
What does OSI stand for?
Open Systems Interconnection
created by ISO - International Organization for Standardization
What is the OSI model?
A standard model for network communications allowing similar and dis-similar networks and computers to communicate.
What are the 7 layers of the OSI model…in order?
- ) Physical
- ) Data Link
- ) Network
- ) Transport
- ) Session
- ) Presentation
- ) Application
What is the OSI mneumonic?
Either
All people seem to need data processing.
or
Please do not throw sausage pizza away.
What 3 layers of the OSI model comprise the Protocol Data Unit (PDU)?
Session, Presentation, Application
5, 6, 7
Describe the Physical layer.
How data is passed into the network including the transmission method. Responsible for converting media to bit streams and passing to the Data Link Layer.
Includes cabling (&standards), hubs, repeaters, wireless radio, etc.
What is an example of a security threat at the Physical layer.
Packet sniffer attached to a cable that transmits unencrypted traffic.
Name 4 types of transmission media.
- ) Coaxial cable - easy to tap
- ) Shielded/Unshielded Twisted Pair - easy to tap
- ) Fiber optic - free from EMI and RFI issues. Harder to tap
- ) Wireless Transmissions - easiest to tap/intercept
Describe the Data Link layer.
Responsible for reliable packet delivery. It packages data into ordered frames and provides error notifications.
What are the 2 sublayers of the Data Link Layer
- ) Media Access Control (MAC) - defines physical (aka MAC) addresses.
- ) Logical Link Control - Interacts with Physical layer.
What is an example of a security threat at the Data Link layer?
MAC address spoofing.
Describe the Network layer.
Provides routing for data packets across network by analyzing IP address and determining the best route to the target computer. It controls the flow of data across the network.
What are some devices at the Network layer?
Routers and Layer 3 devices. They use ACLs to route/block/filter traffic.
What is IP and its versions?
Internet Protocol - used for addressing. IPv4 and IPv6.
Describe the Transport layer and its primary protocols.
Provides reliable end to end communication for services and applications. It matched logical port assignments to upper-layer protocols (i.e. 80 for HTTP).
Protocols
- ) TCP - Transmission control protocol
- ) UDP - User datagram protocol
How is data packaged and transmitted at each layer of the OSI model?
- ) Physical - Bit streams
- ) Data Link - Frames
- ) Network - Packets (Datagram if IP)
- ) Transport - Segments (Datagram if UDP)
- ) Session - Protocol Data Units
- ) Presentation - as per standards
- ) Application
Describe TCP.
Connection oriented, using packet sequencing and destination acks to provide reliable communication for network devices. Uses a 3 way handshake to establish communications.
What is a 3 way handshake?
The method in which a client establishes a TCP connection with a server.
- ) Client sends packet with SYN flag set
- ) Server responds with packet that has SYN and ACK flags set
- ) Client sends server a packet with ACK flag set
What kind of attack uses TCP 3 way handshake.
DDOS (Synflood) attack where Client withholds the 3rd packet to keep the session open, but then floods with more SYN packets.
How are IP and TCP related?
IP does not guarantee delivery, but will layer on TCP to do so.
Describe UDP.
Connectionless protocol that does not check for a connection like TCP. It just sends the packet and does not guarantee or verify delivery.
Give an example of where UDP is used.
Audio or Video streaming
Describe the Session Layer
Establishes and maintains sessions between apps/components on the local and remote system.
What is a protocol that operates at the Session layer?
RPC - Remote Procedural Call - used to request a service on another computer.
Describe the Presentation Layer.
Standardizes data presentation for the application layer by translating it using standards such as ASCII, EBCDIC, JPEG, MPEG, etc. Data de/encryption and de/compression can be at this layer.
Describe the Application Layer.
The layer for User Apps. Provides the services needed for applications that communicate over a network. This is where authentication, access control, encryption, hashing, signatures and other security measures reside.
What is RFC 1122 and 1123?
4 and 5 layer TCP/IP models created by DARPA. The 4 Layer model is the authoritative.
What are the layers of the Four-Layer TCP/IP Model?
- ) Application (app, presentation, session from OSI)
- ) Transport
- ) Internet
- ) Link (data link and physical from OSI)
What are the layers of the Five-Layer TCP/IP Model?
- ) Application (app, presentation, session from OSI)
- ) Transport
- ) Network
- ) Data Link
- ) Physical