Communication & Network Security Flashcards
(130 cards)
Decimal
10
Binary
2
Hex
16
Protocol
Agreed upon set of rules
Defines the format and order of messages and actions taken upon receipt of the message
Encapsulation
Layered model (OSI)
OSI Layer
Please Do No Throw Sausage Pizza Away (Bottom to Top) Application Presentation Session Transport Network Data link Physical
Application Layer
interacts with applications to determine which network service will be required.
Layer 5-7 - considered Data Layers
Presentation Layer
data sent from one side of the connection is received Presenting data to application (Characters set/ graphics) in a way that makes sense
Layer 5-7 - considered Data Layers
Session Layer
establish and maintains connection between systems
Layer 5-7 - considered Data Layers
Transport Layer
ensure transmission end to end
handles sequencing of packets in transmission
Port/TCP & UDP headers
Network Layer
interaction network address schemes
How different network segment interact with each
other
IP Address/Routing
Data Link Layer
connects physical layer to network Ethernet address (MAC)/switches
Physical Layer
transmission across physical media
Bits 0/1
TCP/IP Model
Layer 5-7 (Application)
Layer 4 - Host to Host transport
Layer 3 - Internet
Layer 1-2 Network Access
TCP/IP Protocol Stack
Developed 1970, Darpa, DOD
OSI still referenced when talking about layers
IP4 Packets Diagram
32 bits across. Every 32 bit is 4 bytes. 5 rows so total of 20 bytes Starts at 0 Bits 0-31 Bytes 0-19
IP4 Class Address
Classless Inter-Domain Router (CIDR) (/8 notation)
Class A: /8 - 1.0.0.0 to 127.255.255.255
Class B: /16 - 128.0.0.0 to 191.255.255.255
Class C: /24 - 192.0.0.0 to 223.255.255.255
Class D: Multicast
Class E: Reserved
IP Broadcast
Limited broadcast (no router will block ) 255.255.255.255 Direct broadcast - 192.168.1.255 - Broadcast from 192.1.168.0 network
RFC-1918 (think of NAT)
Private addresses
- 0.0.0/8
- 16.0.0/16 - 172.31.0.0/16
- 168.0.0/16
Network Address Translation (NAT)
one to one -
Pool NAT - maps to a set of public addresses
Many to one - multiple mapped to one
NAT limitation 64k
gethostbyname
have fully qualified domain name (eric.sans.org) and need the address
gethostbyaddr
when you have address and the need the fully qualified domain name
DNS request & response
UDP if under 512 bytes
DNS Security issues
Not reliable
DNS Poisoning Attack