































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An overview of how the internet works and some basic vulnerabilities. It covers topics such as internet infrastructure, backbone, ISP, local and interdomain routing, TCP/IP for routing and messaging, BGP for routing announcements, and domain name system. It also discusses IP protocol functions, TCP header, basic security problems, interdomain routing, routing protocols, OSPF, and security features. slides borrowed from Dan Boneh Internet Infrastructure.
Typology: Lecture notes
1 / 39
This page cannot be seen from the preview
Don't miss anything!
































Backbone ISP
n TCP/IP for routing and messaging n BGP for routing announcements
n Find IP address from symbolic name (www.cs.columbia.edu)
Application Transport (TCP, UDP) Network (IP) Link Layer Application message - data TCP data TCP data TCP data TCP Header IP TCP data IP Header ETH IP TCP data ETF Link (Ethernet) Header Link (Ethernet) Trailer segment packet frame message
Version Header Length Type of Service Total Length Identification Flags Time to Live Protocol Header Checksum Source Address of Originating Host Destination Address of Target Host Options Padding IP Data Fragment Offset
n IP host knows location of router (gateway) n IP gateway must know route to other networks
n If max-packet-size less than the user-data-size
n ICMP packet to source if packet is dropped
n Packet dropped if TTL=0. Prevents infinite loops.
Source Port Dest port SEQ Number (SN) ACK Number (AN) Other stuff
TCP Header
C
S
SNC⟵randC ANC⟵ 0 SNS⟵randS ANS⟵SNC SN⟵SNC+ AN⟵SNS Received packets with SN too far out of window are dropped
Why random initial sequence numbers?
C
S
n Attacker can create TCP session on behalf of forged source IP
w Random seq. num. do not prevent attack, but make it harder Victim Server
dstIP=victim SN=server SNS
srcIP=victim AN=predicted SNS command server thinks command is from victim IP addr attacker
srcIP=victim
n Node A can confuse gateway into sending it traffic for Node B n By proxying traffic, node A can read/inject packets into B’s session (e.g. WiFi networks)
n Anyone can cause entire Internet to send traffic for a victim IP to attacker’s address w Example: Youtube-Pakistan mishap n Anyone can hijack route to victim (next slides)
7 7 2 7 2 7 2 7 3 2 7 6 2 7 2 6 5 2 6 5 2 6 5 3 2 6 5 7 2 6 5 6 5 5 5
route in effect for several hours